Chat

Get Chat Session

Read one conversation's transcript.

Messages come back in turn order, user before assistant within a turn. 404 for unknown, foreign and purged sessions alike — a purged stub is readable only with with_purged, and then carries no messages.

get/api/v1/chat/sessions/{session_id}

Request

  • Base URL: https://api.gemina.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemina.co/api/v1/chat/sessions/{session_id}
  • Auth: one of:
    • API key in header X-API-Key
    • OAuth 2 (password, token URL token)

Path parameters

session_idstring uuid required

Query parameters

skipinteger

Number of messages to skip

limitinteger

Number of messages to retrieve

with_purgedboolean

Allow reading a purged session stub

Response

Successful Response

servedAtstring date-time
servedAtTimestampnumber
createdAtstring date-time nullable
createdAtTimestampnumber nullable
countinteger required

Total messages in the session, not just this page

Changes

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