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 sync runs newest first. Pass repo to filter to one repository.
runs = await mesa.sync_runs.list(repo="app", limit=20)

for run in runs.sync_runs:
    print(run.direction, run.status, run.created_at)

Options

org
str | None
Organization override.
repo
str | None
Repository name filter.
cursor
str | None
Opaque pagination cursor from a previous response.
limit
int | None
Maximum number of sync runs 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.
sync_runs
list
Sync run objects with id, repo_id, direction, status, attempt, stats, error, created_at, started_at, and finished_at.

Required scope

read