Get job detail
GET/job/:id
Retrieve details of a specific job by its ID.
Request
Path Parameters
UUID of the job to retrieve.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The job details.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
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.
{
"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
}
Job not found.
- 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 retrieving job.
- 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
}