Hanzo AI
OpenapiPatrol

Get report

Renders a filed report as a PDF and answers with the bytes under an attachment filename.

GET /v1/patrol/report/{name}

Addresshttps://api.hanzo.ai/v1/patrol/report/{name}
MethodGET
Operationget_patrol_report_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Renders a filed report as a PDF and answers with the bytes under an attachment filename. ?format=text answers the stored text verbatim under text/plain, which is what a copy button reads.

Everyone but the customer may read every report; a client reads only a report about a site of their own, and anything else is 404 rather than a refusal, so the route is no existence oracle. A report whose text cannot be set answers that text rather than failing, because the account is the thing being asked for.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo patrol report get <name>

Patrol API · All Hanzo APIs · Interactive reference

How is this guide?

On this page