Docs · operation queryData
Query stored data
The workspace's stored daily rows as pulled from each network, before any pipeline's transform rules. Dates are in the account's own timezone.
GET /api/v1/data
Scope
read. Success is HTTP 200.| Parameter | In | Type | Required | About |
|---|---|---|---|---|
start | query | string or null | no | YYYY-MM-DD |
end | query | string or null | no | YYYY-MM-DD |
network | query | string or null | no | |
source_id | query | string or null | no | |
fields | query | string or null | no | Comma-separated field names |
limit | query | integer | no |
Example
curl -H "Authorization: Bearer $ETLMCP_API_KEY" https://app.etlmcp.com/api/v1/data
Response: DataResult
| Field | Type | About |
|---|---|---|
rows | list of object | Stored rows as pulled from the network, before transform rules. |
total | integer | Number of rows returned. |
truncated | boolean | True when more rows matched than `limit`. |
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.