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<uuid>
required

File identifier.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$

Response

Successful response

file
File · object
required

File details.