Hanzo AI
OpenapiFunctions

List triggers

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[].enabledbodyboolean—whether it currently fires
triggers[].functionNamebodystring—the function it calls
triggers[].idbodystring—the trigger's handle
triggers[].namebodystring—a human label for it
triggers[].targetbodystring—the path it calls
triggers[].typebodystring—what 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