CLIFunctions
Functions
11 `hanzo` commands for Functions, each calling one operation on api.hanzo.ai.
Package functions is your serverless code: publish it, call it over HTTP, watch every run and what it cost.
11 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo functions invocations <name> | GET /v1/functions/{name}/invocations | Is one function's past runs, newest first — each with its status, HTTP code, method, time and duration. |
hanzo functions invoke <name> | POST /v1/functions/{name}/invoke | Runs a function and records a REAL invocation. |
hanzo functions logs <name> | GET /v1/functions/{name}/logs | Is the output of a function's most recent run — its error text when that run failed, else what it printed. |
hanzo functions get <name> | GET /v1/functions/{name} | Is one function with everything a detail page needs in one round-trip: its definition, its 7-day rollup, its trigger,… |
hanzo functions rm <name> | DELETE /v1/functions/{name} | Removes one of the caller org's functions and answers 204. |
hanzo functions deployments | GET /v1/functions/deployments | Is what is live right now — each function's current record IS its live deployment, so this is the deployment inventory. |
hanzo functions metrics | GET /v1/functions/metrics | Is the org's serverless dashboard over a window: a per-function invocation costLine and how those invocations ended. |
hanzo functions secrets | GET /v1/functions/secrets | Is the NAMES of the secrets the caller org's functions mount. |
hanzo functions triggers | GET /v1/functions/triggers | Is what calls the caller org's functions — one row per function. |
hanzo functions list | GET /v1/functions | Is every serverless function the caller's org has published, each with its real 7-day rollup. |
hanzo functions create --name <name> | POST /v1/functions | Publishes a serverless function under the caller's org and answers 201 with it. |
How is this guide?