Claude · Files

List files

List files in the selected rental, newest first.

GET/v1/files

01

Request

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

Query parameters

limitinteger1–1,000 results; defaults to 20.
after_idstringContinue after an ID from the previous page.
before_idstringRetrieve the preceding page. Use only one cursor.

02

Response

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