API Reference
Hanzo Registry API
Hanzo Registry provides a container image registry with vulnerability scanning,
Hanzo Registry provides a container image registry with vulnerability scanning,
bearerAuth — HTTP bearer
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://registry.hanzo.ai
| Method | Endpoint | Description |
|---|
GET | /v1/registry/projects/{name}/repositories/{repo}/artifacts | List artifacts |
GET | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest} | Get artifact |
DELETE | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest} | Delete artifact |
GET | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest}/tags | List tags |
POST | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest}/tags/{tag} | Create tag |
DELETE | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest}/tags/{tag} | Delete tag |
| Method | Endpoint | Description |
|---|
GET | /health | Health check |
| Method | Endpoint | Description |
|---|
GET | /v1/registry/projects | List projects |
POST | /v1/registry/projects | Create project |
GET | /v1/registry/projects/{name} | Get project |
PUT | /v1/registry/projects/{name} | Update project |
DELETE | /v1/registry/projects/{name} | Delete project |
| Method | Endpoint | Description |
|---|
GET | /v1/registry/quotas | List storage quotas |
| Method | Endpoint | Description |
|---|
GET | /v1/registry/projects/{name}/repositories | List repositories |
GET | /v1/registry/projects/{name}/repositories/{repo} | Get repository |
DELETE | /v1/registry/projects/{name}/repositories/{repo} | Delete repository |
| Method | Endpoint | Description |
|---|
POST | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest}/scan | Trigger vulnerability scan |
GET | /v1/registry/projects/{name}/repositories/{repo}/artifacts/{digest}/scan/report | Get scan report |
| Method | Endpoint | Description |
|---|
GET | /v1/registry/webhooks | List webhooks |
POST | /v1/registry/webhooks | Create webhook |
GET | /v1/registry/webhooks/{id} | Get webhook |
PUT | /v1/registry/webhooks/{id} | Update webhook |
DELETE | /v1/registry/webhooks/{id} | Delete webhook |
Hanzo Registry API guide · All Hanzo APIs · OpenAPI spec
How is this guide?