ProjectsIntegrations
List sync runs
GET
Each integration's periodic or full sync, for the header's sync panel: the run under way with each lane and stage where it is, the last one that ended, when the next is due, and the conflicts waiting. Point syncs and previews are left out.
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.
OK.
application/json- response
runs*array<>Example Request
curl -X GET 'http://localhost:3000/api/projects/string/integrations/runs'Example Response
{ "runs": [ { "integrationId": "string", "provider": "string", "paused": true, "conflicts": -9007199254740991, "current": { "jobId": "string", "status": "running", "mode": "incremental", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "lastError": "string", "lanes": [ { "id": "models", "state": "waiting", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "error": "string", "reason": "notAllowed", "narrowedTo": "inbound", "after": "models", "stages": [ { "id": "prepare", "state": "waiting", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "error": "string", "counts": { "property1": -9007199254740991, "property2": -9007199254740991 } } ] } ] }, "last": { "jobId": "string", "status": "running", "mode": "incremental", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "lastError": "string", "lanes": [ { "id": "models", "state": "waiting", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "error": "string", "reason": "notAllowed", "narrowedTo": "inbound", "after": "models", "stages": [ { "id": "prepare", "state": "waiting", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "error": "string", "counts": { "property1": -9007199254740991, "property2": -9007199254740991 } } ] } ] }, "nextAt": "2019-08-24T14:15:22Z", "health": { "lastSucceededAt": "2019-08-24T14:15:22Z", "failures": -9007199254740991, "lastError": "string", "failedRecords": { "count": -9007199254740991, "jobId": "string", "lanes": { "property1": -9007199254740991, "property2": -9007199254740991 } }, "nextAt": "2019-08-24T14:15:22Z", "paused": true, "conflicts": -9007199254740991 } } ]}