Agent sessions
Create an agent session
Opens a conversational session owned by this API key’s workspace and returns the session_id every other agent route takes.
POST
Create an agent session
Request · Response · Guide: Minto
More details
More details
The session starts empty. Creating one runs no agent work — a turn is
only enqueued when you ask a question.Idempotency-Key is required, so a retry after a timeout can never leave
you with two sessions.
Headers
Required opaque key (max 255 chars, UUIDv4 recommended) making this request idempotent for 24h: a retry with the same key and body replays the original response with Idempotent-Replayed: true. Omitting it is a 400; reusing a key with a different body is a 422; retrying while the first request is still in flight is a 409.
Body
application/json
Response
Session created.