Docs · operation listSources
List sources
The workspace's sources (one ad account each) with their state.
GET /api/v1/sources
Scope
read. Success is HTTP 200.No parameters.
Example
curl -H "Authorization: Bearer $ETLMCP_API_KEY" https://app.etlmcp.com/api/v1/sources
Response: list of Source
| Field | Type | About |
|---|---|---|
id | string | |
network | string | |
external_id | string | The account id on the network. |
name | string | |
enabled | boolean | |
state | string | `ok`, `needs_reconnect`, `invalid` or `disabled`. |
created_at | date-time |
Errors
400The request is invalid: a bad date, range, field or limit.401No credential, or one that is unknown, revoked or expired.403The credential lacks the scope this operation needs.404No such object in the credential's workspace.409A run is already queued or running for this pipeline, or the plan does not allow it.429Over the rate limit; see the Retry-After header.