Record workbook refresh run
curl --request POST \
--url https://api.turos.app/v1/workbook-installations/{workbook_installation_id}/refresh-runs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"modelContextSnapshotId": "<string>",
"changedMappingCount": 4503599627370495,
"blockedMappingCount": 4503599627370495,
"evidenceSnapshotIds": [],
"diagnostics": []
}
'import requests
url = "https://api.turos.app/v1/workbook-installations/{workbook_installation_id}/refresh-runs"
payload = {
"modelContextSnapshotId": "<string>",
"changedMappingCount": 4503599627370495,
"blockedMappingCount": 4503599627370495,
"evidenceSnapshotIds": [],
"diagnostics": []
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
modelContextSnapshotId: '<string>',
changedMappingCount: 4503599627370495,
blockedMappingCount: 4503599627370495,
evidenceSnapshotIds: [],
diagnostics: []
})
};
fetch('https://api.turos.app/v1/workbook-installations/{workbook_installation_id}/refresh-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "workbook_refresh_run",
"workbookRefreshRun": {
"workbookRefreshRunId": "wb_refresh_example",
"workbookInstallationId": "wb_install_example",
"modelContextSnapshotId": "model_ctx_example",
"status": "previewed",
"startedAt": "2026-08-16T12:00:00.000Z",
"changedMappingCount": 1,
"blockedMappingCount": 0,
"evidenceSnapshotIds": [],
"diagnostics": []
},
"requestId": "req_example"
}Workbooks
Record workbook refresh run
Record a workbook refresh or preview run with evidence and diagnostics.
POST
/
v1
/
workbook-installations
/
{workbook_installation_id}
/
refresh-runs
Record workbook refresh run
curl --request POST \
--url https://api.turos.app/v1/workbook-installations/{workbook_installation_id}/refresh-runs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"modelContextSnapshotId": "<string>",
"changedMappingCount": 4503599627370495,
"blockedMappingCount": 4503599627370495,
"evidenceSnapshotIds": [],
"diagnostics": []
}
'import requests
url = "https://api.turos.app/v1/workbook-installations/{workbook_installation_id}/refresh-runs"
payload = {
"modelContextSnapshotId": "<string>",
"changedMappingCount": 4503599627370495,
"blockedMappingCount": 4503599627370495,
"evidenceSnapshotIds": [],
"diagnostics": []
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
modelContextSnapshotId: '<string>',
changedMappingCount: 4503599627370495,
blockedMappingCount: 4503599627370495,
evidenceSnapshotIds: [],
diagnostics: []
})
};
fetch('https://api.turos.app/v1/workbook-installations/{workbook_installation_id}/refresh-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "workbook_refresh_run",
"workbookRefreshRun": {
"workbookRefreshRunId": "wb_refresh_example",
"workbookInstallationId": "wb_install_example",
"modelContextSnapshotId": "model_ctx_example",
"status": "previewed",
"startedAt": "2026-08-16T12:00:00.000Z",
"changedMappingCount": 1,
"blockedMappingCount": 0,
"evidenceSnapshotIds": [],
"diagnostics": []
},
"requestId": "req_example"
}Path Parameters
Body
application/json
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$