Agent Tasks

Submit declared Agent output fields and resume the document

Undeclared fields, invalid field types, stale epochs, and foreign claims are rejected before any value is written.

post/v1/agent-tasks/{id}/submit

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

AgentTaskSubmit required
execution_epoch, integer required
outputs, object required
summary, string

Response

Submitted task metadata, with the submit's result_summary.

AgentTaskMetadata required
id, string uuid required
customer_id, string uuid required
pipeline_id, string uuid required
grain, 'document' | 'product' required

document = one parked document at an Agent (via MCP) rail stage; product = one composed record at the post-assembly Agentic Review stage.

pipeline_document_id, string uuid nullable required

Set on document-grain tasks only.

document_id, string uuid nullable required

Set on document-grain tasks only.

record_id, string uuid nullable required

The composed record under review; set on product-grain tasks only.

stage_id, string required
phase_index, integer required
status, 'available' | 'claimed' | 'submitted' | 'timed_out' | 'cancelled' required
execution_epoch, integer required
claimed_at, string date-time nullable
lease_expires_at, string date-time nullable
timeout_at, string date-time required
submitted_at, string date-time nullable
created_at, string date-time required
updated_at, string date-time required
result_summary, AgentTaskResultSummary nullable

Present only on a task the caller itself submitted (the submit response, and GET /v1/agent-tasks/{id} by the claim holder). What the platform did with the submit; keys with nothing to report are omitted.

Changes

No recorded changes to this operation across all 32 revisions of this API.