GET
/
v1
/
files
/
{id}
curl --request GET \
  --url https://api.botpress.cloud/v1/files/{id}
{
  "file": {
    "id": "<string>",
    "botId": "<string>",
    "key": "<string>",
    "url": "<string>",
    "size": 123,
    "contentType": "<string>",
    "tags": {},
    "metadata": {},
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "accessPolicies": [
      "integrations"
    ],
    "index": true,
    "status": "upload_pending",
    "failedStatusReason": "<string>",
    "expiresAt": "<string>"
  }
}

Path Parameters

id
string
required

File ID or Key

Response

200
application/json
An object containing the file metadata and URL
file
object
required