Agent Sessions
Submit
Changed onSubmit sends the next message in the open chat. It posts only "Ask about a company, a promise, or the next step." The opening message already took sequence 0, so this turn is accepted as sequence 1.
post/v1/agent-sessions/{id}/turns
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/agent-sessions/{id}/turns
- Auth: HTTP bearer
Path parameters
idstring required
Session id.
Example:session_abc123
Stable session id.
Request body
Example request
{
"input": "Ask about a company, a promise, or the next step."
}Response
Turn accepted.
Example response
{
"accepted": true,
"turnSeq": 1
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking