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.

Fetch status, progress, and stats for one sync run.
run = await mesa.sync_runs.get(sync_run_id="sync_123")
print(run.status)

Options

sync_run_id
str
required
Sync run ID.
org
str | None
Organization override.

Response

id
str
Sync run ID.
repo_id
str
Repository ID.
direction
'pull' | 'push'
Sync direction.
status
'queued' | 'in_progress' | 'completed' | 'failed'
Current sync status.
attempt
int
Attempt count for this run.
stats
object | None
Ref-level sync stats when available.
error
str | None
Failure message when the run failed.
created_at
datetime
Creation timestamp.
started_at
datetime | None
Start timestamp.
finished_at
datetime | None
Finish timestamp.

Required scope

read