Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Analytics

Query analytics data

GET/analytics

Queries 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

  • Authorizationstringheaderrequired

    API 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

  • fromstringrequired
  • tostringrequired
  • datasets[]string[]required
  • pipelineUUIDstring
  • tables[]string[]
  • backfillOptionsstring
  • transferModestring
  • groupBystring

Responses

200OKapplication/json

  • datasetsRecord<string, object>required
    Show child attributes
    • dataobject[] | nullrequired
      Show child attributes
      • Option 1object[]
        Show child attributes
        • dimensionsobject
          Show child attributes
          • operationstring
          • pipelineUUIDstring<uuid> | null
          • reasonstring
          • slotstring
          • tablestring
          • warehouseNamestring
          • warehouseSizestring
        • granularityIntervalinteger | null
        • pointsobject[] | null
          Show child attributes
          • valueinteger<int64>
      • Option 2object[]
        Show child attributes
        • dimensionsobject
          Show child attributes
          • operationstring
          • pipelineUUIDstring<uuid> | null
          • reasonstring
          • slotstring
          • tablestring
          • warehouseNamestring
          • warehouseSizestring
        • granularityIntervalinteger | null
        • pointsobject[] | null
          Show child attributes
          • timeinteger<int64>
          • valuenumber<double>
      • Option 3null
    • errstring | nullrequired
    • unitstringrequired

      Available options: count, megabytes, ms, bytes

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"
    }
  }
}