curl --request GET \
--url "https://api.roe-ai.com/v1/agents/jobs/YOUR_JOB_ID/result/" \
--header "Authorization: Bearer YOUR_API_KEY"
{
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"agent_version_id": "456e7890-e89b-12d3-a456-426614174001",
"inputs": [
{
"key": "input_text",
"value": "Hello world",
"data_type": "text/plain"
}
],
"input_tokens": 100,
"output_tokens": 50,
"outputs": [
{
"key": "output",
"description": "Output JSON data",
"data_type": "application/json",
"value": "{\"summary\": \"hello world!\"}",
"cost": 0.05
}
]
}{
"detail": "You do not have permission to perform this action."
}{
"detail": "Not found."
}Agents
Agent Job Result
Get agent job result data. If the output references artifact keys (e.g. `evidence_data` values), fetch their full content via GET /v1/agents/jobs/{agent_job_id}/artifacts/result/?artifact_key=<key>.
GET
/
v1
/
agents
/
jobs
/
{agent_job_id}
/
result
/
curl --request GET \
--url "https://api.roe-ai.com/v1/agents/jobs/YOUR_JOB_ID/result/" \
--header "Authorization: Bearer YOUR_API_KEY"
{
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"agent_version_id": "456e7890-e89b-12d3-a456-426614174001",
"inputs": [
{
"key": "input_text",
"value": "Hello world",
"data_type": "text/plain"
}
],
"input_tokens": 100,
"output_tokens": 50,
"outputs": [
{
"key": "output",
"description": "Output JSON data",
"data_type": "application/json",
"value": "{\"summary\": \"hello world!\"}",
"cost": 0.05
}
]
}{
"detail": "You do not have permission to perform this action."
}{
"detail": "Not found."
}curl --request GET \
--url "https://api.roe-ai.com/v1/agents/jobs/YOUR_JOB_ID/result/" \
--header "Authorization: Bearer YOUR_API_KEY"
Authorizations
Query Parameters
Response
Agent job result with outputs, inputs, tokens and metadata