Run As Of
The run as it stood then: what was wired, where it sat, and what every node held.
Kept rather than worked out — the state that made a file is written down before anything can
overwrite it (RunVersion), and a run nothing has changed since is its own record, live.
A moment no version spans is a state that produced nothing, which is why it was not kept. Its wiring is still in the log, so that is what comes back, without results: those were overwritten and are nobody’s to give back. A moment the log no longer reaches comes back empty.
GET
/api/v1/runs/{run_id}/atAuthorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredPath parameters
run_idstringrequiredQuery parameters
atstring<date-time>requiredThe moment being read
generationinteger | anyThe state a file came out of, as stamped on it — exact where a moment is not
Responses
200Successful Response
successbooleandefault: true
dataRunAsOf | anyShow propertiesHide properties
Any of:
RunAsOf
livebooleandefault: false
definitionobjectui_stateobjectnodesobjectany
anymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X GET "/api/v1/runs/string/at?at=2019-08-24T14%3A15%3A22Z" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/runs/string/at?at=2019-08-24T14%3A15%3A22Z", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"/api/v1/runs/string/at?at=2019-08-24T14%3A15%3A22Z",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": {
"live": false,
"definition": {},
"ui_state": {},
"nodes": {
"property1": {
"status": "pending",
"progress": 0,
"outputs": {},
"error": "string",
"message": "string",
"credits_consumed": 0,
"duration_seconds": 0,
"checkpoint": {},
"items": {
"property1": {
"status": "pending",
"progress": 0,
"outputs": {},
"error": "string",
"message": "string",
"credits_consumed": 0,
"duration_seconds": 0,
"checkpoint": {}
},
"property2": {
"status": "pending",
"progress": 0,
"outputs": {},
"error": "string",
"message": "string",
"credits_consumed": 0,
"duration_seconds": 0,
"checkpoint": {}
}
},
"started_at": "2019-08-24T14:15:22Z"
},
"property2": {
"status": "pending",
"progress": 0,
"outputs": {},
"error": "string",
"message": "string",
"credits_consumed": 0,
"duration_seconds": 0,
"checkpoint": {},
"items": {
"property1": {
"status": "pending",
"progress": 0,
"outputs": {},
"error": "string",
"message": "string",
"credits_consumed": 0,
"duration_seconds": 0,
"checkpoint": {}
},
"property2": {
"status": "pending",
"progress": 0,
"outputs": {},
"error": "string",
"message": "string",
"credits_consumed": 0,
"duration_seconds": 0,
"checkpoint": {}
}
},
"started_at": "2019-08-24T14:15:22Z"
}
}
},
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}