
🇺🇸 English

🇺🇸 English
- Chat Models
- Chat
- OpenAI-Realtime
- Completions
- Audio
- Image generation
- Embeddings
- Models
- Help
- Anthropic
- Suno
- Udio
- Midjourney API
- Flux
- Recraft
- Ideogram
- Luma
- Runway
- Kling-API
- Replicate
- MiniMax
Get file
GET
/v1/files/retrieve
Last modified:2025-02-05 11:37:52
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
file_id
string
optional
Example:
208902546772114
task_id
string
optional
Header Params
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/files/retrieve?file_id=208902546772114&task_id' \
--header 'Authorization: '
Responses
🟢200成功
application/json
Body
object {0}
Example
{}