Beta
Files

Read File Content

Changed on

Get a presigned URL to download the file content.

get/api/v1/beta/files/{file_id}/content

Request

  • Base URL: https://api.cloud.llamaindex.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.cloud.llamaindex.ai/api/v1/beta/files/{file_id}/content
  • Auth: HTTP bearer

Path parameters

file_idstring uuid required

Query parameters

expires_at_secondsinteger nullable
project_idstring uuid nullable
organization_idstring uuid nullable

Cookies

sessionstring nullable

Response

Successful Response

urlstring uri required

A presigned URL for IO operations against a private file

expires_atstring date-time required

The time at which the presigned URL expires

form_fieldsobject nullable

Form fields for a presigned POST request

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status