---
title: "List sessions for the authenticated user"
method: GET
path: "/api/v1/cache/user/sessions"
tags: ["Sessions"]
---

# List sessions for the authenticated user

`GET /api/v1/cache/user/sessions`

Returns recent sessions across the authenticated user's repositories for the Home session list.

## Query parameters

- `timeframe` 'last-month' | 'last-3-months' | 'last-6-months'
- `limit` integer

## Response `200`

Recent user sessions

- object
  - `sessions` object[], required
    - `sessionId` string, required
    - `displayName` string, required
    - `customName` string, nullable, required
    - `isPublic` boolean, required
    - `agent` string, nullable, required
    - `model` string, nullable, required
    - `kind` 'agent_review', nullable, required
    - `prompt` string, nullable, required
    - `firstCommitAuthorUsername` string, nullable, required
    - `startedAt` string, required
    - `lastActivityAt` string, required
    - `checkpointCount` number, required
    - `stepCount` number, required
    - `inputTokens` number, nullable, required
    - `outputTokens` number, nullable, required
    - `cacheCreationTokens` number, nullable, required
    - `cacheReadTokens` number, nullable, required
    - `attributionAgentLines` number, nullable, required
    - `attributionHumanAdded` number, nullable, required
    - `attributionHumanModified` number, nullable, required
    - `attributionHumanRemoved` number, nullable, required
    - `attributionTotalCommitted` number, nullable, required
    - `attributionCalculatedAt` string, nullable, required
    - `repo_full_name` string, required
    - `is_private` boolean, required
  - `timeframe` string, required
  - `updated_at` string, required

## Other responses

- `401` — Not authenticated
- `503` — entire-api is not configured

---

[API](https://skmtc.dev/entire/apis/entire-api.md) · [All operations](https://skmtc.dev/entire/apis/entire-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/entire/entire-api/revisions/c3d737ae064e/schema)
