Skip to main content
GET
The file_id is generated by AI21 when you upload the file.

Path Parameters

string
The unique ID of the file to retrieve.

Responses

Response 200

A successful response returns metadata about the requested file.
string
The file ID.
string
The file name.
int
File size in bytes.
string
File creation timestamp.
array
Labels assigned to the file
int
Error code, if any.
string
Error message, if any.

Response 422

No matching ID is found.