LittleHorse Workflow Specs API
The Workflow Specs API from LittleHorse — 2 operation(s) for workflow specs.
The Workflow Specs API from LittleHorse — 2 operation(s) for workflow specs.
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/littlehorse-workflow-specs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: LittleHorse REST External Events Workflow Specs API
description: The LittleHorse REST API provides HTTP endpoints for managing workflow specifications (WfSpec), workflow runs (WfRun), task definitions (TaskDef), external event definitions, user tasks, and other resources in the LittleHorse workflow engine.
version: 0.12.0
contact:
name: LittleHorse
url: https://littlehorse.dev/
license:
name: Server Side Public License
url: https://www.mongodb.com/licensing/server-side-public-license
servers:
- url: '{baseUrl}'
description: LittleHorse Server
variables:
baseUrl:
default: http://localhost:2023
tags:
- name: Workflow Specs
paths:
/wfSpec:
get:
operationId: listWfSpecs
summary: List workflow specifications
description: Returns all registered workflow specifications.
tags:
- Workflow Specs
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/WfSpec'
bookmark:
type: string
post:
operationId: putWfSpec
summary: Create or update a workflow specification
description: Creates or updates a workflow specification.
tags:
- Workflow Specs
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PutWfSpecRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/WfSpec'
/wfSpec/{name}:
get:
operationId: getWfSpec
summary: Get a workflow specification
description: Returns a specific workflow specification by name.
tags:
- Workflow Specs
parameters:
- name: name
in: path
required: true
schema:
type: string
- name: majorVersion
in: query
schema:
type: integer
- name: revision
in: query
schema:
type: integer
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/WfSpec'
delete:
operationId: deleteWfSpec
summary: Delete a workflow specification
description: Deletes a workflow specification.
tags:
- Workflow Specs
parameters:
- name: name
in: path
required: true
schema:
type: string
- name: majorVersion
in: query
required: true
schema:
type: integer
- name: revision
in: query
required: true
schema:
type: integer
responses:
'200':
description: WfSpec deleted
components:
schemas:
WfSpec:
type: object
properties:
id:
type: object
properties:
name:
type: string
majorVersion:
type: integer
revision:
type: integer
status:
type: string
createdAt:
type: string
format: date-time
threadSpecs:
type: object
additionalProperties:
$ref: '#/components/schemas/ThreadSpec'
entrypointThreadName:
type: string
retentionPolicy:
type: object
ThreadSpec:
type: object
properties:
nodes:
type: object
additionalProperties:
type: object
variableDefs:
type: array
items:
type: object
interruptDefs:
type: array
items:
type: object
PutWfSpecRequest:
type: object
required:
- name
- threadSpecs
- entrypointThreadName
properties:
name:
type: string
threadSpecs:
type: object
additionalProperties:
$ref: '#/components/schemas/ThreadSpec'
entrypointThreadName:
type: string
retentionPolicy:
type: object