Get a sync run
The run as its lanes โ models, element statuses, forms, issues, those it syncs โ run side by side but for the issues, which start after the models. Each lane has its state, times and error, how many of its records came to each outcome, and its stages in order, each with its own state and counts. Also the run it runs again, and the runs that ran it again. 404 for a job that is not a sync.
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.
sessiongamma.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.
jobId*stringOK.
application/json- response
run*One run of an integration's sync: its lanes, each a chain of stages.
curl -X GET 'http://localhost:3000/api/projects/string/integrations/runs/string'{ "run": { "id": "string", "integrationId": "string", "provider": "string", "externalProjectName": "string", "mode": "record", "preview": true, "status": "queued", "createdById": "string", "createdAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "error": "string", "rerunOfId": "string", "reruns": [ { "id": "string", "status": "queued", "createdAt": "2019-08-24T14:15:22Z" } ], "failedRerun": { "count": -9007199254740991, "other": -9007199254740991 }, "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 } } ], "counts": { "property1": -9007199254740991, "property2": -9007199254740991 } } ] }}