Sessions

List sessions for a repo

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

get/api/v1/cache/{org}/{repo}/sessions

Path parameters

orgstring required
repostring required

Query parameters

provider'gh' | 'et'

Repository namespace used to disambiguate Entire-native and GitHub repos.

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

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