Ondemand Workflow API

The Workflow API from Ondemand — 2 operation(s) for workflow.

Operations 2

POST /workflow Create workflow #
PATCH /workflow/{id} Update workflow #

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/ondemand-workflow-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ondemand-workflow-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OnDemand AI Chat Workflow API
  version: 1.0.0
  description: OnDemand AI is a RAG-powered AI Platform-as-a-Service. This OpenAPI definition was assembled by the API Evangelist enrichment pipeline from the per-operation OpenAPI fragments published on the OnDemand AI ReadMe documentation (https://docs.on-demand.io/reference).
servers:
- url: https://api.on-demand.io
- url: https://api.on-demand.io/automation/api
- url: https://api.on-demand.io/services/v1/public/service
- url: https://gateway-dev.on-demand.io
security:
- apikey: []
tags:
- name: Workflow
paths:
  /workflow:
    post:
      summary: Create workflow
      operationId: createWorkflow
      parameters:
      - name: X-USER-ID
        in: header
        required: true
        schema:
          type: string
      - name: X-COMPANY-ID
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWorkflowRequest'
      responses:
        '200':
          description: Workflow created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowResponse'
        '500':
          description: Server error
      tags:
      - Workflow
  /workflow/{id}:
    patch:
      summary: Update workflow
      operationId: updateWorkflow
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Workflow ID
      - name: X-USER-ID
        in: header
        required: true
        schema:
          type: string
      - name: X-COMPANY-ID
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWorkflowRequest'
      responses:
        '200':
          description: Workflow updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowResponse'
        '404':
          description: Workflow not found
        '500':
          description: Server error
      security:
      - ApiKeyAuth: []
      tags:
      - Workflow
components:
  schemas:
    NodePosition:
      type: object
      properties:
        x:
          type: integer
        y:
          type: integer
    UpdateWorkflowRequest:
      type: object
      required:
      - trigger
      - nodes
      - delivery
      properties:
        name:
          type: string
          description: Workflow name
        trigger:
          $ref: '#/components/schemas/Trigger'
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/Node'
        delivery:
          type: array
          items:
            $ref: '#/components/schemas/Delivery'
        enableMemory:
          type: boolean
    Trigger:
      type: object
      required:
      - type
      - position
      properties:
        type:
          type: string
          enum:
          - api
          - cron
          - webhook
        position:
          $ref: '#/components/schemas/NodePosition'
        measured:
          $ref: '#/components/schemas/Measured'
        nextNodeKeys:
          type: array
          items:
            type: string
    Delivery:
      type: object
      properties:
        channel:
          type: string
          enum:
          - webhook
          - phone
          - email
    Node:
      type: object
      required:
      - key
      - type
      - kind
      properties:
        key:
          type: string
        type:
          type: string
          enum:
          - llm
          - inputText
          - advancedVoiceMode
          - o_analyzer
        kind:
          type: string
          enum:
          - source
          - intermediate
          - sink
    Measured:
      type: object
      properties:
        width:
          type: integer
        height:
          type: integer
    WorkflowResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        isActive:
          type: boolean
        enableMemory:
          type: boolean
    CreateWorkflowRequest:
      type: object
      required:
      - name
      - trigger
      - nodes
      - delivery
      properties:
        name:
          type: string
        trigger:
          $ref: '#/components/schemas/Trigger'
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/Node'
        delivery:
          type: array
          items:
            $ref: '#/components/schemas/Delivery'
        enableMemory:
          type: boolean
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: apikey
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey