Analytics
Query analytics data
GET
/analyticsQueries Datadog metrics for analytics datasets such as rows synced, ingestion lag, flush time, and more. pipelineUUID is required for API keys bound to an environment. For windows of 59 minutes or longer, from and to are floored to 30 s and results are cached for up to 1 minute.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request GET \
--url 'https://api.artie.com/analytics?from=<from>&to=<to>&datasets%5B%5D=<datasets[]>' \
--header 'Authorization: Bearer <token>'Query parameters
fromstringrequiredtostringrequireddatasets[]string[]requiredpipelineUUIDstringtables[]string[]backfillOptionsstringtransferModestringgroupBystring
Responses
200OKapplication/json
datasetsRecord<string, object>requiredShow child attributes
dataobject[] | nullrequiredShow child attributes
Option 1object[]Show child attributes
dimensionsobjectShow child attributes
operationstringpipelineUUIDstring<uuid> | nullreasonstringslotstringtablestringwarehouseNamestringwarehouseSizestring
granularityIntervalinteger | nullpointsobject[] | nullShow child attributes
valueinteger<int64>
Option 2object[]Show child attributes
dimensionsobjectShow child attributes
operationstringpipelineUUIDstring<uuid> | nullreasonstringslotstringtablestringwarehouseNamestringwarehouseSizestring
granularityIntervalinteger | nullpointsobject[] | nullShow child attributes
timeinteger<int64>valuenumber<double>
Option 3null
errstring | nullrequiredunitstringrequired
400Bad Request
500Internal Server Error
200 OK
{
"datasets": {
"key": {
"data": [
{
"dimensions": {
"operation": "<string>",
"pipelineUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reason": "<string>",
"slot": "<string>",
"table": "<string>",
"warehouseName": "<string>",
"warehouseSize": "<string>"
},
"granularityInterval": 123,
"points": [
{
"value": {}
}
]
}
],
"err": "<string>",
"unit": "count"
}
}
}