List jobs
GET/job
Retrieve jobs, optionally filtered by status.
Request
Query Parameters
Possible values: [submitted, processing, completed, failed, partial_failure]
Filter jobs by status.
Possible values: >= 1 and <= 100
Default value: 10
Maximum number of jobs per page (1-100).
Default value: 0
Number of jobs to skip for pagination.
Responses
- 200
- 400
- 401
- 403
- 500
A list of jobs.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Total number of jobs matching the filter.
status_counts
object
Count of all jobs by status (submitted, processing, completed, failed, partial_failure). Derived from key names during the listing pass — no extra reads.
items
object[]
Unique identifier of the job.
Current status of the job.
Creation timestamp.
operation
object
The operation data.
The operation data.
The result data if completed.
Whether the operation modified system state. Null for pending/failed jobs; true/false for completed jobs.
Error message if failed.
Agent hostname that processed the job.
Last update timestamp.
responses
object
Per-agent response data for broadcast jobs.
property name*
object
Agent result data.
agent_states
object
Per-agent processing state for broadcast jobs.
property name*
object
timeline
object[]
Chronological sequence of job lifecycle events.
ISO 8601 timestamp of the event.
Event type (submitted, acknowledged, started, completed, failed, retried).
Agent or source that generated the event.
Human-readable description of the event.
Error details if applicable.
{
"total_items": 42,
"status_counts": {
"submitted": 5,
"processing": 2,
"completed": 30,
"failed": 3,
"partial_failure": 2
},
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"created": "string",
"operation": {},
"changed": true,
"error": "string",
"hostname": "string",
"updated_at": "string",
"responses": {},
"agent_states": {},
"timeline": [
{
"timestamp": "string",
"event": "string",
"hostname": "string",
"message": "string",
"error": "string"
}
]
}
]
}
Invalid request parameters.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Unauthorized - API key required
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Forbidden - Insufficient permissions
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Error listing jobs.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}