Logs
Insert a Log
Submit one or more log entries
POST
/
logs
The log object comprises of 3 parts:
Part | Accepted Values |
---|---|
request | url , provider , headers , method (defaults to post ), and body |
response | status (defaults to 200), headers , body , time (response latency), and streamingMode (defaults to false) |
metadata | organization , user , tracing info (traceId , spanId , spanName , parentSpanId ), and any key:value pair |
Authorizations
x-portkey-api-key
string
headerrequiredBody
application/json
request
object
requiredresponse
object
requiredmetadata
object
Was this page helpful?