Skip to main content
POST
/
topics
/
table_metrics
Table Metrics
curl --request POST \
  --url https://api.streamkap.com/topics/table_metrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entities": [
    {
      "id": "<string>",
      "entity_type": "<string>",
      "connector": "<string>",
      "topic_ids": [
        "<string>"
      ],
      "topic_db_ids": [
        "<string>"
      ]
    }
  ],
  "timestamp_from": "<string>",
  "timestamp_to": "<string>",
  "time_type": "timeseries",
  "time_interval": 123,
  "time_unit": "minute"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
entities
SingleTopicTableMetricReq · object[]
required

List of entities (sources/destinations/transforms) with their topic IDs for which to fetch metrics

timestamp_from
string | null

Start timestamp for metrics time range

timestamp_to
string | null

End timestamp for metrics time range

time_type
enum<string> | null

Type of time aggregation (latest/timeseries/timesummary)

Available options:
timeseries,
timesummary,
latest
time_interval
integer | null

Time interval for aggregation

time_unit
enum<string> | null

Time unit for aggregation interval

Available options:
minute,
hour,
day,
week,
month

Response

Successful Response

The response is of type Response Table Metrics Topics Table Metrics Post · object.