Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Zavu Functions API

The Functions API from Zavu — 12 operation(s) for functions.

Zavu Functions API is one of 21 APIs that Zavu publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Functions. The published artifact set on APIs.io includes an OpenAPI specification, authentication docs, and rate-limit docs.

This API exposes 17 operations across 12 paths, and defines 13 schemas. It is described by OpenAPI 3.0.3, at version 0.2.0.

Requests are made against a single base URL, https://api.zavu.dev.

17 operations 12 paths 13 schemas 3 DELETE7 GET2 PATCH4 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
0.2.0
Base URL
https://api.zavu.dev/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Zavu Functions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 17

Across 12 paths, the API surfaces 17 operations — 3 DELETE, 7 GET, 2 PATCH, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Functions 17
GET
/v1/functions/event-types
List function event types
listFunctionEventTypes → 200401
GET
/v1/functions/{functionId}/triggers
List function triggers
listFunctionTriggers 1 param → 200401404
POST
/v1/functions/{functionId}/triggers
Create function triggers
createFunctionTriggers 1 param body → 201400401404
PATCH
/v1/functions/triggers/{triggerId}
Enable or disable a trigger
updateFunctionTrigger 1 param body → 200400401404
DELETE
/v1/functions/triggers/{triggerId}
Delete a trigger
deleteFunctionTrigger 1 param → 204401404
GET
/v1/functions/{functionId}/deployments
List function deployments
listFunctionDeployments 2 params → 200401404
POST
/v1/functions/{functionId}/rollback
Roll back to a previous deployment
rollbackFunction 1 param body → 202400401404
POST
/v1/functions
Create function
createFunction body → 201400401
GET
/v1/functions/{functionId}
Get function
getFunction 1 param → 200401404
PATCH
/v1/functions/{functionId}
Update function draft
updateFunctionDraft 1 param body → 200400401404
DELETE
/v1/functions/{functionId}
Delete function
deleteFunction 1 param → 200400401404
POST
/v1/functions/{functionId}/deploy
Deploy function
deployFunction 1 param body → 202400401404
GET
/v1/functions/deployments/{deploymentId}
Get deployment
getFunctionDeployment 1 param → 200401404
GET
/v1/functions/{functionId}/secrets
List function secrets
listFunctionSecrets 1 param → 200401
PUT
/v1/functions/{functionId}/secrets/{key}
Set function secret
setFunctionSecret 2 params body → 200201400401
DELETE
/v1/functions/{functionId}/secrets/{key}
Unset function secret
unsetFunctionSecret 2 params → 204401404
GET
/v1/functions/{functionId}/logs
Tail function logs
tailFunctionLogs 6 params → 200401404

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are ZavuFunction (14 properties), FunctionCreateRequest (9 properties), FunctionDeployment (9 properties), FunctionTrigger (7 properties). Each schema is shown below with its type and property counts.

FunctionCreateRequest
object
9 properties 2 required
ZavuFunction
object
A Zavu Function — user-supplied TypeScript that runs in Zavu Cloud and reacts to messaging events or HTTP requests.
14 properties 11 required
ZavuFunctionRuntime
string
Runtime the function is deployed on.
FunctionDeploymentResponse
object
1 property 1 required
ZavuFunctionResponse
object
1 property 1 required
FunctionDeploymentStatus
string
Stage of a function deployment.
FunctionDeployment
object
9 properties 5 required
ZavuFunctionStatus
string
Lifecycle status of a Zavu Function.
Error
object
3 properties 2 required
FunctionLogsResponse
object
2 properties 1 required
FunctionLogEvent
object
2 properties 2 required
FunctionTrigger
object
A subscription that runs a Zavu Function when a messaging event fires.
7 properties 6 required
FunctionDeployRequest
object
Optional source/dependencies update applied before deploying. Omit both fields to redeploy the current draft as-is.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zavu-functions-api-openapi.yml Raw ↑

Other APIs Zavu publishes across the network.

Zavu 10DLC API
Zavu Account API
Zavu Agent Flows API
Zavu Agent Knowledge Bases API
Zavu Agent Tools API
Zavu Agents API
Zavu Balance API
Zavu Broadcasts API
Zavu Contacts API
Zavu Introspect API
Zavu Invitations API
Zavu Messages API