Get usage metrics (POST)
POST alternative for GET /billing/usage/metrics. Use when URL length limits are exceeded (e.g., 100+ tenant IDs). Supports both query parameters and request body. Body parameters take precedence over query parameters.
POST
/billing/usage/metricsAuthorization
AuthorizationBearer token · headerrequiredQuery parameters
page_sizeintegerpageintegersortstringdefault: "asc"
Allowed:
ascdescidstringconnectorstringSource connector name. Example: postgresql, mysql, ...
partial_namestringEnter the source name you want to search for
tenant_idsstringA comma-separated list of Tenant IDs
entity_typestringdefault: "sources"
Request body
application/jsonAny of:
GetUsageMetricsReqBody
tenant_idsstring[] | string | nullList of tenant IDs (as array) or comma-separated string. Body takes precedence over query params.
Show propertiesHide properties
Any of:
string[]
Array of
stringstringstring
stringnull
nullnull
nullResponses
200
Successful Response
object422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject