Agent Sessions
Submit
Submit sends the first chat message. It posts agent assistant, channel web, and "Ask about a company, a promise, or the next step." as both the message and the title. The stored session is active, with no completed turns yet.
post/v1/agent-sessions
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/agent-sessions
- Auth: HTTP bearer
Request body
Example request
{
"agent": "assistant",
"channel": "web",
"input": "Ask about a company, a promise, or the next step.",
"title": "Ask about a company, a promise, or the next step."
}Response
Stored session.
Example response
{
"agent": "assistant",
"agentSource": "builtin",
"channel": "web",
"continuationToken": "agt_example",
"costUnits": 45,
"createdAt": "2026-09-02T15:00:00Z",
"lastActivityAt": "2026-09-02T15:01:00Z",
"llmCalls": 3,
"sessionId": "session_abc123",
"status": "active",
"title": "Review the Acme renewal",
"toolCalls": 1,
"turns": 2
}Changes
No operation changes recorded.