Skip to main content
GET
Get a forecast job

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string<uuid>
required

Unique identifier for a job.

Response

OK

A forecast job, started by an EXPLAIN statement.

id
string<uuid>
required

Unique identifier for the job.

company_id
integer<int64>
required

Company that ran the job.

Example:

345

created_at
string<date-time>
required

The timestamp representing when the job was created.

failures
object[]
required

causes of job failure

idempotency_key
string
required

The unique ID associated with the job.

request_source
object
required
Example:
state
enum<string>
default:pending
required
Available options:
failed,
cancelled,
completed,
pending,
scheduled,
pending_cancellation,
running
updated_at
string<date-time>
required

The timestamp representing when the job was updated.

input
object
required

The query and its compiled SQL as sent to the executor.

completed_at
string<date-time> | null

When the job finished, or null while it is still pending or running.

result
object

The forecast once the job has completed, or the failure that ended it. Null while the job is pending or running.