Route
Omit threadId to start, or pass it to continue. This endpoint selects the action; answers and clarification can occur without dispatching work. Execution still requires authority and applicable approvals.
Authorizations
Body
A unique ID for this message. Reuse it only when retrying the same request.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$What you want to find, do, or discuss.
1 - 20000"turn"Omit to start a thread; pass the returned threadId to continue.
^asst_[a-f0-9-]{36}$Omit to start a conversation; return this ID on follow-ups.
^asst_[a-f0-9-]{36}$"route"Read memory for an account agent you belong to. Does not change the acting identity. Cannot be combined with userId or user_memory.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$Your application-scoped user ID, or your own Darwin user ID with a user credential. Reuses memory previously supplied for this user; never grants account access.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$Markdown preferences to personalize this request. Read a .md file and pass its text, not a path or URL. With userId, saves these preferences for later requests; empty text clears them.
4000Optional attribution check. Must match the application attached to your API credential; inferred when omitted.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$Response
Conversation state. Acceptance is not proof of completed work.
^asst_[a-f0-9-]{36}$planning, ready, running, paused, completed, cancelled 32^arev_[a-f0-9-]{36}$32^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^asst_[a-f0-9-]{36}$Private guest token. Send as X-Assist-Token for subsequent requests.