Skip to main content
GET
/
v1
/
ai
/
agents
/
tasks
/
{taskId}
Get an AI Agent Task
curl --request GET \
  --url https://eu1.api.matillion.com/dpc/v1/ai/agents/tasks/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "taskId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "STOPPED",
  "description": "Build a pipeline to load sales data",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "modifiedAt": "2024-01-15T10:45:00.000Z",
  "agentConfig": {
    "name": "data_engineer_agent",
    "mode": "ACT",
    "projectId": "550e8400-e29b-41d4-a716-446655440001",
    "sourceBranchName": "main",
    "environmentName": "development"
  },
  "grantedPermissions": [],
  "pendingDecisions": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.maia.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

taskId
string<uuid>
required

Response

Agent task retrieved successfully

agentConfig
object

The configuration of the agent handling the task

createdAt
string<date-time>

The date and time the task was created

Example:

"2024-01-15T10:30:00.000Z"

description
string

A short description of what the agent was asked to do

Example:

"Build a pipeline to load sales data from S3 into Snowflake"

grantedPermissions
object[]

Permissions that have been granted to the agent for this task

modifiedAt
string<date-time>

The date and time the task was last modified

Example:

"2024-01-15T10:45:00.000Z"

pendingDecisions
object[]

Decisions awaiting approval before the agent can proceed

status
enum<string>

The current status of the task

Available options:
RUNNING,
STOPPED,
STOPPING,
ERRORED
Example:

"STOPPED"

taskId
string<uuid>

The unique identifier of the task

Example:

"550e8400-e29b-41d4-a716-446655440000"