DocsREST APIgRPCPricingConsole
Inference API
Overview
Chat
Chat completions
Create new response
Retrieve previous response
Delete previous response
Get deferred chat completions
Images
Image generation
Image edit
new
Videos
new
Video generation
new
Video edit
new
Get video generation results
new
Models
List models
Get model
List language models
Get language model
List image generation models
Get image generation model
Batches
new
Create a new batch
new
List batches
new
Get batch
new
List batch requests in a batch
new
Add batch requests to a batch
new
Get processing results of a batch
new
Cancel processing on a batch
new
Other
API key
Tokenize text
Legacy & Deprecated
Completions (legacy)
Messages (Anthropic - deprecated)
Completions (Anthropic - deprecated)
Collections API
Overview
Collection Management
Create a collection
List all collections
Get metadata of a collection
Delete a collection
Update a collection's configuration
Add existing document to a collection
List documents in a collection
Retrieve document metadata
Regenerate indices for given document
Remove document from a collection
Batch get document's metadata
Search in Collections
Search content in a collection
Files API
Overview
Upload
Upload a file
Batch upload files
Complete a batch upload
Initialize a file upload
Upload a file in chunks
Manage
List files
Get file metadata
Update a file's metadata or content
Delete a file
Download
Download a file
Management API
Overview
Using Management API
Accounts and Authorization
Create an API key
List API keys
Update an API key
Delete an API key
Check API key propagation
List models
List possible endpoint ACL values
Validate management key
Billing Management
Get billing information
Set billing information
List Invoices
List payment methods
Set default payment method
Preview postpaid invoice of the month
Get monthly postpaid spending limits
Set monthly postpaid spending limits
List prepaid credit balance and balance changes
Top up prepaid credit
Get historical usage of the API
Audit Logs
new
List audit events
Loading...

Files API

Download


Download a file

/v1/files:download