Agents

Add message to existing thread

Changed on

Async add a new message to an existing thread.

post/v4/agents/{agent_id}/threads/{thread_ref}/messages/

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

agent_idstring uuid required

External ID of this agent, used on the simple agent thread API

thread_refstring required

External reference ID of the thread

Request body

account_idinteger

Execution account ID. Required for installable agents.

querystring required

The user's input query

contextobject

Optional context data for the agent

Response

threadIdstring required

External reference ID of the thread

currentAgentstring uuid required

External ID of the agent currently responsible for the thread

executionStatusstring required

Current execution status

Changes