Log Exports [BETA]
Create a Log Export
POST
/
logs
/
exports
Authorizations
x-portkey-api-key
string
headerrequiredBody
application/json
filters
object
requiredrequested_data
enum<string>[]
requiredAvailable options:
id
, trace_id
, created_at
, request
, response
, is_success
, ai_org
, ai_model
, req_units
, res_units
, total_units
, request_url
, cost
, cost_currency
, response_time
, response_status_code
, mode
, config
, prompt_slug
, metadata
workspace_id
string
Response
200 - application/json
id
string
requiredThe unique identifier of the updated export
total
integer
requiredThe total number of items in the export
object
enum<string>
requiredThe type of the object
Available options:
export
Was this page helpful?