Get Sync Job
Get details for a specific sync job.
Returns the full job record including status, file counts, start/completion times, and any error messages.
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Response
Successful Response
Execution record for a single storage sync run.
Created when a sync is triggered (manually or by scheduler). Tracks progress, metrics, and errors for the sync execution.
Job Lifecycle: PENDING → RUNNING → COMPLETED/FAILED
Tracked Metrics:
- files_synced: Successfully created objects
- files_failed: Objects sent to Dead Letter Queue
- started_at/completed_at: Timing for duration calculation
Identifier of the sync configuration that spawned this job.
Organization scope identifier.
Namespace scope identifier.
Unique identifier for the sync job.
Current status of the sync job.
running, completed, failed, interrupted Human-readable phase within a RUNNING job for observability (e.g. 'discovering', 'downloading', 'verifying', 're-verifying', 'idle'). Optional and descriptive — distinct from status, which is the coarse lifecycle state. Lets a sync that is re-verifying already-synced files (low net-new throughput, low percent) read as healthy rather than stuck. Back-compatible: older jobs have None.
Total files expected for this sync run.
x >= 0Number of files synced successfully in this job.
x >= 0Number of files that failed to sync in this job.
x >= 0Timestamp when the job started.
Timestamp when the job completed.
Last progress update timestamp for this job.
Last error encountered during the job.
1000Optional metadata captured during execution (provider stats, cursors, etc.).
Derived percent complete when total_files is known.
0 <= x <= 100Derived successful-file throughput for the job.
x >= 0Seconds since the latest progress update for running jobs.
x >= 0Latest provider cursor/page token captured for this job.
Derived progress summary for API observability.

