OpenObserve Ratelimit API

Ratelimit operations

Operations 3

GET /api/{org_id}/ratelimit/module_list List module rate limit rules #
GET /api/{org_id}/ratelimit/role_list List role-based rate limit rules #
PUT /api/{org_id}/ratelimit/update Update rate limit rules #

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/openobserve-ratelimit-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

openobserve-ratelimit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: openobserve Actions Ratelimit API
  description: OpenObserve API documents [https://openobserve.ai/docs/](https://openobserve.ai/docs/)
  contact:
    name: OpenObserve
    url: https://openobserve.ai/
    email: hello@zinclabs.io
  license:
    name: AGPL-3.0
    identifier: AGPL-3.0
  version: 0.90.0
servers:
- url: https://api.openobserve.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Ratelimit
  description: Ratelimit operations
paths:
  /api/{org_id}/ratelimit/module_list:
    get:
      tags:
      - Ratelimit
      summary: List module rate limit rules
      description: Retrieves rate limiting rules applied at the organization module level, including thresholds and configurations for different API groups
      operationId: listModuleRatelimitRule
      parameters:
      - name: org_id
        in: path
        description: Organization Name
        required: true
        schema:
          type: string
      - name: org_id
        in: query
        description: Organization Name
        required: true
        schema:
          type: string
      - name: interval
        in: query
        description: 'Time interval: second/minute/hour (default: second)'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Failure
          content:
            application/json:
              schema:
                default: null
      security:
      - Authorization: []
      x-o2-mcp:
        enabled: false
      x-o2-ratelimit:
        module: Ratelimit
        operation: list
  /api/{org_id}/ratelimit/role_list:
    get:
      tags:
      - Ratelimit
      summary: List role-based rate limit rules
      description: Retrieves rate limiting rules applied to specific user roles within the organization, showing how different roles have different API usage limits
      operationId: listRoleRatelimitRule
      parameters:
      - name: org_id
        in: path
        description: Organization Name
        required: true
        schema:
          type: string
      - name: org_id
        in: query
        description: Organization Name
        required: true
        schema:
          type: string
      - name: user_role
        in: query
        description: User Role Name
        required: true
        schema:
          type: string
      - name: interval
        in: query
        description: 'Time interval: second/minute/hour (default: second)'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Failure
          content:
            application/json:
              schema:
                default: null
      security:
      - Authorization: []
      x-o2-ratelimit:
        module: Ratelimit
        operation: list
      x-o2-mcp:
        enabled: false
  /api/{org_id}/ratelimit/update:
    put:
      tags:
      - Ratelimit
      summary: Update rate limit rules
      description: Updates rate limiting rules for modules or user roles. Allows setting custom thresholds for different API operations and groups
      operationId: UpdateRatelimitRule
      parameters:
      - name: org_id
        in: path
        description: Organization name
        required: true
        schema:
          type: string
      - name: org_id
        in: query
        description: Organization name
        required: true
        schema:
          type: string
      - name: update_type
        in: query
        description: Update Type
        required: true
        schema:
          type: string
      - name: user_role
        in: query
        description: UserRole name
        required: false
        schema:
          type: string
      - name: interval
        in: query
        description: 'Time interval: second/minute/hour (default: second)'
        required: false
        schema:
          type: string
      requestBody:
        description: json array
        content:
          application/json:
            schema:
              type: string
            example:
              Key Values:
                list: 0
                create: 0
                delete: 0
                get: 0
              Service Accounts:
                update: 0
                list: 0
                create: 0
                delete: 0
                get: 0
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Failure
          content:
            application/json:
              schema:
                default: null
      security:
      - Authorization: []
      x-o2-ratelimit:
        module: Ratelimit
        operation: update
      x-o2-mcp:
        enabled: false
components:
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: Authorization
    BasicAuth:
      type: http
      scheme: basic