Query Session
Path Parameters
The ID of your project
The unique identifier of the session to query
Request Headers
Bearer token authentication using your API key
Response
The session ID
The session data containing variables, messages, and other session information
ISO 8601 timestamp when the session was created
ISO 8601 timestamp when the session was last updated
Example
Request
Response
Usage Notes
- Session ID: Use the same session ID that was created via the Create Session endpoint
- Data Structure: The
data
field contains all session information including variables and conversation history - Timestamps: All timestamps are in ISO 8601 format (UTC)
Error Responses
Status Code | Description |
---|---|
400 | Missing projectId or sessionId |
401 | Invalid authentication |
404 | Session not found |
500 | Internal server error |
Related APIs
- Create Session - Create a new session
- Search Sessions - Search sessions by content
- End Session - End an existing session