Hanzo
OpenapiProjects

Get a PNG of the project's live site

Returns a screenshot of what this project currently serves, as image/png.

GET /v1/projects/{slug}/shot

Addresshttps://api.hanzo.ai/v1/projects/{slug}/shot
MethodGET
Operationget_projects_by_slug_shot
AuthAuthorization: Bearer $HANZO_API_KEY

Returns a screenshot of what this project currently serves, as image/png. The capture is keyed by the deployment, so a redeploy invalidates it by construction rather than by anyone remembering to clear a cache. A project with nothing deployed answers 404 — that is a 404 about the PICTURE and not about the project, which is still right there in the list. Scoped to the caller's org: a validated principal is required, and a slug belonging to another org is not found rather than forbidden.

Request

1 field.

FieldInTypeRequiredDescription
slugpathstringyes

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 has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Projects API · All Hanzo APIs · Interactive reference

How is this guide?

On this page