Coralogix Quota Allocation Rule Set service API

Manage quota allocation rules for different entity types.

Operations 4

GET /dataplan/quota-rules/v1 Get quota allocation rule set #
PUT /dataplan/quota-rules/v1 Replace quota allocation rule set #
POST /dataplan/quota-rules/v1 Create quota allocation rule set #
DELETE /dataplan/quota-rules/v1 Delete quota allocation rule set #

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/coralogix:coralogix-quota-allocation-rule-set-service-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

coralogix-quota-allocation-rule-set-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coralogix Management Quota Allocation Rule Set service API
  version: '5'
  description: 'Management API for the Coralogix observability platform. The base URL is region-specific: pick the `servers` entry matching your Coralogix domain. Authentication is a bearer API key.'
servers:
- url: https://api.eu1.coralogix.com/mgmt/openapi/5
- url: https://api.eu2.coralogix.com/mgmt/openapi/5
- url: https://api.us1.coralogix.com/mgmt/openapi/5
- url: https://api.us2.coralogix.com/mgmt/openapi/5
- url: https://api.us3.coralogix.com/mgmt/openapi/5
- url: https://api.ap1.coralogix.com/mgmt/openapi/5
- url: https://api.ap2.coralogix.com/mgmt/openapi/5
- url: https://api.ap3.coralogix.com/mgmt/openapi/5
- url: https://api.gov1.coralogixgov.us/mgmt/openapi/5
security:
- apiKeyAuth: []
tags:
- name: Quota Allocation Rule Set service
  description: Manage quota allocation rules for different entity types.
paths:
  /dataplan/quota-rules/v1:
    get:
      description: 'Returns the current quota allocation rules.


        Requires the following permissions:

        - `team-quota-rules:Read`'
      operationId: QuotaAllocationRuleSetService_GetQuotaAllocationRuleSet
      parameters:
      - description: Unique identifier.
        in: query
        name: id
        required: false
        schema:
          description: Unique identifier.
          minLength: 0
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetQuotaAllocationRuleSetResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rule set not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      summary: Get quota allocation rule set
      tags:
      - Quota Allocation Rule Set service
      x-coralogixPermissions:
      - team-quota-rules:Read
    put:
      description: 'Updates the quota allocation rules.


        Requires the following permissions:

        - `team-quota-rules:Manage`'
      operationId: QuotaAllocationRuleSetService_ReplaceQuotaAllocationRuleSet
      requestBody:
        content:
          application/json:
            schema:
              description: Request to replace quota allocation rule set
              properties:
                ruleSet:
                  $ref: '#/components/schemas/QuotaAllocationEntityTypeRuleSet'
              required:
              - ruleSet
              title: Replace quota allocation rule set request
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReplaceQuotaAllocationRuleSetResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rule set not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      summary: Replace quota allocation rule set
      tags:
      - Quota Allocation Rule Set service
      x-coralogixPermissions:
      - team-quota-rules:Manage
    post:
      description: 'Creates new quota allocation rules.


        Requires the following permissions:

        - `team-quota-rules:Manage`'
      operationId: QuotaAllocationRuleSetService_CreateQuotaAllocationRuleSet
      requestBody:
        content:
          application/json:
            schema:
              description: Request to create a new quota allocation rule set
              properties:
                ruleSet:
                  $ref: '#/components/schemas/QuotaAllocationEntityTypeRuleSet'
              required:
              - ruleSet
              title: Create quota allocation rule set request
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateQuotaAllocationRuleSetResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized request
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rule set already exists
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      summary: Create quota allocation rule set
      tags:
      - Quota Allocation Rule Set service
      x-coralogixPermissions:
      - team-quota-rules:Manage
    delete:
      description: 'Deletes the quota allocation rules.


        Requires the following permissions:

        - `team-quota-rules:Manage`'
      operationId: QuotaAllocationRuleSetService_DeleteQuotaAllocationRuleSet
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteQuotaAllocationRuleSetResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rule set not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      summary: Delete quota allocation rule set
      tags:
      - Quota Allocation Rule Set service
      x-coralogixPermissions:
      - team-quota-rules:Manage
components:
  schemas:
    Error:
      type: object
      properties:
        code:
          maximum: 599
          minimum: 100
          type: integer
          description: HTTP status code of the error (for example 400, 404, 500).
          format: int32
        message:
          maxLength: 4096
          minLength: 0
          pattern: ^[\s\S]*$
          type: string
          description: Human-readable description of the error.
      description: Standard error response body returned for a failed request.
    DeleteQuotaAllocationRuleSetResponse:
      title: Delete quota allocation rule set response
      type: object
      properties:
        id:
          minLength: 0
          type: string
          description: Unique identifier.
      description: Response confirming quota allocation rule set has been successfully deleted
    CreateQuotaAllocationRuleSetResponse:
      title: Create quota allocation rule set response
      type: object
      properties:
        ruleSet:
          $ref: '#/components/schemas/QuotaAllocationEntityTypeRuleSet'
      description: Response confirming quota allocation rule set has been successfully created
    ReplaceQuotaAllocationRuleSetResponse:
      title: Replace quota allocation rule set response
      type: object
      properties:
        ruleSet:
          $ref: '#/components/schemas/QuotaAllocationEntityTypeRuleSet'
      description: Response confirming quota allocation rule set has been successfully replaced
    QuotaAllocationEntityTypeRuleSet:
      title: Quota allocation entity type rule set
      type: object
      properties:
        id:
          minLength: 0
          type: string
          description: Unique identifier.
        rules:
          description: 'List of rules. The server does not keep the order of the rules. Each entity type can have one rule: the service rejects a request with two rules for the same entity type, so a list never has two equal rules. In a `POST` or `PUT` request, an empty or omitted list clears the rules of the customer. In a response, an omitted list is an empty rule set.'
          items:
            $ref: '#/components/schemas/QuotaAllocationEntityTypeRule'
          minItems: 0
          type: array
          x-coralogix-collection: set
      description: Contains a collection of quota allocation rules for entity types
    QuotaAllocationEntityTypeRule:
      title: Quota allocation entity type rule
      required:
      - entityType
      - allocation
      - enabled
      - canOverflow
      type: object
      properties:
        allocation:
          minimum: 0
          type: number
          description: The allocation. A percentage allocation (the default type) is between 0 and 100, and the percentages of the enabled rules must sum to at most 100. A locked units allocation is a non-negative number of units.
          format: float
        allocationType:
          allOf:
          - $ref: '#/components/schemas/QuotaAllocationType'
          description: Determines whether allocation is interpreted as a percentage or locked units. Unspecified defaults to percentage for backwards compatibility.
        canOverflow:
          type: boolean
          description: The can overflow.
        cxManaged:
          type: boolean
          description: Indicates whether the quota allocation rule is managed by Coralogix. This field is returned by the service and must not be sent in Create or Replace requests.
          readOnly: true
        enabled:
          type: boolean
          description: Whether this resource is enabled.
        entityType:
          minLength: 1
          type: string
          description: The entity type.
      description: Defines quota allocation rule for a specific entity type
    QuotaAllocationType:
      title: Quota allocation type
      enum:
      - QUOTA_ALLOCATION_TYPE_UNSPECIFIED
      - QUOTA_ALLOCATION_TYPE_PERCENTAGE
      - QUOTA_ALLOCATION_TYPE_LOCKED_UNITS
      type: string
      description: Specifies whether the allocation value is interpreted as a percentage or as locked units.
    GetQuotaAllocationRuleSetResponse:
      title: Get quota allocation rule set response
      type: object
      properties:
        ruleSet:
          $ref: '#/components/schemas/QuotaAllocationEntityTypeRuleSet'
      description: Response containing quota allocation rule set
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key authentication
externalDocs:
  description: Coralogix API reference
  url: https://coralogix.com/docs/api-reference/v5/
x-provenance:
  method: harvested
  publisher: Coralogix
  source: https://coralogix.com/docs/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)