Skip to main content
POST
Trigger a health check

Authorizations

Authorization
string
header
required

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

Path Parameters

data_plane_id
string<uuid>
required

Body

application/json
compute_pool_id
string<uuid>

Optional compute pool to target for the health check. If omitted, the data plane's default compute pool is used.

Response

Created

A job. Every job carries the same envelope of fields — see JobBase — but input and result hold job-type-specific payloads, so the response is a union over type: pick the branch whose type matches and you get the typed input and result for that kind of job.

The union is open on purpose. The server stores input and result as arbitrary JSON and never constrains their shape, so a job type this spec version does not describe — or an old row written before the current shapes existed — lands in OtherJobResponse, where both fields stay free-form. Treat the typed branches as a description of what the API sends today, not as a rule it enforces. No branch closes itself to extra properties, and new job types can appear without a spec change.

result is null in every branch until the job reaches a terminal state.

job_id
string<uuid>
required

Unique identifier for the job.

company_id
integer
required

The company the job belongs to.

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

Which operator runs the job, e.g. materialized-view-refresh or datasets_execute_select. Finer-grained than type.

tags
string[]
required

Free-form labels attached to the job.

executor
string | null
required

The internal job executor tied to the job. Null until an executor picks the job up.

execution_cluster
enum<string>
required

The type of the execution cluster to run the job on.

  • dedicated runs job on a dedicated cluster.
  • shared runs job on a shared cluster.
Available options:
dedicated,
shared
idempotency_key
string
required

The unique ID associated with the job.

created_at
string<date-time>
required

The timestamp representing when the job was created.

updated_at
string<date-time>
required

The timestamp representing when the job was updated.

attempted_at
string<date-time>
required

When the job's current attempt started. A job can be retried; each retry is a new attempt, so this advances to the latest one, while created_at stays at the original submission.

attempt_version
integer
required

Which attempt this is: 1 for the first, increasing by one on each retry.

ended_at
string<date-time> | null
required

The timestamp representing when the job finished. Null until the job reaches a terminal state.

type
enum<string>
required
Available options:
materialize-view
input
object
required
Example:
result
object | null
required
Example:
data_plane_id
string<uuid> | null

The data plane the job runs on. Null for jobs not pinned to one.

compute_pool_id
string<uuid> | null

The compute pool associated with the job, if any.

dequeued_at
string<date-time> | null

When the job was taken off the queue. Null while it is still queued.

workflow_id
string<uuid> | null

The id of the workflow that enqueued the job. Null for jobs not enqueued by a workflow.

workflow_run_id
string<uuid> | null

The id of the workflow run that enqueued the job. Null for jobs not enqueued by a workflow run.