Skip to main content

list billable metrics

GET 

/org/:orgId/billableMetric

list billable metrics for the given organization.

Request

Path Parameters

    orgId stringrequired

    Organization ID

Query Parameters

    status string

    Status of the billable metric

Responses

OK

Schema

  • Array [

  • aggregationType BillableMetricAggregationType (string)

    Possible values: [COUNT, UNIQUE_COUNT, SUM, MAX, LAST]

    creationTime date-time
    description string

    Possible values: <= 300 characters

    id string

    Possible values: <= 36 characters

    info

    object

    filterGroups

    object[]

    FilterGroups is a list of filter groups. The filterGroups are connected by AND.

  • Array [

  • filters

    object[]

  • Array [

  • name string
    operation BillableMetricFilterOperation (string)

    Possible values: [IS, NOT_IS, CONTAINS, NOT_CONTAINS, GT, GTE, LT, LTE, EQ, NOT_EQ, EXISTS, NOT_EXISTS]

    value

    The value of the filter. The type of the value depends on the valueType.

    valueType BillableMetricFilterValueType (string)

    Possible values: [STRING, FLOAT]

  • ]

  • ]

  • groupBys string[]

    GroupBys is a list of fields to group by.

    propertyUniqueOn string

    The target property for unique count aggregate.

    lastUpdateTime date-time
    name string

    Possible values: >= 4 characters and <= 50 characters

    organizationId string
    status BillableMetricStatus (string)

    Possible values: [ACTIVE, DELETED]

  • ]

Loading...