GET
/
files
/
{file_id}
/
content
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
"<string>"

Authorizations

x-portkey-api-key
string
header
required
x-portkey-virtual-key
string
header
required

Path Parameters

file_id
string
required

The ID of the file to use for this request.

Response

200 - application/json
OK

The response is of type string.