Wavelength Flows API

The Flows API from Wavelength, for flows.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /flows List flows #
POST /flows Create a flow from nodes and edges #
GET /flows/search Search flows #
GET /flows/{id} Get a flow #
PATCH /flows/{id} Update a flow #
DELETE /flows/{id} Delete a flow #
POST /flows/{id}/duplicate Duplicate a flow #
GET /flows/{id}/export Export a flow #
GET /flows/{id}/review Find gaps in a flow #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wavelengthflow-com:wavelengthflow-com-flows-api"
All apis
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.

Get an API 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 Specification

wavelengthflow-com-flows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wavelengthflow Com Flows 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 Flows 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: Flows
paths:
  /flows:
    get:
      operationId: listFlows
      summary: List flows
      description: Lists the flows the key can open, newest change first.
      tags:
      - Flows
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
      - name: offset
        in: query
        description: Start of the page. Use next_offset from the last page.
        schema:
          type: integer
          minimum: 0
          default: 0
      - name: updated_since
        in: query
        description: Only flows changed at or after this time (ISO 8601).
        schema:
          type: string
          format: date-time
      - name: team_id
        in: query
        description: Only flows of this team.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: A page of flows.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowList'
        '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'
    post:
      operationId: createFlow
      summary: Create a flow from nodes and edges
      description: Makes a new flow from a graph that you send. Nodes without x and y are laid out for you.
      tags:
      - Flows
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlowInput'
      responses:
        '201':
          description: The saved 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/search:
    get:
      operationId: searchFlows
      summary: Search flows
      description: Searches flow titles, steps, and transcripts.
      tags:
      - Flows
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 2
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      responses:
        '200':
          description: The matching flows.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResult'
        '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}:
    parameters:
    - name: id
      in: path
      required: true
      description: The flow ID (UUID).
      schema:
        type: string
        format: uuid
    get:
      operationId: getFlow
      summary: Get a flow
      description: Returns one flow with its nodes, edges, transcript, and Mermaid code.
      tags:
      - Flows
      responses:
        '200':
          description: The 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'
    patch:
      operationId: updateFlow
      summary: Update a flow
      description: Changes the fields that you send. Send graph_nodes and graph_edges together, because they replace the whole graph.
      tags:
      - Flows
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/FlowInput'
              - type: object
                properties:
                  snapshot:
                    type: boolean
                    description: Keep a version in the flow history.
                  version_label:
                    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'
    delete:
      operationId: deleteFlow
      summary: Delete a flow
      tags:
      - Flows
      responses:
        '200':
          description: The flow is deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deleted'
        '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}/duplicate:
    parameters:
    - name: id
      in: path
      required: true
      description: The flow ID (UUID).
      schema:
        type: string
        format: uuid
    post:
      operationId: duplicateFlow
      summary: Duplicate a flow
      tags:
      - Flows
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
      responses:
        '201':
          description: The copy.
          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}/export:
    parameters:
    - name: id
      in: path
      required: true
      description: The flow ID (UUID).
      schema:
        type: string
        format: uuid
    get:
      operationId: exportFlow
      summary: Export a flow
      description: Exports the flow as Mermaid, SVG, draw.io, or JSON.
      tags:
      - Flows
      parameters:
      - name: format
        in: query
        required: true
        schema:
          type: string
          enum:
          - mermaid
          - svg
          - drawio
          - json
      responses:
        '200':
          description: The export.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Export'
        '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}/review:
    parameters:
    - name: id
      in: path
      required: true
      description: The flow ID (UUID).
      schema:
        type: string
        format: uuid
    get:
      operationId: reviewFlow
      summary: Find gaps in a flow
      description: Finds steps with no connection, dead ends, decisions with one branch, unlabeled branches, steps with no owner, and AI-guessed links. Returns questions to ask on the next call. No AI cost.
      tags:
      - Flows
      responses:
        '200':
          description: The gaps and questions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Review'
        '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:
    FlowInput:
      type: object
      properties:
        title:
          type: string
        graph_nodes:
          type: array
          items:
            $ref: '#/components/schemas/Node'
        graph_edges:
          type: array
          items:
            $ref: '#/components/schemas/Edge'
        transcript:
          type: string
        diagram_code:
          type: string
        team_id:
          type: string
          format: uuid
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    SearchResult:
      type: object
      additionalProperties: true
    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
    Review:
      type: object
      additionalProperties: true
    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
    Export:
      type: object
      additionalProperties: true
    Deleted:
      type: object
      properties:
        deleted:
          type: boolean
        id:
          type: string
    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'
    FlowList:
      type: object
      properties:
        flows:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              title:
                type: string
              owner:
                type: string
              created_at:
                type: string
              updated_at:
                type: string
              team_id:
                type:
                - string
                - 'null'
              folder_id:
                type:
                - string
                - 'null'
              is_public:
                type: boolean
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        next_offset:
          type:
          - integer
          - 'null'
  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)