Hanzo AI
OpenapiFunction

List function

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

GET /v1/function

Addresshttps://api.hanzo.ai/v1/function
MethodGET
Operationget_function
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/function takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200function.fnListok
defaultproblem-detailsrefused

200 body — 17 fields.

FieldInTypeAlwaysDescription
functionsbodyfunction.functionView[]Functions is one row per published function.
functions[].avgDurationMsbodynumber (double)mean wall-clock of those runs
functions[].createdAtbodystringwhen it was first published
functions[].endpointbodystringthe path that invokes it
functions[].envCountbodyinteger (int64)how many secret NAMES it mounts; values are never carried
functions[].environmentbodystringthe language it runs under
functions[].errors7dbodyinteger (int64)how many of those runs failed
functions[].imagebodystringthe prebuilt image it runs, when it runs one instead of source
functions[].invocations7dbodyinteger (int64)runs 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[].successRatebodynumber (double)share of those runs that succeeded, 0..1
functions[].targetbodystringwhere it runs: empty for the sandbox, "fleet" for the org's GPU fleet
functions[].timeoutSecbodyinteger (int64)its per-invocation deadline

Failure carries the platform error shape — see Errors.

Examples

hanzo function list

Function API · All Hanzo APIs · Interactive reference

How is this guide?

On this page