curl --request GET \
--url https://api.openai.com/v1/files/{file_id}/content \
--header 'Authorization: Bearer <token>'
"<string>"
curl --request GET \
--url https://api.openai.com/v1/files/{file_id}/content \
--header 'Authorization: Bearer <token>'
"<string>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the file to use for this request.
OK
The response is of type string
.
Was this page helpful?