Skip to main content
GET
/
ai
/
files
/
{uuid}
Get file
curl --request GET \
  --url https://api.getcargo.io/v1/ai/files/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "file": {
    "uuid": "<string>",
    "workspaceUuid": "<string>",
    "userUuid": "<string>",
    "name": "<string>",
    "isTemporary": true,
    "folderUuid": "<string>",
    "s3Filename": "<string>",
    "openAiFileId": "<string>",
    "contentType": "<string>",
    "size": 123,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "deletedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string
required

Resource UUID

Response

Successful response

file
File · object
required

File details.