Skip to navigation

Create Agent Trace

Authentication

AuthorizationApi-Key

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

Path parameters

agent_uuidstringRequired
Agent UUID

Request

Request body
objectivestringRequired

The task-instance objective captured for this attempt.

learn_frombooleanOptional
Whether eligible evidence may participate in learning. Defaults to true.
metadatamap from strings to anyOptional
Developer metadata used to organize and filter Traces.
parent_trace_uuidstringOptional
The parent Trace UUID when this attempt retries an earlier attempt.
task_familystringOptional

The task-family slug. Optional when inferred task families are enabled for the account: the service assigns one after the Trace closes.

trace_idstringOptional

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

Response

OK
abandoned_atstringOptional
The time the Trace 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 Trace closed.
created_atstringOptional
The time the Trace 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 Trace 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_trace_uuidstringOptional
The parent attempt when this Trace is a retry.
revisionintegerOptional
The revision required by the next update or lifecycle command.
sourceobjectOptional
The source record for an imported Trace.
statusenumOptional
The current lifecycle state.
Allowed values:
task_familystringOptional

The optional opaque task-family classification slug.

task_family_inferenceobjectOptional

The latest task-family inference outcome. Absent when inference never ran for this Trace.

task_family_sourcestringOptional

Who supplied task_family: the caller (declared), an import rule (import_rule), or the service classifier (inferred).

trace_idstringOptional

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

updated_atstringOptional
The time the Trace was last updated.
uuidstringOptional
The stable Trace 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