curl --request GET \
--url https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit \
--header 'x-service-key: {YOUR_SERVICE_KEY}'
import requests
url = "https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit"
headers = {"x-service-key": "{YOUR_SERVICE_KEY}"}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch(
"https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit",
{
method: "GET",
headers: {
"x-service-key": "{YOUR_SERVICE_KEY}",
},
}
);
const data = await response.json();
console.log(data);
{
"totalNodeCount": 3,
"runningNode": "",
"nextNode": "",
"remainingNodesToExecute": [],
"executedNodes": ["Workflow Input", "Summarize", "Workflow Output"],
"executedNodeCount": 3,
"failedNodes": [],
"failedNodeCount": 0,
"audit": {
"nodesExecutionData": {
"Summarize": {
"executionStatus": "COMPLETED",
"executionStartTime": 1764755400000,
"executionTime": 5230,
"executionIndex": 1,
"executionInput": [
{
"variableName": "{VARIABLE_NAME_1}",
"displayName": "Source Text",
"value": "…",
"type": "str"
}
],
"executionOutput": [
{
"variableName": "{OUTPUT_VARIABLE_1}",
"displayName": "Summary",
"value": "…",
"type": "str"
}
]
}
}
}
}
Cases
Case Audit Log
Retrieve the per-node execution audit of a case
GET
/
api
/
v1
/
case
/
{caseId}
/
audit
curl --request GET \
--url https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit \
--header 'x-service-key: {YOUR_SERVICE_KEY}'
import requests
url = "https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit"
headers = {"x-service-key": "{YOUR_SERVICE_KEY}"}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch(
"https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit",
{
method: "GET",
headers: {
"x-service-key": "{YOUR_SERVICE_KEY}",
},
}
);
const data = await response.json();
console.log(data);
{
"totalNodeCount": 3,
"runningNode": "",
"nextNode": "",
"remainingNodesToExecute": [],
"executedNodes": ["Workflow Input", "Summarize", "Workflow Output"],
"executedNodeCount": 3,
"failedNodes": [],
"failedNodeCount": 0,
"audit": {
"nodesExecutionData": {
"Summarize": {
"executionStatus": "COMPLETED",
"executionStartTime": 1764755400000,
"executionTime": 5230,
"executionIndex": 1,
"executionInput": [
{
"variableName": "{VARIABLE_NAME_1}",
"displayName": "Source Text",
"value": "…",
"type": "str"
}
],
"executionOutput": [
{
"variableName": "{OUTPUT_VARIABLE_1}",
"displayName": "Summary",
"value": "…",
"type": "str"
}
]
}
}
}
}
Get a detailed, per-node view of a case’s execution: which nodes ran, in what order, with which inputs and outputs, and which ones failed. Useful for progress display and debugging.
Path Parameters
The case ID returned by Initiate Case
Headers
Response
The node currently running. Empty string when no node is actively running (for example, between nodes or after the case finishes).
Detailed per-node execution data
Show audit.nodesExecutionData
Show audit.nodesExecutionData
Execution status of the node. Known values:
COMPLETED, FAILED, STARTED, WAITING, UNKNOWN — treat as an open set; new statuses may appear.Input variables of the node —
{ variableName, displayName, value, type } entries. null when the node has no inputs.Errors
curl --request GET \
--url https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit \
--header 'x-service-key: {YOUR_SERVICE_KEY}'
import requests
url = "https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit"
headers = {"x-service-key": "{YOUR_SERVICE_KEY}"}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch(
"https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/audit",
{
method: "GET",
headers: {
"x-service-key": "{YOUR_SERVICE_KEY}",
},
}
);
const data = await response.json();
console.log(data);
{
"totalNodeCount": 3,
"runningNode": "",
"nextNode": "",
"remainingNodesToExecute": [],
"executedNodes": ["Workflow Input", "Summarize", "Workflow Output"],
"executedNodeCount": 3,
"failedNodes": [],
"failedNodeCount": 0,
"audit": {
"nodesExecutionData": {
"Summarize": {
"executionStatus": "COMPLETED",
"executionStartTime": 1764755400000,
"executionTime": 5230,
"executionIndex": 1,
"executionInput": [
{
"variableName": "{VARIABLE_NAME_1}",
"displayName": "Source Text",
"value": "…",
"type": "str"
}
],
"executionOutput": [
{
"variableName": "{OUTPUT_VARIABLE_1}",
"displayName": "Summary",
"value": "…",
"type": "str"
}
]
}
}
}
}
Was this page helpful?