POST
/
logs

The log object comprises of 3 parts:

PartAccepted Values
requesturl, provider, headers, method (defaults to post), and body
responsestatus (defaults to 200), headers, body, time (response latency), and streamingMode (defaults to false), response_time
metadataorganization, user, tracing info (traceId, spanId, spanName, parentSpanId), and any key:value pair

Authorizations

x-portkey-api-key
string
header
required

Body

application/json
request
object
required
response
object
required
metadata
object