Skip to main content
GET
Get Knowledge Status

Authorizations

Authorization
string
header
required

Your Nugen API key, sent as a Bearer token

Path Parameters

document_id
string
required

ID of the knowledge item, returned when it was added

Response

Returns the upload and processing status of a knowledge document: QUEUED, PROCESSING, READY or FAILED, with the document_id once READY, and timestamps.

Processing status of one knowledge item.

status
enum<string>
required

Current processing status

Available options:
CREATED,
QUEUED,
PROCESSING,
READY,
FAILED,
STOPPED
Example:

"READY"

document_id
string | null

document_id once processing is READY; null while still processing or if failed

Example:

"document_01k4x9m2p7q3r5sa"

created_at
string<date-time> | null

Timestamp when the knowledge item was created

completed_at
string<date-time> | null

Timestamp when processing completed; null while still running

updated_at
string<date-time> | null

Timestamp of the last status change

progress
number | null

Completion progress, 0.0 to 100.0. Not wired up yet, always null.

eta_seconds
integer | null

Estimated seconds until completion. Populated for QUEUED and PROCESSING jobs.

eta_start
string<date-time> | null

Estimated time the job will start processing.

eta_completion
string<date-time> | null

Estimated time the job will complete.