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
string
required
The case ID returned by Initiate Case
Headers
string
required
Your API authentication key
Response
number
required
Total number of nodes in the workflow
string
The node currently running. Empty string when no node is actively running (for example, between nodes or after the case finishes).
string
The next node to execute. Empty string when the case has no more nodes queued.
string[]
required
Nodes not executed yet
string[]
required
Nodes already executed
number
required
Number of nodes already executed
string[]
required
Nodes that failed
number
required
Number of nodes that failed
object
required
Detailed per-node execution data
Show audit.nodesExecutionData
Show audit.nodesExecutionData
object
Per-node execution data keyed by node name or ID. Each entry has the following properties:
string
Execution status of the node. Known values:
COMPLETED, FAILED, STARTED, WAITING, UNKNOWN — treat as an open set; new statuses may appear.number
Node execution start time (epoch milliseconds)
number
Node execution duration in milliseconds
number
Position of the node in the execution order
array
Input variables of the node —
{ variableName, displayName, value, type } entries. null when the node has no inputs.array
Output variables of the node —
{ variableName, displayName, value, type } entries. null when the node has no outputs.Errors
Unauthorized
Missing, invalid, or expired API key.
Not Found
The case does not exist.
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?