Skip to content

Stream file processing status updates

GET
/files/{fileId}/await-processing

SSE endpoint that streams processing status updates until file processing reaches a terminal state (JOB_SUCCEEDED or JOB_FAILED). Returns immediately if processing is already complete.

fileId
required

Unique identifier of the file to retrieve

string

Unique identifier of the file to retrieve

SSE stream of processing status events

Server-Sent Events stream with event types: processing-status, complete, keepalive

nullable

Bad Request - Validation error or invalid input

object
error
required
string
code
string
details
nullable
retryable
boolean

Unauthorized - Authentication required or invalid token

object
error
required
string
code
string
details
nullable
retryable
boolean

Forbidden - Insufficient permissions

object
error
required
string
code
string
details
nullable
retryable
boolean

Not Found - Resource does not exist

object
error
required
string
code
string
details
nullable
retryable
boolean