Skip to main content
GET
/
v2
/
files
/
{file_id}
Core - Retrieve file metadata
curl --request GET \
  --url 'https://api.orq.ai/v2/files/file_01HZXW2K7Y8Q9M0N1P2R3S4T5V' \
  --header 'Authorization: Bearer $ORQ_API_KEY'
{
  "file": {
    "file_id": "<string>",
    "file_name": "<string>",
    "bytes": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "project_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

File ID to retrieve.

Response

200 - application/json

OK

file
object
required

Requested file metadata.