API ReferenceFiles

Download file content

GET
/v1/files/{file_id}/content

Downloads an uploaded input file or an output file returned by a run. The response uses the file's stored media type.

Authorization

bearerAuth
AuthorizationBearer <token>

Send a SimpleServe API key as Authorization: Bearer <key>.

In: header

Path Parameters

file_id*string
Match^file_[A-Za-z0-9]+$

Response Body

application/octet-stream

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/files/string/content"
"string"