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

Pipelines

Get pipeline usage

GET/pipelines/{uuid}/usage

Returns table-level usage statistics for the specified pipeline within a given time range. Requires 'from' and 'to' query parameters in RFC3339 format. Pass 'excludeBackfills=true' to exclude backfill rows from row counts.

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request GET \
  --url 'https://api.artie.com/pipelines/{uuid}/usage?from=<from>&to=<to>' \
  --header 'Authorization: Bearer <token>'

Path parameters

  • uuidstringrequired

Query parameters

  • fromstring<date-time>required
  • tostring<date-time>required
  • excludeBackfillsboolean

    When true, rows processed by backfills are excluded from row counts so only CDC rows are counted. Latency is not affected. Defaults to false.

Responses

200OKapplication/json

  • tableStatsobject[]required
    Show child attributes
    • countinteger<int64>
    • latencynumber | null
    • tableNamestring

400Bad Request

500Internal Server Error

502Bad Gateway

200 OK
{
  "tableStats": [
    {
      "count": 123,
      "latency": 123,
      "tableName": "<string>"
    }
  ]
}

Was this page helpful?