Continue an objective
Sends a user message to an objective. A waiting objective receives it immediately and resumes. With enqueue set, an objective whose agent loop is busy queues the message instead, and the agent picks it up before its next assistant turn.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
The ID of the objective. If you have assigned an external ID to the objective, you can prefix the ID with "external_id:". For example, "external_id:1234567890". Otherwise, the ID assigned by Cadenya should be used.
"obj_01HXKD2E5NQM3T9AYWCFQAZGFV"
Body
The user message to send to the objective.
When false, the objective must be waiting and the message is sent immediately. When true, a waiting objective still receives the message immediately; an objective whose agent loop is busy queues it instead, and the agent picks it up before its next assistant turn. Queued messages can be listed and removed until then.
Response
OK
- Option 1
- Option 2
ContinueObjectiveResponse reports whether the message joined the conversation immediately or was queued for the agent loop.