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
| Kind | query |
|---|---|
| Authority | jetstream.bsky.network |
| Indexed |
Query
query · GETParameters
query stringjob
stringJob id returned by importTimestamps. When omitted, the current or most recent job is reported.
Output
application/jsonbucketed
booleanWhether Phase A+B completed (the offset files are durable).
error
stringFailure detail; present only when state is failed.
finishedAt
string · datetimePresent only for a terminal job.
Job id.
phase
stringCurrent phase: parse_bucket (Phase A+B) or apply (Phase C).
knownValues: parse_bucket | apply
rowsCorruptOffset
integerminimum: 0
rowsMatchedAllVersions
integerminimum: 0
rowsMatchedSpecific
integerminimum: 0
rowsMutated
integerminimum: 0
rowsRejected
integerminimum: 0
rowsTotal
integerminimum: 0
rowsValid
integerminimum: 0
segmentsApplied
integerSegments processed so far in Phase C.
minimum: 0
segmentsExamined
integerminimum: 0
segmentsPatched
integerminimum: 0
segmentsToApply
integerSegments Phase C will process (after resume-skips).
minimum: 0
specificCidsUnmatched
integerminimum: 0
Lifecycle state.
knownValues: running | complete | failed
submittedAt
string · datetimeErrors
JobNotFound
No import job matches the supplied id, or no job has ever run when the id is omitted.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
network.bsky.jetstream.importTimestamps
procedureSubmit 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.
-
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.