Download Doc

Download a doc's content. Returns the raw doc bytes with appropriate Content-Type, Content-Disposition, and Content-Length headers. Doc metadata is included in custom response headers: X-Doc-Id, X-Doc-Name, X-Uploaded-At.

GET/api/v1/docs/{fileId}
X-API-Key<token>

Your SteelEngine API key (personal or workspace). Generate one from the SteelEngine dashboard under Settings > API Keys.

In: header

Path Parameters

fileId*string

The unique identifier of the doc.

Query Parameters

workspaceId*string

The unique identifier of the workspace.

Response Body

application/octet-stream

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/docs/string?workspaceId=string"
"string"