Skip to Content
Uploads

Follow an upload

GET
/uploads/{uploadId}/events

Streams progress for an upload as server-sent events. Pass the operationId of the upload as opId.

Authorization

headerAuthorizationBearer <token>

Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.

Scope: documents:read

Path Parameters

uploadId*string
Formatuuid

Query Parameters

opId*string

Response Body

SSE snapshot frames from the authorized operation. Reconnect after disconnect; streams are bounded to 300 seconds.

response?stringtext/event-stream
Example Request
curl -X GET 'https://reader.example/api/v1/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08/events?opId=string'
Example Response
"string"