Skip to main content
POST
Send a follow-up message to a task

Authorizations

Authorization
string
header
required

Workspace API key issued from the web app. Pass as Authorization: Bearer YOUR_API_KEY.

Path Parameters

task_id
string<uuid>
required

UUID of the task.

Body

application/json
message
string
required

Text to deliver to the agent as a user message.

Response

Message accepted and queued for the agent.

task_id
string<uuid>
required
message_id
string<uuid>
required

ID of the newly created task message.

status
enum<string>
required

Lifecycle status of a task.

  • pending — created, not yet picked up
  • queued — held back by admission control (agent at concurrent-task limit)
  • running — being processed by the worker
  • waiting_for_input — agent called ask_user; reply with POST /tasks/{id}/message
  • awaiting_review — agent is paused for human approval of a sensitive step
  • completed — terminal: finished successfully
  • failed — terminal: errored out
  • stopped — terminal: cancelled by a user or system
Available options:
pending,
queued,
running,
waiting_for_input,
awaiting_review,
completed,
failed,
stopped
message
string
required

Human-readable acknowledgement.

created_at
string<date-time>
required