Portkey · Capability
Portkey API — Files
Portkey API — Files. 5 operations. Lead operation: List Files. Self-contained Naftiko capability covering one Portkey business surface.
What You Can Do
GET
Listfiles
— List Files
/v1/files
POST
Createfile
— Upload a file to be used across various endpoints, such as Assistant (<2M tokens), Fine-Tuning, and Batch (<100 MB). Total size of your bucket is 100 GB.
/v1/files
DELETE
Deletefile
— Delete File
/v1/files/{file-id}
GET
Retrievefile
— Returns information about a specific file.
/v1/files/{file-id}
GET
Downloadfile
— Returns the contents of the specified file.
/v1/files/{file-id}/content
MCP Tools
list-files
List Files
read-only
idempotent
upload-file-be-used-across
Upload a file to be used across various endpoints, such as Assistant (<2M tokens), Fine-Tuning, and Batch (<100 MB). Total size of your bucket is 100 GB.
delete-file
Delete File
idempotent
returns-information-about-specific-file
Returns information about a specific file.
read-only
idempotent
returns-contents-specified-file
Returns the contents of the specified file.
read-only
idempotent