---
title: "Generate Report"
method: POST
path: "/api/v1/forensic/generate-report"
tags: ["Forensic PDF Reports"]
---

# Generate Report

`POST /api/v1/forensic/generate-report`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/forensic/generate-report`
- Auth: none declared

Generate a forensic PDF report from event replay parameters.

**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

Accepts the same parameters as POST /api/v1/replay/event and
returns the forensic PDF report as a downloadable file.

Request body:
- lat (float, required): Latitude
- lon (float, required): Longitude
- event_date (str, optional): ISO date of event
- event_type (str, optional): "earthquake" (default)
- usgs_event_id (str, optional): Specific USGS event ID
- min_magnitude (float, optional): Minimum magnitude (default 3.0)
- radius_km (float, optional): Search radius (default 200)
- return_json (bool, optional): If true, return JSON metadata instead of PDF

## Query parameters

- `x_api_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
