Api referenceEndpointsPipeline
Sync runs of every user of the tenant
GET
The sync runs of all the tenant's users, newest first, each with its user. Filter by
status (for example failed, the runs that gave up) and by provider.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
status?stringValue in
"queued""running""retrying""rate_limited""succeeded""failed""cancelled"provider?stringOnly this provider's runs.
limit?integerRange
1 <= value <= 100Default
50cursor?stringThe next_cursor of the previous page.
A page of runs.
application/json- response
data*array<>next_cursor*|Null on the last page.
curl -X GET 'http://localhost:8080/v1/pipeline/sync-runs' \ -H 'Authorization: Bearer ohs_sk_...'{ "next_cursor": "string", "data": [ { "id": 0, "provider": "string", "trigger": "backfill", "status": "queued", "data_type": "string", "window_start": "2019-08-24T14:15:22Z", "window_end": "2019-08-24T14:15:22Z", "attempts": 0, "objects_stored": 0, "error": "string", "created_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "next_attempt_at": "2019-08-24T14:15:22Z", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ]}