Vmotif Workflows API
List workflows and run them server-side.
List workflows and run them server-side.
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/vmotif-com:vmotif-com-workflows-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: Vmotif Com Workflows API
version: 1.0.0
contact:
name: vmotif
url: https://vmotif.com
description: 'Operations tagged Workflows across 2 of this provider''s published API definitions: openapi.json, vmotif-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://vmotif.com/api/v1
description: Production
security:
- BearerAuth: []
tags:
- name: Workflows
description: List workflows and run them server-side.
paths:
/workflows:
get:
operationId: listWorkflows
summary: List workflows
description: The caller's workflows, most recently updated first. Requires the `read` scope.
tags:
- Workflows
parameters:
- name: limit
in: query
required: false
description: Max results to return (1–100).
schema:
type: integer
minimum: 1
maximum: 100
default: 50
- name: offset
in: query
required: false
description: Number of results to skip.
schema:
type: integer
minimum: 0
default: 0
responses:
'200':
description: Workflow summaries.
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowsResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
servers:
- url: https://vmotif.com/api/v1
description: Production
/workflows/{id}/runs:
post:
operationId: runWorkflow
summary: Run a workflow
description: Execute all generatable nodes of a workflow server-side. Returns a run id; poll `GET /workflows/{id}/runs/{runId}`. The run executes an immutable snapshot of the graph taken at enqueue time; completed outputs are also written back onto their output nodes so the canvas reflects the run. Requires the `write` scope. Send an `Idempotency-Key` header so a retry after a timeout cannot start (and charge) a second run.
tags:
- Workflows
parameters:
- $ref: '#/components/parameters/WorkflowId'
- $ref: '#/components/parameters/IdempotencyKey'
responses:
'202':
description: Run accepted.
headers:
Idempotent-Replayed:
description: '`true` when this response replays an earlier request with the same `Idempotency-Key`.'
schema:
type: string
enum:
- 'true'
content:
application/json:
schema:
$ref: '#/components/schemas/RunAccepted'
'400':
$ref: '#/components/responses/InvalidRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/InsufficientScope'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
servers:
- url: https://vmotif.com/api/v1
description: Production
/workflows/{id}/runs/{runId}:
get:
operationId: getWorkflowRun
summary: Get a workflow run
description: Poll the status, progress, and per-node results of a workflow run. Requires the `read` scope.
tags:
- Workflows
parameters:
- $ref: '#/components/parameters/WorkflowId'
- name: runId
in: path
required: true
description: Run id returned by `POST /workflows/{id}/runs`.
schema:
type: string
format: uuid
responses:
'200':
description: Current run state.
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowRun'
'400':
$ref: '#/components/responses/InvalidRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
servers:
- url: https://vmotif.com/api/v1
description: Production
components:
schemas:
WorkflowSummary:
type: object
required:
- id
- name
- updated_at
properties:
id:
type: string
format: uuid
name:
type: string
updated_at:
type: string
format: date-time
RunAccepted:
type: object
required:
- id
- status
properties:
id:
type: string
format: uuid
status:
type: string
enum:
- pending
- running
- completed
- failed
description: '`pending` for a new run; a replay reports the original run''s current status.'
warnings:
type: array
items:
type: string
description: Things to tell the user as the run starts, such as a brand that could not be loaded. Absent when there are none.
replayed:
type: boolean
description: True when an `Idempotency-Key` retry returned an earlier request's run instead of starting a new one.
WorkflowRunResult:
type: object
required:
- promptNodeId
- outputNodeId
- type
- status
properties:
promptNodeId:
type: string
outputNodeId:
type: string
type:
type: string
enum:
- image
- code
- screen
- design
status:
type: string
enum:
- completed
- failed
- skipped
label:
type: string
description: Output node's user-facing label/title (e.g. "LinkedIn Post Copy"), when set.
platform:
type: string
enum:
- x
- linkedin
- instagram
- facebook
- threads
- tiktok
description: Target platform, present on outputs created by a social_post campaign.
url:
type: string
description: Signed URL (image outputs).
mediaType:
type: string
description: Image outputs.
code:
type: string
description: Code/screen/design outputs.
error:
type: string
description: Set when `status` is `failed`.
costMicros:
type: number
WorkflowRun:
type: object
required:
- id
- workflowId
- status
- progress
- results
- error
- createdAt
- completedAt
properties:
id:
type: string
format: uuid
workflowId:
type: string
format: uuid
status:
type: string
enum:
- pending
- running
- completed
- failed
progress:
type: object
required:
- total
- completed
properties:
total:
type: integer
completed:
type: integer
results:
type: array
items:
$ref: '#/components/schemas/WorkflowRunResult'
error:
type:
- string
- 'null'
createdAt:
type: string
format: date-time
completedAt:
type:
- string
- 'null'
format: date-time
ApiError:
type: object
required:
- error
properties:
error:
type: object
required:
- type
- message
properties:
type:
type: string
enum:
- invalid_request
- unauthorized
- insufficient_scope
- rate_limited
- insufficient_quota
- payment_required
- not_found
- idempotency_key_reused
- server_error
description: Stable, machine-readable error category.
message:
type: string
description: Human-readable description.
WorkflowsResponse:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/WorkflowSummary'
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: 'Makes a retry safe. Send a new value (a UUID works) with each new request and the same value when retrying it: the retry returns the original job or run (`replayed: true`, `Idempotent-Replayed: true`) and nothing new is started or charged. Reusing a key for a different request returns 422 `idempotency_key_reused`. Keys do not expire and share one namespace with the MCP server''s `client_request_id`.'
schema:
type: string
minLength: 1
maxLength: 128
pattern: ^[A-Za-z0-9_.:-]+$
WorkflowId:
name: id
in: path
required: true
description: Workflow id.
schema:
type: string
format: uuid
responses:
ServerError:
description: 'An unexpected error (500), or a dependency is unavailable (503): the rate limiter or the `Idempotency-Key` lookup. A 503 started nothing; retry with the same key.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
NotFound:
description: The resource does not exist or is not owned by the caller.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
InsufficientScope:
description: The key lacks the scope required for this endpoint (write).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
RateLimited:
description: Rate limit or budget exceeded. `insufficient_quota` and `rate_limited` both use 429; a `retry-after` header is set on rate limits.
headers:
retry-after:
schema:
type: integer
description: Seconds until the limit resets.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Unauthorized:
description: Missing, malformed, revoked, or unknown API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
InvalidRequest:
description: The request was malformed or failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'An API key created in Settings → API, sent as `Authorization: Bearer vmk_live_...`.'
x-refined-from:
- openapi.json
- vmotif-com-openapi.yml
x-provenance:
method: harvested
publisher: Vmotif
source: https://vmotif.com/api/v1/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)