cURL
curl --request GET \ --url https://api.example.com/v1/projects/{project_id}/files/{file_id}/stream \ --header 'x-api-key: <api-key>' \ --header 'x-selected-account-id: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Stream the raw byte content of a file directly.
This endpoint provides direct access to the raw byte content of a file, making it suitable for streaming applications where the client might not be able to access the blob storage URL directly.
API key for authentication
Selected Account ID
Successful Response