Relativity BillingConfiguration API

The BillingConfiguration API from Relativity — 10 operation(s) for billingconfiguration.

Operations 10

POST /api/v1/billing-configuration/product-configurations Get product configuration
POST /api/v1/billing-configuration/package-consumption Get information about package consumption
POST /api/v1/billing-configuration/available-products Get information about products available for instance
POST /api/v1/billing-configuration/available-packages Get information about packages available for instance
POST /api/v1/billing-configuration/products-and-packages-availability Get information about products and packages availability for instance
POST /api/v2/billing-configuration/product-configurations Get product configuration
POST /api/v2/billing-configuration/package-consumption Get information about package consumption
POST /api/v2/billing-configuration/available-products Get information about products available for instance
POST /api/v2/billing-configuration/available-packages Get information about packages available for instance
POST /api/v2/billing-configuration/products-and-packages-availability Get information about products and packages availability for instance

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/relativity-billingconfiguration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

relativity-billingconfiguration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Analytics.Conceptual.Service.Interfaces.Public.V1 AnnotationService Billing Configuration API
  description: Analytics.Conceptual.Service.Interfaces.Public
  version: V1
servers:
- url: /Relativity.REST/api
  description: The URL prefix for all Kepler services
tags:
- name: BillingConfiguration
paths:
  /api/v1/billing-configuration/product-configurations:
    post:
      tags:
      - BillingConfiguration
      summary: Get product configuration
      description: Get product configuration for a given dates. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductConfigurationRequest'
            examples:
              All product configurations for an instance:
                summary: Product configurations for an instance for a given dates
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKeys:
                  - '202308'
                  - '202307'
                  metricKey: Relativity_Translate
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductConfigurationRequest'
            examples:
              All product configurations for an instance:
                summary: Product configurations for an instance for a given dates
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKeys:
                  - '202308'
                  - '202307'
                  metricKey: Relativity_Translate
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductConfigurationRequest'
            examples:
              All product configurations for an instance:
                summary: Product configurations for an instance for a given dates
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKeys:
                  - '202308'
                  - '202307'
                  metricKey: Relativity_Translate
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetProductConfigurationResponse'
              example:
                results:
                  Relativity_Translate:
                  - name: ConversionRate
                    dateKey: '202308'
                    value: 20
                  - name: ConversionRate
                    dateKey: '202307'
                    value: 30
            application/json:
              schema:
                $ref: '#/components/schemas/GetProductConfigurationResponse'
              example:
                results:
                  Relativity_Translate:
                  - name: ConversionRate
                    dateKey: '202308'
                    value: 20
                  - name: ConversionRate
                    dateKey: '202307'
                    value: 30
            text/json:
              schema:
                $ref: '#/components/schemas/GetProductConfigurationResponse'
              example:
                results:
                  Relativity_Translate:
                  - name: ConversionRate
                    dateKey: '202308'
                    value: 20
                  - name: ConversionRate
                    dateKey: '202307'
                    value: 30
  /api/v1/billing-configuration/package-consumption:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about package consumption
      description: Get package consumption for specific instance. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetPackageConsumptionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GetPackageConsumptionRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetPackageConsumptionRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetPackageConsumptionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/GetPackageConsumptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/GetPackageConsumptionResponse'
  /api/v1/billing-configuration/available-products:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about products available for instance
      description: Get information about products available for instance. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetAvailableProductsResponse'
              example:
                results:
                - metricKey: Relativity_Translate
                - metricKey: aiR_for_Privilege
            application/json:
              schema:
                $ref: '#/components/schemas/GetAvailableProductsResponse'
              example:
                results:
                - metricKey: Relativity_Translate
                - metricKey: aiR_for_Privilege
            text/json:
              schema:
                $ref: '#/components/schemas/GetAvailableProductsResponse'
              example:
                results:
                - metricKey: Relativity_Translate
                - metricKey: aiR_for_Privilege
  /api/v1/billing-configuration/available-packages:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about packages available for instance
      description: Get information about packages available for instance. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetAvailablePackagesResponse'
              example:
                results:
                - packageType: aiRBulkUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 1000000
                  unitOfMeasure: Documents
                  overageRate: 0.15
                  metricKeys:
                  - aiRforReview
                  - aiRforPrivilege
                - packageType: aiRUnitUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 500000
                  unitOfMeasure: Pages
                  overageRate: 0.1
                  metricKeys:
                  - aiR_for_Review
                  - aiR_for_Privilige
            application/json:
              schema:
                $ref: '#/components/schemas/GetAvailablePackagesResponse'
              example:
                results:
                - packageType: aiRBulkUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 1000000
                  unitOfMeasure: Documents
                  overageRate: 0.15
                  metricKeys:
                  - aiRforReview
                  - aiRforPrivilege
                - packageType: aiRUnitUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 500000
                  unitOfMeasure: Pages
                  overageRate: 0.1
                  metricKeys:
                  - aiR_for_Review
                  - aiR_for_Privilige
            text/json:
              schema:
                $ref: '#/components/schemas/GetAvailablePackagesResponse'
              example:
                results:
                - packageType: aiRBulkUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 1000000
                  unitOfMeasure: Documents
                  overageRate: 0.15
                  metricKeys:
                  - aiRforReview
                  - aiRforPrivilege
                - packageType: aiRUnitUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 500000
                  unitOfMeasure: Pages
                  overageRate: 0.1
                  metricKeys:
                  - aiR_for_Review
                  - aiR_for_Privilige
  /api/v1/billing-configuration/products-and-packages-availability:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about products and packages availability for instance
      description: Get information about products and packages availability for instance. If the requested data does not exist then false is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityResponse'
              example:
                results:
                - areProductsAvailable: true
                  arePackagesAvailable: true
            application/json:
              schema:
                $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityResponse'
              example:
                results:
                - areProductsAvailable: true
                  arePackagesAvailable: true
            text/json:
              schema:
                $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityResponse'
              example:
                results:
                - areProductsAvailable: true
                  arePackagesAvailable: true
  /api/v2/billing-configuration/product-configurations:
    post:
      tags:
      - BillingConfiguration
      summary: Get product configuration
      description: Get product configuration for a given dates. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductConfigurationRequest'
            examples:
              All product configurations for an instance:
                summary: Product configurations for an instance for a given dates
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKeys:
                  - '202308'
                  - '202307'
                  metricKey: Relativity_Translate
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductConfigurationRequest'
            examples:
              All product configurations for an instance:
                summary: Product configurations for an instance for a given dates
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKeys:
                  - '202308'
                  - '202307'
                  metricKey: Relativity_Translate
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductConfigurationRequest'
            examples:
              All product configurations for an instance:
                summary: Product configurations for an instance for a given dates
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKeys:
                  - '202308'
                  - '202307'
                  metricKey: Relativity_Translate
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetProductConfigurationResponse'
              example:
                results:
                  Relativity_Translate:
                  - name: ConversionRate
                    dateKey: '202308'
                    value: 20
                  - name: ConversionRate
                    dateKey: '202307'
                    value: 30
            application/json:
              schema:
                $ref: '#/components/schemas/GetProductConfigurationResponse'
              example:
                results:
                  Relativity_Translate:
                  - name: ConversionRate
                    dateKey: '202308'
                    value: 20
                  - name: ConversionRate
                    dateKey: '202307'
                    value: 30
            text/json:
              schema:
                $ref: '#/components/schemas/GetProductConfigurationResponse'
              example:
                results:
                  Relativity_Translate:
                  - name: ConversionRate
                    dateKey: '202308'
                    value: 20
                  - name: ConversionRate
                    dateKey: '202307'
                    value: 30
  /api/v2/billing-configuration/package-consumption:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about package consumption
      description: Get package consumption for specific instance. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetPackageConsumptionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/GetPackageConsumptionRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetPackageConsumptionRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetPackageConsumptionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/GetPackageConsumptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/GetPackageConsumptionResponse'
  /api/v2/billing-configuration/available-products:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about products available for instance
      description: Get information about products available for instance. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetAvailableProductsResponse'
              example:
                results:
                - metricKey: Relativity_Translate
                - metricKey: aiR_for_Privilege
            application/json:
              schema:
                $ref: '#/components/schemas/GetAvailableProductsResponse'
              example:
                results:
                - metricKey: Relativity_Translate
                - metricKey: aiR_for_Privilege
            text/json:
              schema:
                $ref: '#/components/schemas/GetAvailableProductsResponse'
              example:
                results:
                - metricKey: Relativity_Translate
                - metricKey: aiR_for_Privilege
  /api/v2/billing-configuration/available-packages:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about packages available for instance
      description: Get information about packages available for instance. If the requested data does not exist then 404 is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetAvailablePackagesResponse'
              example:
                results:
                - packageType: aiRBulkUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 1000000
                  unitOfMeasure: Documents
                  overageRate: 0.15
                  metricKeys:
                  - aiRforReview
                  - aiRforPrivilege
                - packageType: aiRUnitUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 500000
                  unitOfMeasure: Pages
                  overageRate: 0.1
                  metricKeys:
                  - aiR_for_Review
                  - aiR_for_Privilige
            application/json:
              schema:
                $ref: '#/components/schemas/GetAvailablePackagesResponse'
              example:
                results:
                - packageType: aiRBulkUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 1000000
                  unitOfMeasure: Documents
                  overageRate: 0.15
                  metricKeys:
                  - aiRforReview
                  - aiRforPrivilege
                - packageType: aiRUnitUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 500000
                  unitOfMeasure: Pages
                  overageRate: 0.1
                  metricKeys:
                  - aiR_for_Review
                  - aiR_for_Privilige
            text/json:
              schema:
                $ref: '#/components/schemas/GetAvailablePackagesResponse'
              example:
                results:
                - packageType: aiRBulkUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 1000000
                  unitOfMeasure: Documents
                  overageRate: 0.15
                  metricKeys:
                  - aiRforReview
                  - aiRforPrivilege
                - packageType: aiRUnitUsage
                  startDate: '0001-01-01T00:00:00'
                  endDate: '9999-12-31T23:59:59.9999999'
                  quantity: 500000
                  unitOfMeasure: Pages
                  overageRate: 0.1
                  metricKeys:
                  - aiR_for_Review
                  - aiR_for_Privilige
  /api/v2/billing-configuration/products-and-packages-availability:
    post:
      tags:
      - BillingConfiguration
      summary: Get information about products and packages availability for instance
      description: Get information about products and packages availability for instance. If the requested data does not exist then false is returned.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          text/json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityRequest'
            examples:
              Products and packages availability for an instance:
                summary: Products and packages availability for an instance for a given date
                value:
                  instanceID: f53c069b-9706-4570-8f97-be6e8fdbe156
                  dateKey: '202308'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityResponse'
              example:
                results:
                - areProductsAvailable: true
                  arePackagesAvailable: true
            application/json:
              schema:
                $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityResponse'
              example:
                results:
                - areProductsAvailable: true
                  arePackagesAvailable: true
            text/json:
              schema:
                $ref: '#/components/schemas/GetProductsAndPackagesAvailabilityResponse'
              example:
                results:
                - areProductsAvailable: true
                  arePackagesAvailable: true
components:
  schemas:
    ProductsAndPackagesAvailability:
      type: object
      properties:
        areProductsAvailable:
          type: boolean
        arePackagesAvailable:
          type: boolean
      additionalProperties: false
    GetPackageConsumptionResponse:
      type: object
      properties:
        metricKey:
          type:
          - string
          - 'null'
          description: MetricKey
        aggregationDateUtc:
          type: string
          description: Date when the recalculation of consumed packages was done
          format: date-time
        results:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PackageConsumptionItem'
          description: List of package consumptions
      additionalProperties: false
    GetProductsAndPackagesAvailabilityRequest:
      type: object
      properties:
        instanceID:
          type:
          - string
          - 'null'
          description: Specifies the instanceId for which the data should be returned
        dateKey:
          type:
          - string
          - 'null'
          description: 'Specifies the year and the month for which details should be returned. Format: YYYYMM.'
          example: 202209
      additionalProperties: false
    ProductConfigurationDetails:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
          description: Name of the product
        dateKey:
          type:
          - string
          - 'null'
          description: The Year and the month for which configuration details is returned
        value:
          description: Value reported for given product configuration
      additionalProperties: false
    GetAvailablePackagesResponse:
      type: object
      properties:
        results:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PackageDetails'
          description: List of available packages
      additionalProperties: false
    ProductDetails:
      type: object
      properties:
        metricKey:
          type:
          - string
          - 'null'
      additionalProperties: false
    PackageConsumptionItem:
      type: object
      properties:
        type:
          enum:
          - Free
          - Purchased
          type: string
          description: 'Type of the package

            List of possible values:

            - Free

            - Purchased'
        total:
          type: number
          description: Total units of the package
          format: double
        consumed:
          type: number
          description: Consumed units of the package
          format: double
        expirationDateUtc:
          type: string
          description: Expiration date of the package
          format: date-time
      additionalProperties: false
    GetAvailableProductsResponse:
      type: object
      properties:
        results:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ProductDetails'
          description: List of available products
      additionalProperties: false
    GetProductsAndPackagesAvailabilityResponse:
      type: object
      properties:
        results:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ProductsAndPackagesAvailability'
          description: Configuration of available extended products
      additionalProperties: false
    GetProductConfigurationResponse:
      type: object
      properties:
        results:
          type:
          - object
          - 'null'
          additionalProperties:
            type:
            - array
            - 'null'
            items:
              $ref: '#/components/schemas/ProductConfigurationDetails'
          description: 'Product configuration.

            Each property in this object is the _metricKey_ specified in the request.'
      additionalProperties: false
    GetProductConfigurationRequest:
      type: object
      properties:
        instanceID:
          type:
          - string
          - 'null'
          description: Specifies the instanceId for which the data should be returned
        dateKeys:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 'An array of years with months for which data should be returned. Format: ["YYYYMM"].'
          example:
          - 202208,202209
        metricKey:
          type:
          - string
          - 'null'
          description: 'Specif

# --- truncated at 32 KB (33 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/relativity/refs/heads/main/openapi/relativity-billingconfiguration-api-openapi.yml