mserve
PricingAPI ReferenceStatusAPI Console
PricingAPI ReferenceStatusAPI ConsoleWelcomeQuickstartPricing
OverviewText to SpeechStreaming InputSpeech to TextCustom VoicesSpeech to SpeechHistory
Real-timeRealtime over WebSocketEmbeddingsBatch
AuthenticationBillingRate LimitsErrorsCompatibility
API Reference
Create chat completion POSTCreate completion POSTCreate embeddings POSTCreate realtime client secret POSTCreate realtime session POSTCreate response POST
Delete file DELETERetrieve batch GETList batches GETFile content GETRetrieve file GETList files GETCancel batch POSTCreate batch POSTUpload file POST
API ReferenceBatch

List files

View as MarkdownOpen in ChatGPTOpen in Claude
GET
/openai/v1/files

Query Parameters

purpose?string|null
limit?Limit
Default10000

Header Parameters

authorization?Authorization
Default""
xi-api-key?Xi-Api-Key
Default""

Response Body

application/json

application/json

curl -X GET "https://example.com/openai/v1/files"
null

Retrieve file GET

Previous Page

Cancel batch POST

Next Page