network.bsky.jetstream.getImportStatus

Report the status of a timestamp-import job: lifecycle state, current phase, per-phase progress, and (on completion) the parse/mutation totals. With no job parameter, reports the current or most recent job. Bearer-token gated: without a configured token the endpoint always returns 401.

Details · query
Kindquery
Authorityjetstream.bsky.network
Indexed

Query

query · GET

Parameters

query string

job

string

Job id returned by importTimestamps. When omitted, the current or most recent job is reported.

Output

application/json

bucketed

boolean

Whether Phase A+B completed (the offset files are durable).

error

string

Failure detail; present only when state is failed.

finishedAt

string · datetime

Present only for a terminal job.

job

requiredstring

Job id.

phase

string

Current phase: parse_bucket (Phase A+B) or apply (Phase C).

  • knownValues: parse_bucket | apply
  • minimum: 0
  • minimum: 0
  • minimum: 0
  • minimum: 0
  • minimum: 0

rowsTotal

integer
  • minimum: 0

rowsValid

integer
  • minimum: 0

Segments processed so far in Phase C.

  • minimum: 0
  • minimum: 0
  • minimum: 0

Segments Phase C will process (after resume-skips).

  • minimum: 0
  • minimum: 0

state

requiredstring

Lifecycle state.

  • knownValues: running | complete | failed

submittedAt

string · datetime

Errors

JobNotFound

No import job matches the supplied id, or no job has ever run when the id is omitted.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Submit a timestamp-import job. The referenced CSV is staged server-local out-of-band and named by a path confined to the server's configured import directory (paths escaping it via .. or a symlink are rejected). The job runs asynchronously and shares the segment-rewrite lock with delete-compaction, so only one import runs at a time; a concurrent submit is rejected. Bearer-token gated: without a configured token the endpoint always returns 401.

  • town.delve.video.getUploadStatus

    query not from the namespace authority

    Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions.