The REST API
Read your sources, destinations, pipelines, runs and stored data, and start runs.
Authentication
Every request goes to https://app.etlmcp.com/api/v1 with an API key in the Authorization header. Create keys on the API page of the app; a key is shown once, reads and runs one workspace of your organization, and stops working if it is revoked or its creator loses that workspace.
curl -H "Authorization: Bearer $ETLMCP_API_KEY" https://app.etlmcp.com/api/v1/pipelines
A key in the URL is refused: send it only in the header.
Scopes
read— list sources, destinations, pipelines and runs; query data. Every key has it.run— start runs. Without it, starting a run is 403.
Nothing in the API creates connections, edits pipelines, changes billing or reveals a destination password.
Errors and Rate Limits
Errors are JSON: {"error": "…"}. 400 a bad argument, 401 a missing, revoked or expired credential, 403 a missing scope, 404 no such object in the key's workspace (another workspace's id is 404 too), 409 a run already queued or running, 429 over the limit.
Each credential may make 120 requests per 60 seconds, REST and MCP together. Over it, the answer is 429 with a Retry-After header in seconds.
Versioning
Within v1 changes are additive only: new endpoints, new optional parameters, new response fields. Nothing is removed or retyped. Read the OpenAPI description for the exact contract.
| Operation | Method and path | Scope |
|---|---|---|
| List networks | GET /api/v1/networks | read |
| List sources | GET /api/v1/sources | read |
| List destinations | GET /api/v1/destinations | read |
| List pipelines | GET /api/v1/pipelines | read |
| Get a pipeline | GET /api/v1/pipelines/{pipeline_id} | read |
| Start a run | POST /api/v1/pipelines/{pipeline_id}/runs | run |
| List runs | GET /api/v1/runs | read |
| Get a run | GET /api/v1/runs/{run_id} | read |
| Query stored data | GET /api/v1/data | read |