---
title: "Internal Generate Rapport"
method: POST
path: "/api/internal/generate-rapport"
tags: ["Rapport Config"]
---

# Internal Generate Rapport

`POST /api/internal/generate-rapport`

## Request

- Base URL: `https://api.dataroia.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataroia.com/api/internal/generate-rapport`
- Auth: none declared. Required headers: `X-Internal-Secret`

## Headers

- `X-Internal-Secret` string, required

## Request body

- GenerateRapportPayload
  - `user_id` integer, required
  - `report_type` string, nullable
  - `client_data` object, nullable
  - `audit_data` object, nullable
  - `quality_reports` object, nullable
  - `cross_kpis` object, nullable
  - `client_context` object, nullable
  - `previous_scores` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataroia/apis/dataroia-api.md) · [All operations](https://skmtc.dev/dataroia/apis/dataroia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataroia/apis/dataroia-api/revisions/e3c92fa296be?raw)
