Red Hat Satellite · Schema
ForemanTask
An asynchronous task object returned for long-running operations such as publishing content views or uploading manifests.
Configuration ManagementLifecycle ManagementPatch ManagementSubscription ManagementSystems Management
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique task identifier. |
| label | string | Machine-readable task label. |
| pending | boolean | Whether the task is still pending. |
| action | string | Human-readable description of the task action. |
| username | string | User who initiated the task. |
| state | string | Current state of the task. |
| result | string | Result of the task. |
| progress | number | Task progress as a decimal (0.0 to 1.0). |
| started_at | stringnull | |
| ended_at | stringnull | |
| humanized | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ForemanTask",
"title": "ForemanTask",
"type": "object",
"description": "An asynchronous task object returned for long-running operations such as publishing content views or uploading manifests.",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique task identifier.",
"example": "abc123"
},
"label": {
"type": "string",
"description": "Machine-readable task label.",
"example": "Example Title"
},
"pending": {
"type": "boolean",
"description": "Whether the task is still pending.",
"example": true
},
"action": {
"type": "string",
"description": "Human-readable description of the task action.",
"example": "example_value"
},
"username": {
"type": "string",
"description": "User who initiated the task.",
"example": "example_value"
},
"state": {
"type": "string",
"description": "Current state of the task.",
"enum": [
"planned",
"running",
"paused",
"stopped"
],
"example": "planned"
},
"result": {
"type": "string",
"description": "Result of the task.",
"enum": [
"pending",
"success",
"error",
"warning"
],
"example": "pending"
},
"progress": {
"type": "number",
"description": "Task progress as a decimal (0.0 to 1.0).",
"minimum": 0,
"maximum": 1,
"example": 42.5
},
"started_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"example": "2026-01-15T10:30:00Z"
},
"ended_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"example": "2026-01-15T10:30:00Z"
},
"humanized": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"input": {
"type": "array",
"items": {
"type": "string"
}
},
"output": {
"type": "string"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
},
"example": "example_value"
}
}
}