Job Object
Description
Represents a background job for processing tasks like exports, imports, or bulk operations.
Declaration
type Job {
_id: ID!
type: String!
created: Date
user: UserReference
task: JobTask
options: JSON
optionsAsString: String
status: JobStatus!
hidden: Boolean
results: JobResults
completion: Float
}
Fields
| Name | Type | Description |
|---|---|---|
_id | ID! | Internal database identifier. |
type | String! | Job type identifier (task name). |
created | Date | Date when the job was created. |
user | UserReference | User who initiated the job. |
task | JobTask | Task information including path and name. |
options | JSON | Job options as JSON data. |
optionsAsString | String | Human-readable string representation of job options. |
status | JobStatus! | Current status of the job. |
hidden | Boolean | Whether the job is hidden from the default view. |
results | JobResults | Job results (available when status is complete or failed). |
completion | Float | Completion percentage (0-100). |