Claude · Files

Get file metadata

Retrieve a file’s name, type, size and download availability.

GET/v1/files/{file_id}

01

Request

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

Path parameters

file_idstringAn ID returned by Upload a file or List files.

02

Response

{
  "id": "file_11111111111141118111111111111111",
  "type": "file",
  "filename": "report.pdf",
  "mime_type": "application/pdf",
  "size_bytes": 2048,
  "created_at": "2026-10-17T10:00:00Z",
  "downloadable": true
}