Skip to main content
GET
/
sessions
/
{id}
Retrieve Session
curl --request GET \
  --url https://api.example.com/sessions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "title": "Add rate limiting to auth endpoints",
  "model": {
    "id": "claude-opus-4-6"
  },
  "created_at": "2026-03-06T14:30:00Z",
  "updated_at": "2026-03-06T15:45:00Z",
  "turns": [
    {
      "kind": "user",
      "content": "Add rate limiting to the auth endpoints using a sliding window approach with Redis.",
      "created_at": "2026-02-28T10:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT bearer token issued by fabro-web. See the Authentication guide for details.

Path Parameters

id
string<uuid>
required

Unique session identifier.

Response

Session detail

Full session record including metadata and the complete conversation history.

id
string<uuid>
required

Unique session identifier.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

title
string
required

Short title summarizing the session topic.

Example:

"Add rate limiting to auth endpoints"

model
object
required

Reference to a model by its identifier.

created_at
string<date-time>
required

Timestamp when the session was created.

Example:

"2026-03-06T14:30:00Z"

updated_at
string<date-time>
required

Timestamp when the session was last updated (e.g. new turn added).

Example:

"2026-03-06T15:45:00Z"

turns
object[]
required

Ordered list of conversation turns.

A single turn in a session conversation — a user message, assistant response, or tool invocation block.