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

Retrieve file

View as MarkdownOpen in ChatGPTOpen in Claude
GET
/openai/v1/files/{file_id}

Path Parameters

file_id*File Id

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/string"
null

File content GET

Previous Page

List files GET

Next Page