Wavelength AI API
The AI API from Wavelength, for ai.
The AI API from Wavelength, for ai.
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/wavelengthflow-com:wavelengthflow-com-ai-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: Wavelengthflow Com AI API
version: 1.0.0
contact:
name: Wavelength support
email: support@wavelengthflow.com
url: https://wavelengthflow.com/developers.html
termsOfService: https://wavelengthflow.com/terms
description: 'Operations tagged AI across 2 of this provider''s published API definitions: openapi.json, wavelengthflow-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lnzcwfswvljbijqszxxn.supabase.co/functions/v1/api/v1
security:
- bearerAuth: []
tags:
- name: AI
paths:
/flows/generate:
post:
operationId: generateFlow
summary: Generate a flow from text with AI
description: Turns a transcript, call notes, or a plain description into a new process flow diagram. Counts against the plan of the key owner.
tags:
- AI
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
properties:
text:
type: string
maxLength: 100000
description: The transcript, notes, or process description.
title:
type: string
description: Optional. Wavelength picks a title when empty.
direction:
type: string
enum:
- vertical
- horizontal
default: vertical
team_id:
type: string
format: uuid
responses:
'201':
description: The new flow.
content:
application/json:
schema:
$ref: '#/components/schemas/FlowResponse'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
servers:
- url: https://lnzcwfswvljbijqszxxn.supabase.co/functions/v1/api/v1
/flows/{id}/edit:
parameters:
- name: id
in: path
required: true
description: The flow ID (UUID).
schema:
type: string
format: uuid
post:
operationId: editFlowWithInstruction
summary: Edit a flow with an AI instruction
description: Changes the flow from a plain instruction, for example "Add a manager approval before the refund". Saves a version.
tags:
- AI
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- instruction
properties:
instruction:
type: string
responses:
'200':
description: The changed flow.
content:
application/json:
schema:
$ref: '#/components/schemas/FlowResponse'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
servers:
- url: https://lnzcwfswvljbijqszxxn.supabase.co/functions/v1/api/v1
/flows/{id}/notes:
parameters:
- name: id
in: path
required: true
description: The flow ID (UUID).
schema:
type: string
format: uuid
post:
operationId: addNotesToFlow
summary: Add notes to a flow with AI
description: Adds new notes or transcript text. Wavelength reuses steps that are already on the diagram.
tags:
- AI
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
properties:
text:
type: string
responses:
'200':
description: The changed flow.
content:
application/json:
schema:
$ref: '#/components/schemas/FlowResponse'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
servers:
- url: https://lnzcwfswvljbijqszxxn.supabase.co/functions/v1/api/v1
/flows/{id}/summaries:
parameters:
- name: id
in: path
required: true
description: The flow ID (UUID).
schema:
type: string
format: uuid
post:
operationId: summarizeFlow
summary: Write a summary of a flow
description: overview returns summary and gaps. recaps returns customer_recap, handoff, and leadership. systems_in_scope returns each system with its inputs and outputs.
tags:
- AI
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- type
properties:
type:
type: string
enum:
- overview
- recaps
- systems_in_scope
responses:
'200':
description: The summary.
content:
application/json:
schema:
$ref: '#/components/schemas/Summary'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
servers:
- url: https://lnzcwfswvljbijqszxxn.supabase.co/functions/v1/api/v1
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
Flow:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
graph_nodes:
type: array
items:
$ref: '#/components/schemas/Node'
graph_edges:
type: array
items:
$ref: '#/components/schemas/Edge'
transcript:
type:
- string
- 'null'
diagram_code:
type:
- string
- 'null'
team_id:
type:
- string
- 'null'
folder_id:
type:
- string
- 'null'
is_public:
type: boolean
owner:
type: string
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
Node:
type: object
required:
- label
properties:
id:
type: string
description: Unique in the flow. Default n1, n2.
type:
type: string
enum:
- start
- step
- decision
- data
- system
- actor
- end
- screen
default: step
label:
type: string
maxLength: 500
owner:
type: string
description: Role or team that does the step. Used for swimlanes.
x:
type: number
y:
type: number
Summary:
type: object
additionalProperties: true
Edge:
type: object
required:
- source
- target
properties:
id:
type: string
source:
type: string
target:
type: string
label:
type: string
FlowResponse:
type: object
properties:
flow:
$ref: '#/components/schemas/Flow'
responses:
Error:
description: 'Error. Codes: bad_request, bad_graph, unauthorized, key_expired, save_failed, missing_scope, not_found, rate_limited, internal.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: wlk_ API key
agentOAuth:
type: oauth2
description: Wavelength account sign-in for agents (OAuth or auth.md registration).
flows:
authorizationCode:
authorizationUrl: https://mcp.wavelengthflow.com/authorize
tokenUrl: https://mcp.wavelengthflow.com/token
scopes:
flows: Use the Wavelength account
externalDocs:
url: https://wavelengthflow.com/developers.html
x-refined-from:
- openapi.json
- wavelengthflow-com-openapi.json
x-service-info:
categories:
- productivity
- diagramming
- ai
docs:
homepage: https://wavelengthflow.com
apiReference: https://wavelengthflow.com/developers
llms: https://wavelengthflow.com/llms.txt
x-provenance:
method: harvested
publisher: Wavelength
source: https://wavelengthflow.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)