Hanzo AI
OpenapiFunctions

List functions

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[].avgDurationMsbodynumber—mean wall-clock of those runs
functions[].createdAtbodystring—when it was first published
functions[].endpointbodystring—the path that invokes it
functions[].envCountbodyinteger—how many secret NAMES it mounts; values are never carried
functions[].environmentbodystring—the language it runs under
functions[].errors7dbodyinteger—how many of those runs failed
functions[].imagebodystring—the prebuilt image it runs, when it runs one instead of source
functions[].invocations7dbodyinteger—runs in the last 7 days; ABSENT, never 0, when it has not run
functions[].lastDeployedAtbodystring—when its code last changed
functions[].memoryLimitbodystring—the memory it runs with, and the multiplier on its compute charge
functions[].namebodystring—the function's org-unique handle
functions[].namespacebodystring—the display group it belongs to; the org is the isolation key
functions[].statusbodystring—whether it is ready to serve
functions[].successRatebodynumber—share of those runs that succeeded, 0..1
functions[].targetbodystring—where it runs: empty for the sandbox, "fleet" for the org's GPU fleet
functions[].timeoutSecbodyinteger—its 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