Skip to main content
POST
Start a durable agent session

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY. Account API keys work in every workspace you belong to: send X-Notra-Organization-Id with the workspace id or slug to choose one. Workspace endpoints require it when you belong to more than one workspace; GET /v1/me/workspaces works without it. Organization keys only accept their own workspace there.

Body

application/json
message
string
required

The first user message of the session.

Required string length: 1 - 200000

Response

Session created

ok
enum<boolean>
required
Available options:
true
sessionId
string
required