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_sizeinteger | anypageinteger | anysortstringdefault: "asc"
Allowed:
ascdescidstring | anyconnectorstring | anySource connector name. Example: postgresql, mysql, ...
partial_namestring | anyEnter the source name you want to search for
tenant_idsstring | anyA comma-separated list of Tenant IDs
entity_typestring | anydefault: "sources"
Request body
application/jsonAny of:
GetUsageMetricsReqBody
tenant_idsstring[] | string | anyList of tenant IDs (as array) or comma-separated string. Body takes precedence over query params.
Show propertiesHide properties
Any of:
string[]
Array of
stringstringstring
stringany
anyany
anyResponses
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