LittleHorse External Events API

The External Events API from LittleHorse — 3 operation(s) for external events.

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/littlehorse-external-events-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 email required.

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

OpenAPI Specification

littlehorse-external-events-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: LittleHorse REST External Events 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: External Events
paths:
  /externalEventDef:
    get:
      operationId: listExternalEventDefs
      summary: List external event definitions
      description: Returns all registered external event definitions.
      tags:
      - External Events
      responses:
        '200':
          description: Successful response
    post:
      operationId: putExternalEventDef
      summary: Create an external event definition
      description: Creates a new external event definition.
      tags:
      - External Events
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                retentionPolicy:
                  type: object
      responses:
        '200':
          description: External event definition created
  /externalEventDef/{name}:
    get:
      operationId: getExternalEventDef
      summary: Get an external event definition
      description: Returns a specific external event definition.
      tags:
      - External Events
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
  /wfRun/{wfRunId}/externalEvent/{externalEventDefName}:
    post:
      operationId: postExternalEvent
      summary: Post an external event
      description: Posts an external event to a specific workflow run.
      tags:
      - External Events
      parameters:
      - name: wfRunId
        in: path
        required: true
        schema:
          type: string
      - name: externalEventDefName
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: object
                guid:
                  type: string
      responses:
        '200':
          description: External event posted