Logs
Report
Record request logs from OpenAI models
POST
/
report
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
requestedAt
number
Unix timestamp in milliseconds
receivedAt
number
Unix timestamp in milliseconds
reqPayload
any
JSON-encoded request payload
respPayload
any
JSON-encoded response payload
statusCode
number
HTTP status code of response
errorMessage
string
User-friendly error message
tags
object
DEPRECATED: use "reqPayload.metadata" to attach extra metadata tags to the call for filtering. Eg { "userId": "123", "prompt_id": "populate-title" }
Response
200 - application/json
status
required
Available options:
ok