Files

Download file as base64

Returns the file content encoded as base64

get/v1/projects/{project_id}/files/{file_id}/download/base64

Request

  • Base URL: https://api.naturali.ai
  • URL: https://api.naturali.ai/v1/projects/{project_id}/files/{file_id}/download/base64
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)

Path parameters

file_idstring required

File ID

Query parameters

tokenstring

Signed single-file download token, an alternative to a bearer credential (issued for ingestion-rule converters).

Response

File content as base64

contentstring

Base64-encoded file content

filenamestring

Original filename

content_typestring

MIME type of the file

sizeinteger nullable

File size in bytes

Changes

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