list billable metrics
GET/org/:orgId/billableMetric
list billable metrics for the given organization.
Request
Path Parameters
Organization ID
Query Parameters
Status of the billable metric
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
Possible values: [COUNT
, UNIQUE_COUNT
, SUM
, MAX
, LAST
]
Possible values: <= 300 characters
Possible values: <= 36 characters
info
object
filterGroups
object[]
FilterGroups is a list of filter groups. The filterGroups are connected by AND.
filters
object[]
Possible values: [IS
, NOT_IS
, CONTAINS
, NOT_CONTAINS
, GT
, GTE
, LT
, LTE
, EQ
, NOT_EQ
, EXISTS
, NOT_EXISTS
]
The value of the filter. The type of the value depends on the valueType.
Possible values: [STRING
, FLOAT
]
GroupBys is a list of fields to group by.
The target property for unique count aggregate.
Possible values: >= 4 characters
and <= 50 characters
Possible values: [ACTIVE
, DELETED
]
[
{
"aggregationType": "COUNT",
"creationTime": "2024-07-29T15:51:28.071Z",
"description": "string",
"id": "string",
"info": {
"filterGroups": [
{
"filters": [
{
"name": "string",
"operation": "IS",
"valueType": "STRING"
}
]
}
],
"groupBys": [
"string"
],
"propertyUniqueOn": "string"
},
"lastUpdateTime": "2024-07-29T15:51:28.071Z",
"name": "string",
"organizationId": "string",
"status": "ACTIVE"
}
]
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string