Skip to main content
POST
List Definitions
Use this API to paginate through active (non-tombstoned) workflow definitions, ordered by updatedAt DESC.

Endpoint

POST https://api.velt.dev/v2/workflow/definitions/list

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required
Requires a Firestore composite index (status ASC, updatedAt DESC). The first list call after deploy may surface a one-time index-create URL.

Example Requests

List the first page

Paginate

Response

Success Response

Each DefinitionView row includes the read-only compiled block (compiled.forwardEdges + compiled.loops) alongside the authored edges. See Get Definition for the compiled schema.

Failure Response