files

Returns information about a specific file. that can be used across - Assistants API, Batch API This is the equivalent of GET https://api.openai.com/v1/files/{file_id}

Supports Identical Params as: https://platform.openai.com/docs/api-reference/files/retrieve

Example Curl

curl http://localhost:4000/v1/files/file-abc123         -H "Authorization: Bearer sk-1234"

get/v1/files/{file_id}

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/v1/files/{file_id}
  • Auth
    API key in header x-litellm-api-key

Path parameters

file_idstring required

Query parameters

providerstring nullable

Response

Successful Response

unknown required

Changes

    • info

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

    • info

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