GET
/
files
/
{file_id}
Retrieve file
curl --request GET \
  --url https://api.anyapi.ai/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "file",
  "bytes": 123,
  "created_at": 123,
  "filename": "<string>",
  "purpose": "<string>",
  "status": "uploaded",
  "status_details": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Path Parameters

file_id
string
required

The ID of the file to use for this request

Response

200
application/json

Successful response

The response is of type object.