Claude · Files

Download a file

Download uploaded or generated file bytes.

GET/v1/files/{file_id}/content

01

Request

curl -X GET https://scraping.loci.lat/v1/files/{file_id}/content \
  -H "X-API-Key: $LOCI_API_KEY" \
  -H "X-Loci-Account-Id: 1"

Path parameters

file_idstringThe file ID in this rental.

02

Response

The response contains the file’s bytes.

The response body contains file bytes with Content-Type and an attachment filename. Send the same authentication and rental selector used when creating the file.