Sessions
Get a session
Returns details of a single session, including a usage roll-up of what its generations cost. The listing omits usage; for a window, a split by day or model, or one end user across every session, narrow GET /v1/projects/{project_id}/usage with session_id / actor_id instead.
get/v1/projects/{project_id}/sessions/{session_id}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/sessions/{session_id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
session_idstring required
Example:sess_V1StGXR8Z5jdHi6B
Session public ID
Response
Session details
Example response
{
"id": "sess_V1StGXR8Z5jdHi6B",
"agent_id": "agent_V1StGXR8Z5jdHi6B",
"conversation_id": "conv_V1StGXR8Z5jdHi6B",
"status": "open",
"name": "Support chat",
"actor_id": "actor_V1StGXR8Z5jdHi6B",
"tags": {
"team": "finance",
"env": "prod"
},
"inactivity_ttl_seconds": 300,
"message_delay_seconds": 3,
"max_context_messages": 20,
"forked_from_session_id": "sess_V1StGXR8Z5jdHi6B",
"forked_from_position": 7
}Changes
No recorded changes to this operation across all 1 revision of this API.