---
title: "Generate Report"
method: POST
path: "/v1/public/clients/{client_id}/reports/generate"
tags: ["public"]
---

# Generate Report

`POST /v1/public/clients/{client_id}/reports/generate`

Start backend report creation from a template ID and note IDs. If the template contains prompt nodes, the backend generates those sections from the supplied notes. If the template contains no prompt nodes, the backend saves the template content directly as a report. The response returns a job_id immediately; poll GET /v1/public/jobs/{job_id} until the job completes.

## Path parameters

- `client_id` integer, required

## Request body

- ExternalGenerateReportInput
  - `template_id` string, required
  - `note_ids` string[], required
  - `title` string, nullable

## Response `200`

Successful Response

- ExternalJobQueuedResponse
  - `job_id` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-16** `7c3f23f9725e` — 1 breaking, 4 info
  - the response's body type changed from no type to `object` for status `200`
  - api operation id `generate_report_v1_external_clients__client_id__reports_generate_post` removed and replaced with `generate_report_v1_public_clients__client_id__reports_generate_post`
  - api tag `public` added
  - api tag `external` removed
  - …1 more
- **2026-03-16** `5af820fa3cab` — 1 info
  - endpoint added
- **2026-03-16** `9695d93a926b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/everbility/apis/everbility-public-api/changes/v1/public/clients/:client_id/reports/generate/post.md)

---

[API](https://skmtc.dev/everbility/apis/everbility-public-api.md) · [All operations](https://skmtc.dev/everbility/apis/everbility-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/everbility/everbility-public-api/revisions/0d4efb7914d1/schema)
