Docs · the works explained
Documentation
The REST API, the MCP server for AI agents, and every connector. Each reference page is generated from the code it describes.
The REST API
Read and run, with an API key. Version 1.
GET /api/v1/networksList networksGET /api/v1/sourcesList sourcesGET /api/v1/destinationsList destinationsGET /api/v1/pipelinesList pipelinesGET /api/v1/pipelines/{pipeline_id}Get a pipelinePOST /api/v1/pipelines/{pipeline_id}/runsStart a runGET /api/v1/runsList runsGET /api/v1/runs/{run_id}Get a runGET /api/v1/dataQuery stored data
The OpenAPI description is published alongside.
The MCP Server
Connect an AI agent at
https://app.etlmcp.com/mcp.list_sourcesList sourceslist_destinationsList destinationslist_pipelinesList pipelinesrun_pipelineRun a pipelineget_runGet a runquery_dataQuery stored data
Connectors
One page each: what it reads and the common fields it fills.
- Google Adsad platformComing
- Metaad platformComing
- Microsoft Advertisingad platformComing
- Pinterestad platformComing
- Snapchatad platformComing
- Google Analytics 4data sourceComing
- TikTokad platformComing
- LinkedInad platformComing
- Shopifydata sourceComing
- Amazon Adsad platformComing
- Demo datademo sourceAvailable
Articles
How each part of the works behaves, area by area.
Account
API guides
- API status codes and error bodies
- Authenticating to the etlmcp API
- Creating, storing and revoking API keys
- Recipe: alert on failed runs and broken sources
- Recipe: backfill several years from a script, one year at a time
- Recipe: read stored rows with /api/v1/data
- Recipe: start a run and wait for it to finish
- The OpenAPI document and generating a client
Connectors
- Choosing ad accounts and disconnecting
- Connected with the wrong login: 'reconnect first', no accounts, or 'did not complete'
- Errors shared by every connector
- Expiring connections and reconnect emails
- GA4 campaigns renamed during a day: merged rows and empty user counts
- GA4 connector errors
- GA4 connector: what is synced and how
- Google Ads connector errors
- Google Ads connector: what is synced and how
- Google Workspace admin blocks Google Ads or GA4: 'admin_policy_enforced' and the fix
- LinkedIn connector errors
- LinkedIn connector: what is synced and how
- Meta connector errors
- Meta connector: what is synced and how
- Microsoft Advertising connector errors
- Microsoft Advertising connector: what is synced and how
- Moving ad accounts to another person's login without losing their history
- Pinterest connector errors
- Pinterest connector: what is synced and how
- Shopify connector errors
- Shopify connector: what is synced and how
- Snapchat connector errors
- Snapchat connector: what is synced and how
- Source states: ok, needs_reconnect, invalid, disabled
- TikTok connector errors
- TikTok connector: what is synced and how
Destinations
- 'cannot delete from table … replica identity': etlmcp tables in a publication
- Allowing etlmcp through your firewall: the address it connects from
- Destinations: which are available and which are coming
- How PostgreSQL rows are replaced on each run
- PostgreSQL destination errors
- PostgreSQL destination setup
- PostgreSQL table and schema names: capitals, spaces and missing schemas
- Spreadsheet (CSV) export
- Webhook (HTTPS POST) destination
- Webhook destination errors
- Webhook payload, batching and retries
Errors
- '<Platform> needs reconnecting'
- '<Platform> only provides data from YYYY-MM-DD'
- 'Google Analytics no longer has complete data for … choose a later start'
- 'host not allowed': why etlmcp refuses a destination's host
- 'Not every permission was granted': allow all requested access
- 'the X plan allows N sources and M destinations'
- 'this ad account is no longer accessible'
- 'verification failed' at log-in or sign-up: the Cloudflare Turnstile check
- 'verify your email first': what an unconfirmed account can't do and how to confirm it
- 'you have not been added to a workspace in this organization yet; ask an owner'
- 403 'an organization on this plan can have N pipelines'
- 409 'N syncs are already queued or running'
- 429 'too many requests': every rate limit in etlmcp
- Error: 'the Free plan runs pipelines in 1 workspace'
MCP
- Agent recipe: re-sync a pipeline, then answer from fresh data
- Connecting an MCP client with OAuth
- Getting right answers from query_data
- Letting an AI agent start syncs safely with run_pipeline
- MCP OAuth token lifetimes and why a client must reconnect
- MCP tool error messages
- MCP tools vs the REST API: limits and differences
- Seeing and disconnecting connected apps
- Using an API key with the MCP server
Notifications
Pipelines
- Backfills and manual runs over a date range
- Changing a pipeline's rules, source or destination after it has delivered
- Pipeline settings reference
- Retries and how long etlmcp waits
- Rows in, rows out and the range: reading a run
- Run statuses: queued, running, success, partial, failed
- The trailing sync window: which days each run re-pulls
- When a pipeline runs: daily hour and time zone
- Why a pipeline didn't run today: skipped, paused or never queued
- Why a run says 'waiting for other large syncs to end'
- Why runs on one platform login wait for each other
Plans
Security
- How etlmcp encrypts stored credentials
- Shopify customer data and the privacy webhooks
- What etlmcp deletes on its own: exports, sessions and OAuth records
- What etlmcp keeps out of its logs
- What happens at the platform when you remove a connection
- What is deleted when you delete a source, destination or pipeline
- What the API and MCP show of your destinations
- Which permissions etlmcp asks each platform for
- Why etlmcp asks for the password again when you change a host
- Why some CSV values start with an apostrophe
Transforms
- Derive rule
- Expression functions
- Expression syntax for filter and derive
- Filter rule
- fx rule: currency conversion
- Group by rule and aggregations
- Rules that remove the date column: what PostgreSQL, CSV and webhooks receive
- Transform rules: how a rule list is applied
- Transform validation errors
- Which delivered columns are numeric and which are text