Skip to main content
Erna exposes a scheduling API with these parts:
  • Playbooks and connectors for API discovery
  • Connections for service authorization
  • Pipelines for reusable scheduling definitions
  • Runs for asynchronous pipeline execution
  • Billing for credits and checkout
  • MCP for interactive scheduling in Claude and ChatGPT

Base URLs

REST and billing use:
MCP uses:

REST API

Create a pipeline

Use POST /v1/workspaces/{workspaceId}/pipelines to create a reusable pipeline.

Run a pipeline

Use POST /v1/workspaces/{workspaceId}/pipelines/{pipelineId}/runs to invoke the latest ready revision.
Typical response:
Runs can also return actionable states such as auth_required, input_required, or unsupported.

Check run status

Use GET /v1/runs/{runId} to poll the current run state.

Billing

Billing endpoints:
  • GET /v1/billing/balance
  • GET /v1/billing/transactions
  • POST /v1/billing/checkout
  • POST /v1/billing/webhook
Example:

MCP API

Erna also exposes an MCP server for interactive scheduling:
  • Base URL: https://mcp.erna.ai
  • POST /mcp
  • GET /sse
  • POST /sse/message
  • GET /.well-known/oauth-protected-resource
The MCP tools are:
  • search
  • execute

Errors

All error responses follow a consistent format: