List flows
flows:readAuthenticationReturns organization-scoped flows, newest first by created_at then id.
Each element carries the whole graph plus its derived agent_count and handoff_count, so a list page can show each flow's shape without a second request.
q is a case-insensitive literal substring over slug, name and description. The opaque cursor is bound to this endpoint and to the exact q, created_from, created_to and archived filters that issued it.
Reading flows needs only the permission; the flows entitlement is required to create or change one. Supplying any request body is a 400 unexpected_body error.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerNumber of flows to return. The server fetches one extra row only to determine next_cursor.
1 <= value <= 20050q?stringCase-insensitive literal substring search across slug, name, and description. The supplied and trimmed values must each contain 1–200 Unicode characters; blank values and every Unicode control character are rejected. Percent, underscore, and backslash are literal characters, not LIKE syntax.
1 <= length <= 200created_from?|Inclusive created_at lower bound. A YYYY-MM-DD value means midnight UTC.
created_to?|Exclusive created_at upper bound. It must be later than created_from; a YYYY-MM-DD value means midnight UTC.
archived?stringWhether archived resources are excluded, included alongside active resources, or returned exclusively.
"exclude""exclude""include""only"One deterministic page of flows. An empty result is data=[] and next_cursor=null.
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.kejue.co/v1/flows'{ "data": [ { "id": "33333333-3333-4333-8333-333333333333", "org_id": "44444444-4444-4444-8444-444444444444", "slug": "support-front-door", "name": "Support front door", "start_agent_id": "11111111-1111-4111-8111-111111111111", "graph": { "nodes": [ { "id": "triage", "agent_id": "11111111-1111-4111-8111-111111111111", "x": 0, "y": 0 }, { "id": "billing", "agent_id": "22222222-2222-4222-8222-222222222222", "x": 320, "y": -120 } ], "edges": [ { "id": "triage-to-billing", "source": "triage", "target": "billing", "label": "billing", "condition": "the caller asks about an invoice or a payment" } ] }, "agent_count": 2, "handoff_count": 1, "summary_enabled": true, "extraction_object_ids": [], "webhook_config_ids": [], "resource_version": 1, "created_at": "2026-09-15T09:00:00Z", "updated_at": "2026-09-15T09:00:00Z" } ], "next_cursor": null}