Get Import Job
Retrieve a single import job by ID. Poll this endpoint until
status reaches a terminal state (completed / failed /
cancelled).
Authentication
AuthorizationBearer
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
kb_id
import_id
Headers
Speechify-Version
Response
The import job.
id
kb_id
kind
status
The one lifecycle vocabulary shared by every async job (batch
calls, knowledge-base imports, agent-test runs, suite runs):
pending → running → a terminal state.
pending- accepted but not yet executing (queued for a worker, or deferred to a future scheduled time).running- actively executing.completed- ran to conclusion. The single terminal-success verb. For a job that produces a pass/fail judgment (an agent-test run), this means it produced a verdict - read the separateverdictfield for the judgment, not this status.failed- could not complete (an infrastructure or input failure), distinct from acompletedjob whoseverdictisfailed.cancelled- cancelled before reaching a natural terminal state.
total
Total URLs to process (the progress denominator).
completed
URLs imported successfully.
failed
URLs that failed to import.
params
JSON blob whose shape depends on kind — typically url,
max_pages, max_depth. The console reads it for display
only.
created_by_uid
created_at
updated_at
started_at
ended_at
error
upstream_job_id
Errors
401
Unauthorized Error
404
Not Found Error