Portkey Docs home page
Search or ask...
Sign in →
Support
Get Demo
Github
Sign in →
Search...
Navigation
Files
Delete File
Documentation
Integrations
Inference API
Admin API
Cookbook
Changelog
API Reference
Introduction
Authentication
Headers
Supported Providers
SDKs
API Details
Chat Completions
POST
Chat
Portkey Prompts
POST
Prompt Completions
POST
Prompt Render
Embeddings
POST
Embeddings
Images
POST
Create Image
POST
Create Image Edit
POST
Create Image Variation
Audio
POST
Create Speech
POST
Create Transcription
POST
Create Translation
Other APIs
Gateway to Other APIs
Completions
POST
Completions
Moderations
POST
Moderations
Fine-tuning
POST
Create Fine-tuning Job
GET
List Fine-tuning Jobs
GET
Retrieve Fine-tuning Job
GET
List Fine-tuning Events
GET
List Fine-tuning Checkpoints
POST
Cancel Fine-tuning
Batch
POST
Create Batch
GET
List Batch
GET
Retrieve Batch
POST
Cancel Batch
Files
POST
Upload File
GET
List Files
GET
Retrieve File
GET
Retrieve File Content
DEL
Delete File
Assistants
Assistants
Threads
Messages
Runs
Run Steps
Files
Delete File
DELETE
/
files
/
{file_id}
Send
Authorization
x-portkey-api-key
string
*
x-portkey-api-key
Required
string
x-portkey-virtual-key
string
*
x-portkey-virtual-key
Required
string
Path
file_id
string
*
file_id
Required
string
The ID of the file to use for this request.
Authorizations
Portkey Key & Virtual Key
Portkey Key & Provider Auth & Provider Name
Portkey Key & Config
Portkey Key & Provider Auth & Provider Name & Custom Host
x-portkey-api-key
string
header
required
x-portkey-virtual-key
string
header
required
Path Parameters
file_id
string
required
The ID of the file to use for this request.
Response
200 - application/json
id
string
required
object
enum<string>
required
Available options:
file
deleted
boolean
required
Was this page helpful?
Yes
No
Retrieve File Content
Create Assistant