Get destination metrics (POST)
POST alternative for GET /destinations/metrics. Use when URL length limits are exceeded (e.g., 100+ IDs). Supports both query parameters and request body. Body parameters take precedence over query parameters.
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Entity identifier to fetch metrics for
Starting index for topic list pagination
Number of topics to return in the list
Number of results to return
Metrics aggregation level (e.g., 'connector', 'task', 'topic')
End timestamp for metrics range (ISO 8601, e.g., '2025-01-15T10:00:00Z')
Start timestamp for metrics range (ISO 8601, e.g., '2025-01-15T09:00:00Z')
Time unit for aggregation (e.g., 'minute', 'hour', 'day')
Type of time-based query: 'timeseries', 'latest', or 'timesummary'
A comma-separated list of Tenant IDs
A comma-separated list of destination IDs
Snapshot status filter
Field to sort results by
Sort direction: 'asc' or 'desc'
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 9 revisions of this API.