Hanzo AI
OpenapiFunction

List secrets

Is the NAMES of the secrets the caller org's functions mount.

GET /v1/function/secrets

Addresshttps://api.hanzo.ai/v1/function/secrets
MethodGET
Operationget_function_secrets
AuthAuthorization: Bearer $HANZO_API_KEY

Is the NAMES of the secrets the caller org's functions mount.

Values are NEVER read or returned — this surface knows which names a function asks for and nothing about what is behind them, which is what makes it safe to list at all. One row per distinct (namespace, name).

Request

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

Response

StatusBodyMeaning
200function.secretListok
defaultproblem-detailsrefused

200 body — 4 fields.

FieldInTypeAlwaysDescription
secretsbodyfunction.secretView[]Secrets is one row per distinct (namespace, name) a function mounts.
secrets[].mountedBybodystringMountedBy is a function that mounts it.
secrets[].namebodystringName is the environment variable the function mounts.
secrets[].namespacebodystringNamespace is the group the mounting function belongs to.

Failure carries the platform error shape — see Errors.

Examples

hanzo function secrets

Function API · All Hanzo APIs · Interactive reference

How is this guide?

On this page