Get session metadata

Retrieve session information including token usage and task count

get/api/v1/sessions/{sessionId}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/sessions/{sessionId}
  • Auth: API key in header X-API-Key

Path parameters

sessionIdstring uuid required

Session UUID

Response

Session metadata retrieved

contextobject

Session context metadata

created_atstring date-time required

Session creation timestamp

expires_atstring date-time

Session expiration timestamp

session_idstring uuid required

Unique session identifier

task_countinteger required

Number of tasks in this session

token_budgetinteger

Token budget for the session

tokens_usedinteger required

Total tokens consumed in this session

updated_atstring date-time

Session last update timestamp

user_idstring uuid required

User who owns this session

Changes

No recorded changes to this operation across all 1 revision of this API.