Sessions

List sessions for a repo

Changed on

Returns the authoritative session list for a repo from entire-api.

get/api/v1/cache/r/{repoId}/sessions

Request

  • Base URL
    https://entire.io (the document declares no server; this is the origin it was published from)
  • URL
    https://entire.io/api/v1/cache/r/{repoId}/sessions
  • Auth
    none declared

Path parameters

repoIdstring required

Query parameters

scope'all'

Set to "all" to include every historically linked session, including sessions from branches that were later deleted or rewritten. Cannot be combined with branch, base, or head.

branchstring

Restrict to sessions whose contributing commits are reachable from this branch. When both scope and branch are omitted, the repo's default branch is used.

searchstring

Case-insensitive literal substring over effective session name, prompt, and agent.

authorFacetstring

Match any author facet key. Multiple values are comma-separated.

authorFacetNotstring

Exclude author facet keys. Multiple values are comma-separated.

agentstring

Match any agent. Multiple values are comma-separated.

agentNotstring

Exclude agents. Multiple values are comma-separated.

modelstring

Match any model. Multiple values are comma-separated.

modelNotstring

Exclude models. Multiple values are comma-separated.

isReviewboolean

Include only Review sessions when true, or exclude Review sessions when false.

includeFacetsboolean

Include complete scoped author, agent, and model choices on the first page.

cursorstring

Opaque cursor returned by the previous page's next_cursor.

limitinteger

Page size, defaults to 50, capped at 200.

Response

Sessions list

next_cursorstring nullable required
repo_full_namestring required
app_has_accessboolean nullable required
session_branch_existsboolean nullable required
history_status'pending' | 'syncing' | 'complete' | 'error' nullable required
history_completeboolean required
source'db' required

Changes