---
title: "Report a request"
method: POST
path: "/reporting/v2/request"
tags: ["Reporting"]
---

# Report a request

`POST /reporting/v2/request`

## Request body

- CreateReportDto
  - `metadata` PromptExecutionMetadataDto, required
    - `provider` 'OpenAI' | 'Azure' | 'Anthropic', required — LLM provider
    - `client` string, required — Client name identifier
    - `clientVersion` string, required — Client version
    - `environment` string, required — The name of the Environment (case sensitive)
    - `promptId` string — The ID of the reported prompt (if managed)
  - `properties` object — Additional properties to be associated with the report
  - `request` ExecutionRequestDto, required
    - `timestamp` string, date-time, required — Request timestamp
    - `body` object, required — Raw request body, as sent to the LLM
  - `response` ExecutionResponseDto, required
    - `timestamp` string, date-time, required — Response timestamp
    - `body` object, required — Raw response body, as received from the LLM
  - `cacheEnabled` boolean — Whether caching is enabled for the report
  - `cacheHit` boolean — Whether the report was generated from a cache hit or not

## Response `200`

Report has been reported successfully

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.dev/pezzolabs/apis/pezzo-api.md) · [All operations](https://skmtc.dev/pezzolabs/apis/pezzo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pezzolabs/pezzo-api/revisions/09d1b407a7e9/schema)
