Word Is Bond Flows API
Version-control + a regression gate for phone-system flows: import a platform config to diffable code, version it, and block a change that regressed behavior.
Version-control + a regression gate for phone-system flows: import a platform config to diffable code, version it, and block a change that regressed behavior.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wordis-bond-com:wordis-bond-com-flows-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Word Is Bond — Voice Agent Testing Flows API
version: 0.1.0
summary: Metered, self-serve testing for voice agents you run.
description: 'Point a synthetic caller at a voice agent you run — on any SIP / WebRTC or PSTN endpoint — and get back a scored transcript, pass/fail verdict, and per-turn latency / word-error-rate / barge-in metrics. Score a captured transcript offline, run a live synthetic call, put a suite on a schedule to catch behaviour drift, or read regression trends. You only ever test systems you control — there is no outbound-to-strangers surface. Plans and quotas are served live by GET /api/billing/plans (the single source of truth for pricing — never hard-coded). Agent-readable overview: https://wordis-bond.com/llms.txt'
contact:
name: Word Is Bond
url: https://wordis-bond.com
license:
name: Proprietary
url: https://wordis-bond.com/terms
servers:
- url: https://api.wordis-bond.com
description: Production
security:
- apiKey: []
tags:
- name: Flows
description: 'Version-control + a regression gate for phone-system flows: import a platform config to diffable code, version it, and block a change that regressed behavior.'
paths:
/api/flows:
get:
operationId: listFlows
tags:
- Flows
summary: List your version-controlled phone-system flows
responses:
'200':
description: Flows
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
post:
operationId: createFlow
tags:
- Flows
summary: Create a flow and its first immutable version
description: Compile a phone-system flow to the canonical Flow IR and save it as version 1. Each save is immutable and content-hashed — this is the version control.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
language:
type: string
description:
type: string
suiteId:
type: string
description: Test suite the regression gate runs against this flow.
ir:
$ref: '#/components/schemas/FlowIR'
note:
type: string
required:
- name
- ir
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'422':
$ref: '#/components/responses/ValidationError'
/api/flows/import:
post:
operationId: importFlow
tags:
- Flows
summary: Import a platform config (e.g. Vapi) into Flow IR
description: Convert a real platform flow/agent config into the canonical, diffable Flow IR. Reports the fields the IR abstracts away. Pass save:true to persist it as a new flow (version 1). The same IR is the migration surface — export it to another platform. Vapi ships in v0; Twilio Studio and Amazon Connect are the next adapters onto this IR.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
platform:
type: string
enum:
- vapi
config:
type: object
description: The platform's native flow/agent object.
save:
type: boolean
name:
type: string
required:
- platform
- config
responses:
'200':
description: Imported IR
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'201':
description: Imported + saved as a flow
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'422':
$ref: '#/components/responses/ValidationError'
/api/flows/credentials:
get:
operationId: listPlatformCredentials
tags:
- Flows
summary: List stored platform API keys (masked)
responses:
'200':
description: Credentials (masked hint only)
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
post:
operationId: storePlatformCredential
tags:
- Flows
summary: Store a platform API key for live imports (sealed at rest)
description: Store a customer platform API key for a live import. The key is sealed with AES-256-GCM at rest and never returned or logged — only a masked hint comes back.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
platform:
type: string
enum:
- vapi
apiKey:
type: string
required:
- platform
- apiKey
responses:
'201':
description: Stored
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'422':
$ref: '#/components/responses/ValidationError'
/api/flows/{id}:
get:
operationId: getFlow
tags:
- Flows
summary: A flow and its current IR version
parameters:
- $ref: '#/components/parameters/IdPath'
responses:
'200':
description: Flow
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
delete:
operationId: deleteFlow
tags:
- Flows
summary: Delete a flow and all its versions
parameters:
- $ref: '#/components/parameters/IdPath'
responses:
'200':
description: Deleted
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/api/flows/{id}/versions:
get:
operationId: listFlowVersions
tags:
- Flows
summary: List a flow's immutable versions (metadata + content hashes)
parameters:
- $ref: '#/components/parameters/IdPath'
responses:
'200':
description: Versions
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
post:
operationId: saveFlowVersion
tags:
- Flows
summary: Save a new immutable version and get the diff vs the previous
parameters:
- $ref: '#/components/parameters/IdPath'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ir:
$ref: '#/components/schemas/FlowIR'
note:
type: string
required:
- ir
responses:
'201':
description: Version saved
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationError'
/api/flows/{id}/versions/{version}:
get:
operationId: getFlowVersion
tags:
- Flows
summary: One version's IR
parameters:
- $ref: '#/components/parameters/IdPath'
- name: version
in: path
required: true
schema:
type: integer
minimum: 1
responses:
'200':
description: Version
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/api/flows/{id}/diff:
get:
operationId: diffFlowVersions
tags:
- Flows
summary: Structural diff between two versions
description: Human-readable added / removed / changed nodes and edges between two versions of the flow.
parameters:
- $ref: '#/components/parameters/IdPath'
- name: from
in: query
required: true
schema:
type: integer
minimum: 1
- name: to
in: query
required: false
schema:
type: integer
minimum: 1
description: Defaults to the current version.
responses:
'200':
description: Diff
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/api/flows/{id}/export:
post:
operationId: exportFlow
tags:
- Flows
summary: Export the current IR to a platform config
parameters:
- $ref: '#/components/parameters/IdPath'
- name: platform
in: query
required: false
schema:
type: string
enum:
- vapi
- name: version
in: query
required: false
schema:
type: integer
minimum: 1
responses:
'200':
description: Exported config
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationError'
/api/flows/{id}/test:
post:
operationId: runFlowGate
tags:
- Flows
summary: Run the regression gate now
description: Compile the current flow version into a synthetic-caller scenario, run it against the flow's target, and compare the result to the previous version's baseline. A pass→fail or a score drop past the threshold is a regression that GATES the change (gate.gated=false). Reuses the same judge-version-aware regression logic as the trends endpoint.
parameters:
- $ref: '#/components/parameters/IdPath'
responses:
'201':
description: Gate verdict
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationError'
'429':
description: 'The hosted-demo limits of POST /api/tests/demo, shared with it: DEMO_LIMIT (3 runs per rolling 24 h, 20 with a verified email; flow tests and demo runs count together) or the per-minute RATE_LIMITED.'
'503':
description: 'DEMO_PAUSED: the operator has paused the hosted demo. `Retry-After` is in seconds.'
/api/flows/{id}/gate:
get:
operationId: getFlowGate
tags:
- Flows
summary: The gate verdict for the flow's latest run
parameters:
- $ref: '#/components/parameters/IdPath'
responses:
'200':
description: Gate verdict (or null when no run exists)
content:
application/json:
schema:
type: object
properties:
data:
type: object
error:
type:
- object
- string
- 'null'
required:
- data
- error
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
schemas:
ErrorEnvelope:
type: object
properties:
data:
type: 'null'
error:
oneOf:
- type: string
- type: object
properties:
code:
type: string
message:
type: string
required:
- message
required:
- data
- error
FlowIR:
type: object
description: The canonical, git-serializable representation of a phone-system flow. A discriminated node graph (prompt / menu / condition / agent / transfer / tool / hangup) plus flow metadata. Deterministic serialization → a stable content hash and a clean diff, so a flow can be version-controlled and regression-tested like source code. Extensible toward the migration surface — the same envelope hosts an imported vendor config and a hand-authored flow.
properties:
schemaVersion:
type: integer
const: 1
kind:
type: string
const: voice_flow
name:
type: string
language:
type: string
examples:
- en
entry:
type: string
description: Id of the node the call enters at.
nodes:
type: array
items:
type: object
properties:
id:
type: string
type:
type: string
enum:
- prompt
- menu
- condition
- agent
- transfer
- tool
- hangup
label:
type: string
required:
- id
- type
metadata:
type: object
description: Free-form; reserved keys `goal` and `persona` drive the regression scenario.
required:
- schemaVersion
- kind
- name
- language
- entry
- nodes
parameters:
IdPath:
name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
NotFound:
description: The resource does not exist or is not owned by the tenant.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
Unauthorized:
description: Missing, invalid, or revoked credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
ValidationError:
description: The request body failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: wb_live_*
description: 'Send your API key as a bearer token on every request: `Authorization: Bearer wb_live_…`. Create one at POST /api/api-keys (the raw token is shown once). Only a SHA-256 hash is stored.'
externalDocs:
description: Agent-readable overview (llms.txt) and quickstart
url: https://wordis-bond.com/llms.txt