API Reference
Hanzo Projects API
Org-scoped control plane for buildable/deployable static sites (hanzoai/cloud projects).
Org-scoped control plane for buildable/deployable static sites (hanzoai/cloud projects).
Hanzo Projects API · All API references →
| Base URL | https://api.hanzo.ai |
| Version | 1.0.0 |
| Operations | 10 |
Authentication
BearerAuth— HTTP bearer
All Hanzo APIs share one bearer credential and common error and pagination conventions. See API conventions.
curl -H "Authorization: Bearer $HANZO_API_KEY" https://api.hanzo.aiEndpoints
Deployments
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/projects/{slug}/deploy | Deploy a project live |
GET | /v1/projects/{slug}/deployments | List deployments for a project |
GET | /v1/projects/{slug}/deployments/{id} | Get a deployment |
POST | /v1/projects/{slug}/deployments/{id}/complete | CI completion hook for a git deployment |
Projects
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/projects | List projects |
POST | /v1/projects | Create a project |
POST | /v1/projects/fork | Fork a starter template into a new project |
GET | /v1/projects/{slug} | Get a project |
PATCH | /v1/projects/{slug} | Update a project |
DELETE | /v1/projects/{slug} | Delete a project |
How is this guide?