Use this file to discover all available pages before exploring further.
Sessions are the unit of conversational continuity in Agent Manager. Every agent run is associated with a session, and sessions persist the full message history in PostgreSQL so agents can rehydrate context across multiple turns. The Sessions API lets you list sessions, inspect their message history, retrieve their constituent runs, and delete session data.All requests require a valid bearer token in the Authorization header.
{ "sessionId": "550e8400-e29b-41d4-a716-446655440000", "userId": "user_abc123", "agentId": "finance_agent", "messages": [ { "role": "user", "content": "What is the current NVDA stock price?" }, { "role": "assistant", "content": "The current stock price of NVIDIA (NVDA) is **$875.40**." }, { "role": "user", "content": "How does that compare to AMD?" }, { "role": "assistant", "content": "AMD (AMD) is currently trading at **$168.20**, down 0.8% today..." } ], "createdAt": "2026-05-06T09:00:00Z", "updatedAt": "2026-05-06T09:01:22Z"}
Returns the list of all agent runs that occurred within a specific session, ordered by creation time. Useful for auditing, replaying, or displaying the history of a conversation.
Permanently deletes a session and its complete conversation history. This operation is unconditional — it returns 204 No Content regardless of whether the session existed.
Session deletion permanently removes the conversation history. Associated run records remain in the database but lose their session linkage. This operation cannot be undone.