Skip to main content
GET
/
v1
/
ai
/
agents
/
tasks
List AI Agent Tasks
curl --request GET \
  --url https://eu1.api.matillion.com/dpc/v1/ai/agents/tasks \
  --header 'Authorization: Bearer <token>'
{
  "tasks": [
    {
      "taskId": "550e8400-e29b-41d4-a716-446655440000",
      "status": "RUNNING",
      "agentName": "data_engineer_agent",
      "mode": "ACT",
      "description": "Build a pipeline to load sales data",
      "modifiedAt": "2024-01-15T10:35:00.000Z",
      "projectId": "550e8400-e29b-41d4-a716-446655440001",
      "branchId": "main"
    }
  ],
  "page": 0,
  "size": 20,
  "total": 1
}

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

Query Parameters

projectId
string
branchId
string
status
enum<string>
Available options:
RUNNING,
STOPPED,
STOPPING,
ERRORED
page
integer<int32>
default:0
Required range: x >= 0
size
integer<int32>
default:20
Required range: 1 <= x <= 100

Response

Agent tasks listed successfully

page
integer<int32>

The current page number (0-indexed)

size
integer<int32>

The number of tasks per page

tasks
object[]

The list of agent tasks for the account

total
integer<int64>

The total number of matching tasks