Sessions

Get session detail

Changed on

Returns a single session and its persisted message history.

get/api/sessions/{sessionId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

sessionIdstring required
Example:ses_123

Response

Session detail fetched successfully.

idstring required
titlestring required
createdAtstring date-time required
updatedAtstring date-time required
archivedAtstring date-time nullable required
defaultProviderIdstring nullable required
defaultModelIdstring nullable required
messageCountinteger required
workspacePathstring nullable required

Example response

{
  "id": "ses_123",
  "title": "New chat",
  "createdAt": "2026-04-23T10:00:00.000Z",
  "updatedAt": "2026-04-23T10:05:00.000Z",
  "workspacePath": "/Users/example/Library/Application Support/Monet/session-workspaces/ses_abc123/workspace",
  "messages": [
    {
      "id": "msg_123",
      "sessionId": "ses_123",
      "runId": "run_123",
      "role": "user",
      "createdAt": "2026-04-23T10:05:00.000Z",
      "uiMessage": {
        "id": "msg_123",
        "role": "user",
        "parts": [
          {
            "type": "text",
            "text": "Hello"
          }
        ]
      }
    }
  ]
}

Changes

    • info

      added the required property //// to the response with the status

    • info

      added the required property / to the response with the status