Skip to main content
GET
List a repo's trails (repo_id addressing)

Authorizations

Authorization
string
header
required

OAuth 2.0 authorization code flow.

Path Parameters

repo_id
string
required

Repo id: placement ULID or public repo_

Query Parameters

per_page
integer<int64>
default:50

Items per page (default 50, maximum 100).

Required range: 1 <= x <= 100
cursor
string

Opaque continuation cursor; restores filters and ordering. Authorization is checked again on every request.

id
string[] | null

Alias for id[eq]; repository-scoped Trail ULIDs.

id[eq]
string[] | null

Match any Trail ULID; repeatable or comma-separated.

id[ne]
string[] | null

Exclude Trail ULIDs; repeatable or comma-separated.

number
string[] | null

Alias for number[eq]; positive Trail numbers.

number[eq]
string[] | null

Match any Trail number; repeatable or comma-separated.

number[ne]
string[] | null

Exclude Trail numbers; repeatable or comma-separated.

status
string[] | null

Alias for status[eq]; repeatable or comma-separated.

status[eq]
string[] | null

Match any lifecycle status; repeatable or comma-separated.

status[ne]
string[] | null

Exclude lifecycle statuses; repeatable or comma-separated.

author
string[] | null

Alias for author[eq].

author[eq]
string[] | null

Match any author account ULID; repeatable or comma-separated.

author[ne]
string[] | null

Exclude author account ULIDs; repeatable or comma-separated.

q
string

Case-insensitive substring search over title, branch and original_branch.

Response

OK

items
object[] | null
required
total_count
integer<int64>
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/v1/schemas/TrailsListResponse.json"

next_cursor
string