Hanzo
OpenapiFunctions

Is what calls the caller org's functions — one row per function.

Is what calls the caller org's functions — one row per function.

GET /v1/functions/triggers

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

Is what calls the caller org's functions — one row per function.

Every function has exactly one trigger today, its HTTP invoke endpoint, so this is the function list read as "how is each of these reached".

Request

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

Response

StatusBodyMeaning
200triggerListok

200 body — 7 fields.

FieldInTypeAlwaysDescription
triggersbodytriggerView[]Triggers is one row per function, describing how it is reached.
triggers[].enabledbodybooleanwhether it currently fires
triggers[].functionNamebodystringthe function it calls
triggers[].idbodystringthe trigger's handle
triggers[].namebodystringa human label for it
triggers[].targetbodystringthe path it calls
triggers[].typebodystringwhat kind of trigger it is; HTTP is the only one today

Failure carries the platform error shape — see Errors.

Examples

hanzo functions triggers

Functions API · All Hanzo APIs · Interactive reference

How is this guide?

On this page