Create Session With Id
Changed onRequest
- The document declares no server URL.
- Authnone declared
Path parameters
Request body
Response
Successful Response
Represents a series of interactions between a user and agents.
Unique identifier of the session.
Application name that owns the session.
User ID that owns the session.
Current persisted session state.
Ordered event history for the session, including user, model, and tool events (e.g. user input, model response, function call/response).
Unix timestamp in seconds for the most recent session update.
Example response
{
"id": "session-abc123",
"appName": "hello_world",
"userId": "user-123",
"state": {
"locale": "en-US"
},
"lastUpdateTime": 1742000000
}Changes
- warning
added the new
ESCALATIONenum value to theevents/items/finishReason/anyOf[subschema #1: FinishReason]response property for the response status - warning
added the new
MALFORMED_RESPONSEenum value to theevents/items/finishReason/anyOf[subschema #1: FinishReason]response property for the response status - warning
added the new
MISSING_THOUGHT_SIGNATUREenum value to theevents/items/finishReason/anyOf[subschema #1: FinishReason]response property for the response status
22 more changes in this revision
- warning