Skip to main content
GET
List Repository Changes

Authorizations

Authorization
string
header
required

JWT bearer token signed with your organization's registered signing key. There is no OAuth authorization server; you mint tokens yourself and the token's scopes claim carries the granted permission scopes. Public scopes: git:read (read repository contents), git:write (write branches, commits, tags, and notes), repo:write (create and manage repositories), org:read (list an organization's repositories). Each operation's security requirement names the scopes it requires. See https://code.storage/docs/getting-started/authentication for how to mint tokens.

Query Parameters

changed_after
string

RFC3339 timestamp, exclusive. Required without a cursor. Compared with metadata update time; must match the cursor bound if supplied with a cursor.

cursor
string

Opaque cursor from the preceding page. Preserves the time bounds and include_ephemeral setting.

include_ephemeral
boolean

Include ephemeral branch changes alongside regular branch changes. Defaults to false on the first page; inherited from the cursor on subsequent pages. Must match the cursor setting if supplied with a cursor.

limit
integer
default:100

Maximum changes per page, from 1 to 1000. Defaults to 100.

Required range: 1 <= x <= 1000

Response

Success

Paginated repository changes for the current organisation.

changes
object[]
required

Latest changes to tracked heads and repository deletions.

has_more
boolean
required

Whether another page is available.

Example:

true

next_changed_after
string
required

Delayed poll boundary in RFC 3339 format. Save after all pages are processed and use as changed_after for the next poll.

Example:

"2026-08-04T00:02:00Z"

next_cursor
string

Opaque cursor for the next page. Pass it as cursor to read the next page. Absent when there are no more results.

Example:

"MTcwNzU3MzQ1MTAwMDAwMDAwMHxyZXBvXzlhNGMyMWY"