resources/files/methods/content/index.md +0 −23 deleted
File Deleted View Diff
1## Retrieve file content
2
3**get** `/files/{file_id}/content`
4
5Returns the contents of the specified file.
6
7### Path Parameters
8
9- `file_id: string`
10
11### Example
12
13```http
14curl https://api.openai.com/v1/files/$FILE_ID/content \
15 -H "Authorization: Bearer $OPENAI_API_KEY"
16```
17
18### Example
19
20```http
21curl https://api.openai.com/v1/files/file-abc123/content \
22 -H "Authorization: Bearer $OPENAI_API_KEY" > file.jsonl
23```