Skip to main content
https://.thoughtindustries.com

Jobs

List jobs

GEThttps://example.thoughtindustries.com/incoming/v2/jobs/:id

Returns the details of a background job by its unique identifier.

Example request

curl "https://example.thoughtindustries.com/incoming/v2/jobs/:id" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
iduuidYespathThe unique identifier of the background job to retrieve.

Example response

{
  "data": {
    "APIBackgroundJob": {
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "string",
      "description": "string",
      "errorMessage": "string",
      "createdAt": "2024-01-01T00:00:00.000Z",
      "repeatable": true,
      "status": "complete"
    }
  }
}

Response fields

FieldTypeDescription
iduuidUnique identifier of the background job.
typestringThe category or kind of background job.
descriptionstringHuman-readable summary of what the job does.
errorMessagestringError details if the job failed; empty or absent when the job succeeded.
createdAtISO 8601 timestampDate and time the job was created, in ISO 8601 format.
repeatablebooleanIndicates whether the job is scheduled to run more than once.
statusBackgroundJobStatusCurrent execution state of the job (e.g., complete).