Post a message to a new session

Creates a new session by sending the first message to the agent synchronously, and returns the resulting session state. To continue an existing conversation, use Post a message to a session instead.

Body Params
string
required

The user message to send to the agent.

files
array of files

Optional files to attach to the message as artifacts.

Headers
string
required

Your API key.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json