Update Agent Trace
Authentication
AuthorizationApi-Key
Type “Api-Key” followed by a space and the project API key.
Path parameters
agent_uuid
Agent UUID
trace_uuid
Trace UUID
Request
Request body
expected_revision
The current Trace revision used for optimistic concurrency.
task_family
Replacement task-family slug. Set to null to clear it.
Response
OK
abandoned_at
The time the Trace was abandoned.
agent_uuid
The service returns the owning Agent UUID.
attempt_family_uuid
The service returns the stable retry-family identity shared by attempts.
closed_at
The time the Trace closed.
created_at
The time the Trace was created.
internal
Server-owned fields that are not part of the top-level capture contract.
learn_from
The service returns whether eligible evidence may participate in learning.
learn_from_reason
The service returns why the Trace is not eligible for learning, when it is not eligible.
metadata
Developer metadata used for exact containment filters.
objective
The service returns the task-instance objective captured for this attempt.
outcome
The service returns the task outcome that the developer recorded. Valid values are succeeded, failed, partial, abandoned, and unknown.
Allowed values:
parent_trace_uuid
The service returns the parent attempt when this Trace is a retry.
revision
The service returns the current revision for the next update or lifecycle command.
source
The source record for an imported Trace.
status
The service returns the current lifecycle state. Valid values are open, closing, closed, abandoned, and deleted.
Allowed values:
task_family
The service returns the declared or assigned task-family slug, when one is available.
task_family_inference
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_source
The service returns how it selected the task family. Valid values are declared, import_rule, and inferred.
trace_id
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_at
The time the Trace was last updated.
uuid
The service returns the stable Trace UUID.
verification
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