Retrieve File Content
Authorizations
Path parameters
file_idstringRequired
The ID of the file to use for this request.
Responses
200
OK
application/json
Responsestring
get
curl https://api.portkey.ai/v1/files/file-abc123/content \
-H "x-portkey-api-key: $PORTKEY_API_KEY" \
-H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY" > file.jsonl
200
OK
text
Last updated
Was this helpful?