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 a sync by id through the repository’s upstream. Required scope: write
sync = await mesa.repos.get_upstream_sync(repo="app", sync_id="sync_...")
print(sync.id, sync.status)

Options

repo
str
required
Repository name.
sync_id
str
required
Sync ID.
org
str | None
Organization override.

Response

Returns a sync object.
id
str
Sync ID.
repo_id
str
Repository ID.
direction
'pull' | 'push'
Sync direction.
status
'queued' | 'in_progress' | 'completed' | 'failed'
Current sync status.
attempt
int
Attempt number for this run.
read