List Files

Supported Providers
  • OpenAI

  • TogetherAI

List Files

get
Authorizations
Query parameters
purposestringOptional

Only return files with the given purpose.

Responses
200
OK
application/json
get
curl https://api.portkey.ai/v1/files \
  -H "x-portkey-api-key: $PORTKEY_API_KEY" \
  -H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY" \
200

OK

{
  "data": [],
  "object": "list"
}

Last updated

Was this helpful?