Skip to main content
GET /v1/files/{file_id}/content Returns the content of a file. The response streams the file directly and includes the original filename in the Content-Disposition header.

Path Parameters

ParameterTypeRequiredDescription
file_idstringYesThe ID of the file to use.

Example Request

curl https://api.gravixlayer.com/v1/files/file-abc123def456/content \
  -H "Authorization: Bearer $GRAVIXLAYER_API_KEY" \
  -o downloaded_file.jsonl

Response

The raw content of the specified file.
I