UnoRouter Ops API

The Ops API from UnoRouter, for ops.

GitHub OpenAPI

Operations 12

GET /api/ops/badge/all Get api ops badge all #
GET /api/ops/badge/{name} Get api ops badge by name #
POST /api/ops/client-report/ Post api ops client report #
POST /api/ops/contact/ Post api ops contact #
GET /api/ops/drain/ Get api ops drain #
GET /api/ops/health/ Get api ops health #
GET /api/ops/logs/ Get api ops logs #
GET /api/ops/logs/by-request Get api ops logs by request #
GET /api/ops/logs/stat Get api ops logs stat #
GET /api/ops/logs/perf Get api ops logs perf #
GET /api/ops/logs/task Get api ops logs task #
GET /api/ops/stats/history Get api ops stats history #

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/unorouter-com:unorouter-com-ops-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

unorouter-com-ops-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UnoRouter BFF Ops API
  description: Backend-for-frontend for UnoRouter. Pass-through verticals (auth, billing, token, affiliate, logs, pricing, dashboard, stats, settings, badge) proxy the upstream relay. The chat vertical owns local state and streaming logic.
  version: 1.0.0
  contact:
    name: UnoRouter
    url: https://unorouter.com
    email: support@unorouter.com
servers:
- url: https://unorouter.com/api
tags:
- name: Ops
paths:
  /api/ops/badge/all:
    get:
      parameters:
      - name: locale
        in: query
        required: false
        schema:
          type: string
          enum:
          - en
          - de
          - fr
          - it
          - es
          - pt-BR
          - ja
          - ko
          - ru
          - tr
          - ar
          - he
          - hi
          - id
          - pl
          - vi
          - zh-CN
          - zh-TW
      - name: theme
        in: query
        required: false
        schema:
          type: string
          enum:
          - dark
          - light
      - name: ref
        in: query
        required: false
        schema:
          type: string
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - svg
          - png
      - name: size
        in: query
        required: false
        schema:
          type: string
          enum:
          - xs
          - sm
          - md
          - lg
          - xl
          - og
          - reddit
          - reddit-mobile
          - discord
          - discord-invite
      - name: type
        in: query
        required: false
        schema:
          type: string
          enum:
          - banner
          - square
          - sponsor
          - providers
          - pricing
          - hero
          - referral
          - brand
          - chat
          - tester
      - name: model
        in: query
        required: false
        schema:
          maxLength: 256
          type: string
      - name: models
        in: query
        required: false
        schema:
          maxLength: 600
          type: string
      operationId: getApiOpsBadgeAll
      tags:
      - Ops
      summary: Get api ops badge all
      x-summary-source: derived
  /api/ops/badge/{name}:
    get:
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      - name: locale
        in: query
        required: false
        schema:
          type: string
          enum:
          - en
          - de
          - fr
          - it
          - es
          - pt-BR
          - ja
          - ko
          - ru
          - tr
          - ar
          - he
          - hi
          - id
          - pl
          - vi
          - zh-CN
          - zh-TW
      - name: theme
        in: query
        required: false
        schema:
          type: string
          enum:
          - dark
          - light
      - name: ref
        in: query
        required: false
        schema:
          type: string
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - svg
          - png
      - name: size
        in: query
        required: false
        schema:
          type: string
          enum:
          - xs
          - sm
          - md
          - lg
          - xl
          - og
          - reddit
          - reddit-mobile
          - discord
          - discord-invite
      - name: type
        in: query
        required: false
        schema:
          type: string
          enum:
          - banner
          - square
          - sponsor
          - providers
          - pricing
          - hero
          - referral
          - brand
          - chat
          - tester
      - name: model
        in: query
        required: false
        schema:
          maxLength: 256
          type: string
      - name: models
        in: query
        required: false
        schema:
          maxLength: 600
          type: string
      operationId: getApiOpsBadgeByName
      tags:
      - Ops
      summary: Get api ops badge by name
      x-summary-source: derived
  /api/ops/client-report/:
    post:
      requestBody:
        content:
          text/plain:
            schema:
              maxLength: 200000
              type: string
        required: true
      operationId: postApiOpsClient-report
      tags:
      - Ops
      summary: Post api ops client report
      x-summary-source: derived
  /api/ops/contact/:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - email
              - subject
              - message
              properties:
                name:
                  maxLength: 100
                  type: string
                email:
                  maxLength: 254
                  type: string
                subject:
                  maxLength: 200
                  type: string
                message:
                  minLength: 10
                  maxLength: 5000
                  type: string
                turnstile:
                  type: string
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - name
              - email
              - subject
              - message
              properties:
                name:
                  maxLength: 100
                  type: string
                email:
                  maxLength: 254
                  type: string
                subject:
                  maxLength: 200
                  type: string
                message:
                  minLength: 10
                  maxLength: 5000
                  type: string
                turnstile:
                  type: string
          multipart/form-data:
            schema:
              type: object
              required:
              - name
              - email
              - subject
              - message
              properties:
                name:
                  maxLength: 100
                  type: string
                email:
                  maxLength: 254
                  type: string
                subject:
                  maxLength: 200
                  type: string
                message:
                  minLength: 10
                  maxLength: 5000
                  type: string
                turnstile:
                  type: string
      operationId: postApiOpsContact
      tags:
      - Ops
      summary: Post api ops contact
      x-summary-source: derived
  /api/ops/drain/:
    get:
      operationId: getApiOpsDrain
      tags:
      - Ops
      summary: Get api ops drain
      x-summary-source: derived
  /api/ops/health/:
    get:
      operationId: getApiOpsHealth
      tags:
      - Ops
      summary: Get api ops health
      x-summary-source: derived
  /api/ops/logs/:
    get:
      parameters:
      - name: p
        in: query
        required: false
        schema:
          type: number
      - name: page_size
        in: query
        required: false
        schema:
          type: number
      - name: type
        in: query
        required: false
        schema:
          type: number
      - name: start_timestamp
        in: query
        required: false
        schema:
          type: number
      - name: end_timestamp
        in: query
        required: false
        schema:
          type: number
      - name: token_name
        in: query
        required: false
        schema:
          type: string
      - name: model_name
        in: query
        required: false
        schema:
          type: string
      - name: group
        in: query
        required: false
        schema:
          type: string
      - name: request_id
        in: query
        required: false
        schema:
          type: string
      - name: upstream_request_id
        in: query
        required: false
        schema:
          type: string
      - name: subscription_plan
        in: query
        required: false
        schema:
          type: string
      operationId: getApiOpsLogs
      tags:
      - Ops
      summary: Get api ops logs
      x-summary-source: derived
  /api/ops/logs/by-request:
    get:
      parameters:
      - name: request_id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Response for status 200
          content:
            application/json:
              schema:
                type: object
                required:
                - channel
                - quota
                - promptTokens
                - completionTokens
                - useTime
                - modelName
                - group
                properties:
                  channel:
                    default: null
                    anyOf:
                    - type: string
                    - type: 'null'
                  quota:
                    default: null
                    anyOf:
                    - type: number
                    - type: 'null'
                  promptTokens:
                    default: null
                    anyOf:
                    - type: number
                    - type: 'null'
                  completionTokens:
                    default: null
                    anyOf:
                    - type: number
                    - type: 'null'
                  useTime:
                    default: null
                    anyOf:
                    - type: number
                    - type: 'null'
                  modelName:
                    default: null
                    anyOf:
                    - type: string
                    - type: 'null'
                  group:
                    default: null
                    anyOf:
                    - type: string
                    - type: 'null'
                additionalProperties: false
      operationId: getApiOpsLogsBy-request
      tags:
      - Ops
      summary: Get api ops logs by request
      x-summary-source: derived
  /api/ops/logs/stat:
    get:
      parameters:
      - name: type
        in: query
        required: false
        schema:
          type: number
      - name: start_timestamp
        in: query
        required: false
        schema:
          type: number
      - name: end_timestamp
        in: query
        required: false
        schema:
          type: number
      - name: token_name
        in: query
        required: false
        schema:
          type: string
      - name: model_name
        in: query
        required: false
        schema:
          type: string
      operationId: getApiOpsLogsStat
      tags:
      - Ops
      summary: Get api ops logs stat
      x-summary-source: derived
  /api/ops/logs/perf:
    get:
      parameters:
      - name: hours
        in: query
        required: false
        schema:
          type: number
      operationId: getApiOpsLogsPerf
      tags:
      - Ops
      summary: Get api ops logs perf
      x-summary-source: derived
  /api/ops/logs/task:
    get:
      parameters:
      - name: p
        in: query
        required: false
        schema:
          type: number
      - name: page_size
        in: query
        required: false
        schema:
          type: number
      - name: start_timestamp
        in: query
        required: false
        schema:
          description: Start timestamp in seconds
          type: number
      - name: end_timestamp
        in: query
        required: false
        schema:
          description: End timestamp in seconds
          type: number
      - name: platform
        in: query
        required: false
        schema:
          type: string
      - name: task_id
        in: query
        required: false
        schema:
          type: string
      - name: status
        in: query
        required: false
        schema:
          type: string
      - name: action
        in: query
        required: false
        schema:
          type: string
      operationId: getApiOpsLogsTask
      tags:
      - Ops
      summary: Get api ops logs task
      x-summary-source: derived
  /api/ops/stats/history:
    get:
      operationId: getApiOpsStatsHistory
      tags:
      - Ops
      summary: Get api ops stats history
      x-summary-source: derived
x-service-info:
  categories:
  - ai
  - developer-tools
  docs:
    apiReference: https://unorouter.com/api/openapi
    homepage: https://unorouter.com
    llms: https://unorouter.com/llms.txt