Sessions

Marks a session as archived without deleting its history.

post/api/sessions/{sessionId}/archive

Request

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

Path parameters

sessionIdstring required
Example:ses_123

Response

Session archived successfully.

Example response

{
  "session": {
    "id": "ses_123",
    "title": "New chat",
    "createdAt": "2026-04-23T10:00:00.000Z",
    "updatedAt": "2026-04-23T10:05:00.000Z"
  }
}

Changes