Files

Retrieve file

get/v1/files/{file_id}

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1/files/{file_id}
  • Auth: HTTP bearer

Path parameters

file_idstring required

Headers

anthropic-betastring

Include files-api-2025-04-14 to use Anthropic Files API mode.

Response

File metadata

OR

Example response

{
  "id": "file-abc123",
  "bytes": 1234,
  "created_at": 1741339200,
  "filename": "batch.jsonl",
  "status": "processed",
  "expires_at": 1741425600
}

Changes

No recorded changes to this operation across all 1 revision of this API.