Skip to navigation

Reopen Agent Trace

Authentication

AuthorizationApi-Key

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

Path parameters

agent_uuidstringRequired
Agent UUID
trace_uuidstringRequired
Trace UUID

Request

Request body
expected_revisionintegerRequired>=1
The current Trace revision used for optimistic concurrency.

Response

OK
abandoned_atstringOptional
The time the Trace was abandoned.
agent_uuidstringOptional
The service returns the owning Agent UUID.
attempt_family_uuidstringOptional

The service returns the stable retry-family identity shared by 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
The service returns whether eligible evidence may participate in learning.
learn_from_reasonstringOptional
The service returns why the Trace is not eligible for learning, when it is not eligible.
metadatamap from strings to anyOptional
Developer metadata used for exact containment filters.
objectivestringOptional

The service returns the task-instance objective captured for this attempt.

outcomeenumOptional
The service returns the task outcome that the developer recorded. Valid values are succeeded, failed, partial, abandoned, and unknown.
Allowed values:
parent_trace_uuidstringOptional
The service returns the parent attempt when this Trace is a retry.
revisionintegerOptional
The service returns the current revision for the next update or lifecycle command.
sourceobjectOptional
The source record for an imported Trace.
statusenumOptional
The service returns the current lifecycle state. Valid values are open, closing, closed, abandoned, and deleted.
Allowed values:
task_familystringOptional

The service returns the declared or assigned task-family slug, when one is available.

task_family_inferenceobjectOptional
The service returns the latest classification result. Its state is pending, assigned, or unassigned. It is absent if classification did not run for this Trace.
task_family_sourcestringOptional

The service returns how it selected the task family. Valid values are declared, import_rule, and inferred.

trace_idstringOptional
The developer may set an identifier that is unique within the Agent. A retry with the same create parameters returns 200 and the existing Trace. Different parameters return 409.
updated_atstringOptional
The time the Trace was last updated.
uuidstringOptional
The service returns the stable Trace UUID.
verificationenumOptional
The service returns how the outcome was verified. Valid values are none, agent, tool, customer, and external.
Allowed values:

Errors

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