Api referenceEndpointsAdmin
Processing jobs of the tenant (instance admin, one tenant)
GET
GET /v1/pipeline/etl-jobs (listETLJobs) for the tenant of tenant_id, read with an
instance admin key: the same parameters and the same answer as the tenant's own key
gets. Recorded in the caller's audit log and, actor admin, in the tenant's.
See docs/admin-api.md.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
tenant_id*stringThe id of a tenant; any other value is a 404.
Format
uuidstatus?stringDefault
"parked"Value in
"parked""pending""running"provider?stringOnly this provider's jobs.
limit?integerRange
1 <= value <= 100Default
50cursor?stringThe next_cursor of the previous page.
A page of jobs.
application/json- response
data*array<>next_cursor*|Null on the last page.
curl -X GET 'http://localhost:8080/v1/admin/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/pipeline/etl-jobs' \ -H 'Authorization: Bearer ohs_sk_...'{ "next_cursor": "string", "data": [ { "id": 0, "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "provider": "string", "tier": "string", "status": "pending", "attempts": 0, "error": "string", "created_at": "2019-08-24T14:15:22Z", "next_attempt_at": "2019-08-24T14:15:22Z" } ]}