- 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:REST API
Create a pipeline
UsePOST /v1/workspaces/{workspaceId}/pipelines to create a reusable pipeline.
Run a pipeline
UsePOST /v1/workspaces/{workspaceId}/pipelines/{pipelineId}/runs to invoke the latest ready revision.
auth_required, input_required, or unsupported.
Check run status
UseGET /v1/runs/{runId} to poll the current run state.
Billing
Billing endpoints:GET /v1/billing/balanceGET /v1/billing/transactionsPOST /v1/billing/checkoutPOST /v1/billing/webhook
MCP API
Erna also exposes an MCP server for interactive scheduling:- Base URL:
https://mcp.erna.ai POST /mcpGET /ssePOST /sse/messageGET /.well-known/oauth-protected-resource
searchexecute
Errors
All error responses follow a consistent format:| Status | Meaning |
|---|---|
| 400 | Invalid request body |
| 401 | Missing or invalid authentication |
| 402 | Insufficient credits |
| 403 | Missing required scope |
| 404 | Resource not found |
| 409 | Conflicting or not-ready resource |
| 422 | Invalid run input |
| 500 | Internal error |