Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt

Use this file to discover all available pages before exploring further.

List syncs for one repository’s upstream, newest first.
result = await mesa.repos.list_upstream_syncs(repo="app", limit=20)

for sync in result.syncs:
    print(sync.direction, sync.status, sync.created_at)

Options

org
str | None
Organization override.
repo
str
required
Repository name.
cursor
str | None
Opaque pagination cursor from a previous response.
limit
int | None
Maximum number of syncs to return. The server maximum is 100.

Response

next_cursor
str | None
Cursor for the next page, or None when no more results remain.
has_more
bool
Whether another page is available.
syncs
list
Sync objects with id, repo_id, direction, status, attempt, stats, error, created_at, started_at, and finished_at.

Required scope

read