Hanzo
OpenapiFunctions

Is every serverless function the caller's org has published, each with its real…

Is every serverless function the caller's org has published, each with its real 7-day rollup.

GET /v1/functions

Addresshttps://api.hanzo.ai/v1/functions
MethodGET
Operationget_functions
AuthAuthorization: Bearer $HANZO_API_KEY

Is every serverless function the caller's org has published, each with its real 7-day rollup.

A row carries the function's runtime, resource limits, deployment target and its invoke endpoint, plus envCount — how many secrets it mounts. The rollup fields are ABSENT rather than zero when the function has not run in the window, so a console renders "—" instead of a fabricated 0.

Requires a validated principal; the listing is scoped to its org.

Request

GET /v1/functions takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200fnListok

200 body — 17 fields.

FieldInTypeAlwaysDescription
functionsbodyfunctionView[]Functions is one row per published function.
functions[].avgDurationMsbodynumbermean wall-clock of those runs
functions[].createdAtbodystringwhen it was first published
functions[].endpointbodystringthe path that invokes it
functions[].envCountbodyintegerhow many secret NAMES it mounts; values are never carried
functions[].environmentbodystringthe language it runs under
functions[].errors7dbodyintegerhow many of those runs failed
functions[].imagebodystringthe prebuilt image it runs, when it runs one instead of source
functions[].invocations7dbodyintegerruns in the last 7 days; ABSENT, never 0, when it has not run
functions[].lastDeployedAtbodystringwhen its code last changed
functions[].memoryLimitbodystringthe memory it runs with, and the multiplier on its compute charge
functions[].namebodystringthe function's org-unique handle
functions[].namespacebodystringthe display group it belongs to; the org is the isolation key
functions[].statusbodystringwhether it is ready to serve
functions[].successRatebodynumbershare of those runs that succeeded, 0..1
functions[].targetbodystringwhere it runs: empty for the sandbox, "fleet" for the org's GPU fleet
functions[].timeoutSecbodyintegerits per-invocation deadline

Failure carries the platform error shape — see Errors.

Examples

hanzo functions list

Functions API · All Hanzo APIs · Interactive reference

How is this guide?

On this page