curl --request GET \
--url https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/results \
--header 'x-service-key: {YOUR_SERVICE_KEY}'
import requests
url = "https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/results"
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}/results",
{
method: "GET",
headers: {
"x-service-key": "{YOUR_SERVICE_KEY}",
},
}
);
const data = await response.json();
console.log(data);
{
"results": {
"{OUTPUT_VARIABLE_1}": {
"value": "The generated summary text",
"type": "str",
"displayName": "Summary"
},
"{OUTPUT_VARIABLE_2}": {
"value": "https://files.opus.com/...",
"type": "file",
"displayName": "Generated Report"
}
}
}
{
"statusCode": 202,
"message": "V2 job results not yet available for job with ID {CASE_ID}",
"timestamp": "2026-08-05T10:15:00.000Z",
"path": "/api/v1/case/{CASE_ID}/results",
"errorCode": ""
}
Cases
Get Case Results
Retrieve the output variables of a finished case
GET
/
api
/
v1
/
case
/
{caseId}
/
results
curl --request GET \
--url https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/results \
--header 'x-service-key: {YOUR_SERVICE_KEY}'
import requests
url = "https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/results"
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}/results",
{
method: "GET",
headers: {
"x-service-key": "{YOUR_SERVICE_KEY}",
},
}
);
const data = await response.json();
console.log(data);
{
"results": {
"{OUTPUT_VARIABLE_1}": {
"value": "The generated summary text",
"type": "str",
"displayName": "Summary"
},
"{OUTPUT_VARIABLE_2}": {
"value": "https://files.opus.com/...",
"type": "file",
"displayName": "Generated Report"
}
}
}
{
"statusCode": 202,
"message": "V2 job results not yet available for job with ID {CASE_ID}",
"timestamp": "2026-08-05T10:15:00.000Z",
"path": "/api/v1/case/{CASE_ID}/results",
"errorCode": ""
}
Fetch the output of a case once it has finished. Each entry in
results is an output variable from the workflow’s output schema with its resolved value.
If you provided a
callbackUrl in Execute Case, the same results are also POSTed to it when the case finishes — polling this endpoint is not required in that setup.Path Parameters
string
required
The case ID returned by Initiate Case
Headers
string
required
Your API authentication key
Response
object
required
If the case has not finished yet, the endpoint responds with HTTP
202 Accepted and no results. Poll Get Case Status until the case reaches a terminal status before fetching results.Errors
Accepted
The case has not finished yet — results are not available. Retry later.
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}/results \
--header 'x-service-key: {YOUR_SERVICE_KEY}'
import requests
url = "https://operator.opus.com/api/v1/case/{YOUR_CASE_ID}/results"
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}/results",
{
method: "GET",
headers: {
"x-service-key": "{YOUR_SERVICE_KEY}",
},
}
);
const data = await response.json();
console.log(data);
{
"results": {
"{OUTPUT_VARIABLE_1}": {
"value": "The generated summary text",
"type": "str",
"displayName": "Summary"
},
"{OUTPUT_VARIABLE_2}": {
"value": "https://files.opus.com/...",
"type": "file",
"displayName": "Generated Report"
}
}
}
{
"statusCode": 202,
"message": "V2 job results not yet available for job with ID {CASE_ID}",
"timestamp": "2026-08-05T10:15:00.000Z",
"path": "/api/v1/case/{CASE_ID}/results",
"errorCode": ""
}
Was this page helpful?