Skip to main content
GET
Get the status of a load

Authorizations

Authorization
string
header
required

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

Path Parameters

database
string
required

The database the load writes to.

Query Parameters

table
string

The table whose load to follow. Give table or plan; with neither, the request is refused with 400.

plan
string

The plan to follow instead: the id a POST naming no table was answered with. When given, table is ignored.

Response

With ?table=: the status of that table's load. With ?plan=: the plan, in the shape its POST was answered with.

What a status request is answered with (200): a table's load for ?table=, a plan for ?plan=.

job
string
required

The load's name.

request
object
required

The request the load was started with.

started_ms
integer<int64>
required

When the load was accepted, in milliseconds since the Unix epoch.

Required range: x >= 0
state
enum<string>
required

Where the load stands.

Available options:
admitting,
pending,
running,
cancelling,
stopped,
succeeded,
synced,
failed,
unknown
updated_ms
integer<int64>
required

When the load's status last changed, in milliseconds since the Unix epoch.

Required range: x >= 0
error
string | null

Why the load failed or stopped, or what it is waiting for; absent when there is nothing to say.

host
object

The embedding capacity the load runs on, while it waits for it.

offered_again_ms
integer<int64> | null

When the service starts the load again, for a load stopped so, in milliseconds since the Unix epoch: with parts, the earliest of its parts'. Absent for any other.

Required range: x >= 0
parts
object[]

Each part's share when the load runs in several parts, in index order; empty for a load in one. progress above is the sum.

progress
null | object

How far the load has got; absent until it first reports.

queue
null | object

Where the load stands in the shared queue while it waits there; absent once it runs, and for an account with capacity of its own.

ready_ms
integer<int64> | null

When the table the load filled was ready to be queried, in milliseconds since the Unix epoch: the moment the load succeeded, or once work the service does on a loaded table afterwards is done. The notice the request asked for goes then too. Absent until then, and for a load that did not succeed.

Required range: x >= 0
schema
null | object

The column names and roles the load settled on; absent until it has.

stopped_for
null | enum<string>

Why the service stopped the load, when it will start it again by itself: the load waits for that, not for a resume. With parts, the first such part's. Absent for a load that failed or is being cleared.

Available options:
lost_on_agents,
unknown
sync
null | object

How the table is kept matching its source, for a table loaded with sync; absent for any other.

unmatched_paths
integer

How many files under the source the request's path_columns did not match, which no row came from; absent when none.

Required range: x >= 0
usage
object

What the load has been billed so far.