curl --request POST \
  --url https://api.pezzo.ai/api/reporting/v2/request \
  --header 'Content-Type: application/json' \
  --data '{
  "metadata": {
    "provider": "OpenAI",
    "client": "pezzo-ts",
    "clientVersion": "0.4.11",
    "environment": "Production",
    "promptId": "c41jd0s93j000ud7kg7vekhi3"
  },
  "properties": {
    "userId": "someUserId",
    "traceId": "traceId"
  },
  "request": {
    "timestamp": "2021-01-01T00:00:00.000Z",
    "body": {}
  },
  "response": {
    "timestamp": "2021-01-01T00:00:00.000Z",
    "body": {}
  },
  "cacheEnabled": false,
  "cacheHit": false
}'

Body

application/json

Response

200

Report has been reported successfully