Skip to main content
POST
Continue an Agent run

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

agentRunId
string
required

Body

application/json
instruction
string
required

New user instruction appended to the durable Agent session as a successor run.

Minimum string length: 1
Example:

"Now compare the result with the previous month and update the recommendation."

Response

200 - application/json
agentRunId
string
required

Stable run id.

Example:

"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"

agentId
string
required

Owning agent id.

Example:

"99999999-9999-4999-8999-999999999999"

agentSessionId
string
required

Durable session shared by successor runs.

Example:

"abababab-abab-4bab-8bab-abababababab"

status
enum<string>
required

Current run status.

Available options:
CREATED,
PENDING,
PROCESSING,
ACTION_REQUIRED,
FINISHED,
ERROR,
CANCELLED
Example:

"PROCESSING"

serviceAccountUserId
string
required

Service account execution principal.

Example:

"11111111-1111-4111-8111-111111111111"

tickSeq
number
required

Current tick sequence.

Example:

3

tickCount
number
required

Number of ticks executed.

Example:

2

childCount
number
required

Number of child runs created.

Example:

1

state
object
required

Run-scoped state for operator diagnostics.

Example:
createdAt
string<date-time>
required

Creation timestamp.

Example:

"2026-06-13T10:00:00.000Z"

lastUpdateAt
string<date-time>
required

Last update timestamp.

Example:

"2026-06-13T10:15:00.000Z"

version
number
required

Optimistic locking version.

Example:

1

previousRunId
string

Immediately preceding run in this session.

Example:

"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"

rootRunId
string

Root run id for lineage.

Example:

"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa"

parentRunId
string

Parent run id for delegated child runs.

Example:

"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb"

waitReason
enum<string>

Reason a run is waiting.

Available options:
NONE,
CHILDREN,
CAPACITY,
SCHEDULE,
RECONCILE
Example:

"CHILDREN"

triggerType
string

Trigger type such as REQUEST, INBOX, SCHEDULE, EVENT, or RETRY.

Example:

"REQUEST"

triggerRefType
string

External trigger reference type.

Example:

"scheduleId"

triggerRefId
string

External trigger reference id.

Example:

"schedule-123"

ownerId
string

Owning user or group id.

Example:

"22222222-2222-4222-8222-222222222222"

ownerType
string

Owner type, typically USER or GROUP.

Example:

"USER"

rootAssistantThreadId
string

Root assistant thread for the run.

Example:

"cccccccc-cccc-4ccc-8ccc-cccccccccccc"

currentAssistantThreadId
string

Current assistant thread for the run.

Example:

"dddddddd-dddd-4ddd-8ddd-dddddddddddd"

lastAssistantMessageId
string

Last assistant message id.

Example:

"eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee"

nextWakeAt
string<date-time>

Next scheduled wake timestamp.

Example:

"2026-06-13T10:30:00.000Z"

lastHeartbeatAt
string<date-time>

Last heartbeat timestamp.

Example:

"2026-06-13T10:20:00.000Z"

checkpointSummary
string

Bounded terminal or checkpoint summary.

Example:

"Run completed and wrote the release summary."

result
object

Terminal result payload.

Example:
error
object

Terminal error payload.

Example:
Last modified on September 5, 2026