Skip to main content
GET
Get an AI Agent Task

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"