ProjectsJobs
List project jobs
GET
The latest 200, newest first. A sync's row (sync) names its integration and provider, its mode, the run it runs again, and the state of each of its lanes; integrationId narrows the list to one integration's runs.
Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
status?stringValue in
"queued""running""succeeded""failed""canceled"type?stringe.g. model.convert.
Length
1 <= length <= 50except?stringA type to leave out, e.g. integration.sync.
Length
1 <= length <= 50integrationId?stringA sync's integration: only its runs.
Length
1 <= length <= 100OK.
application/json- response
jobs*array<>Example Request
curl -X GET 'http://localhost:3000/api/projects/string/jobs'Example Response
{ "jobs": [ { "id": "string", "type": "string", "status": "queued", "attempts": -9007199254740991, "runAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "leaseUntil": "2019-08-24T14:15:22Z", "workerId": "string", "lastError": "string", "createdById": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "subject": { "kind": "model", "id": "string", "label": "string" }, "sync": { "integrationId": "string", "provider": "string", "externalProjectName": "string", "mode": "record", "preview": true, "rerunOfId": "string", "lanes": [ { "id": "models", "state": "waiting" } ] } } ]}