Trails
Sessions

List sessions for a trail

Returns sessions attached to checkpoints on the trail's current or historical commit delta. The session data is read from the entire-api repository sessions endpoint.

get/api/v1/trails/{forge}/{owner}/{repo}/{number}/sessions

Path parameters

forgestring required
ownerstring required
repostring required
numberstring required

Query parameters

cursorstring

Opaque cursor returned by the previous page's next_cursor.

limitinteger

Page size, defaults to 50, capped at 200.

Response

Trail sessions

trail_idstring required
trail_numbernumber required
repo_full_namestring required
branchstring nullable required
next_cursorstring nullable required
app_has_accessboolean nullable required
session_branch_existsboolean nullable required
history_status'pending' | 'syncing' | 'complete' | 'error' nullable required
history_completeboolean required
source'entire-api' | 'none' required
upstream_sourcestring nullable required

Changes

No recorded changes to this endpoint across all 29 revisions of this API.