Skip to main content

Consumptions

GET 

/api/billing/consumptions

This endpoint exposes consumptions which can be used for monitoring the amount of data processed by the system by all technologies it provides. The consumption data is also used for billing and licensing purposes.

The data is grouped by the labels billing and licensing is based on: one consumption group for each distinct combination of labels and their values. Currently, all-time consumptions are returned.

Request

Header Parameters

    x-correlation-id X-Correlation-Id

    Correlation ID is a special type of request ID which is unique over a series of requests and responses, identifying a transaction in a distributed system. Correlation ID will be generated if not provided.

    x-request-id X-Request-Id

    In distributed system architecture (microservices architecture) it is a unique ID of a request and response combination throughout all components of the system. Request ID will be generated if not provided.

Responses

Successful Response

Schema

    items

    object[]

    required

  • Array [

  • labels

    object[]

    required

    Possible values: >= 1

  • Array [

  • key LabelKey (string)required

    Possible values: [technology, vendor, operation]

    Label key allowed for labeling consumption group.

    value

    object

    required

    Unspecified label value.

    anyOf

    Allowed label value for technology label key.

    string

    Possible values: [speaker_identification, speech_to_text, time_analysis, language_identification, speaker_diarization, voice_activity_detection, audio_quality_estimation]

  • ]

  • consumptions

    object[]

    required

  • Array [

  • property Property (string)required

    Possible values: [processed_audio_length]

    Billing property.

    The property represents a countable item that can be measured during processing. The example property is the audio length used during processing.

    consumption Consumption (number)required
  • ]

  • ]

Loading...