Skip to navigation

Update Agent Trajectory

Authentication

AuthorizationApi-Key

Type "Api-Key" followed by a space and the project API key.

Path parameters

agent_uuidstringRequired
Agent UUID
trajectory_uuidstringRequired
Trajectory UUID

Request

Request body
expected_revisionintegerRequired>=1
The current Trajectory revision used for optimistic concurrency.
task_familystring or nullRequired

Replacement task-family slug. Set to null to clear it.

Response

OK
abandoned_atstringOptional
The time the Trajectory was abandoned.
agent_uuidstringOptional
The owning Agent UUID.
attempt_family_uuidstringOptional

The stable retry-family identity shared with declared child attempts.

closed_atstringOptional
The time the Trajectory closed.
created_atstringOptional
The time the Trajectory was created.
internalobjectOptional

Server-owned fields that are not part of the top-level capture contract.

learn_frombooleanOptional
Whether eligible evidence may participate in learning.
learn_from_reasonstringOptional
Why the Trajectory is not eligible for learning.
metadatamap from strings to anyOptional
Developer metadata used for exact containment filters.
objectivestringOptional

The task-instance objective captured for this attempt.

outcomeenumOptional

The caller-owned task outcome.

Allowed values:
parent_trajectory_uuidstringOptional
The parent attempt when this Trajectory is a retry.
revisionintegerOptional
The revision required by the next update or lifecycle command.
sourceobjectOptional
The source record for an imported Trajectory.
statusenumOptional
The current lifecycle state.
Allowed values:
task_familystringOptional

The optional opaque task-family classification slug.

trajectory_idstringOptional

The optional customer-assigned identifier, unique within the Agent.

updated_atstringOptional
The time the Trajectory was last updated.
uuidstringOptional
The stable Trajectory UUID.
verificationenumOptional
The strength of the accepted outcome verification.
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error