soeru Observability (Admin) API

The Observability (Admin) API from soeru — 6 operation(s) for observability (admin).

GitHub OpenAPI

Operations 6

GET /api/messages/admin/observability/total-cost Total Cost #
GET /api/messages/admin/observability/shop-cost-ranking Shop Cost Ranking #
GET /api/messages/admin/observability/engine-health Engine Health #
GET /api/messages/admin/observability/task-heatmap Task Heatmap #
GET /api/messages/admin/observability/llm-call-counters Llm Call Counters #
GET /api/messages/admin/observability/sentry-summary Sentry Summary #

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/soeru-biz:soeru-biz-observability-admin-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

soeru-biz-observability-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: soeru Observability (Admin) API
  description: AIパーソナライズ明細書メッセージ自動生成SaaS
  version: 0.1.0
tags:
- name: Observability (Admin)
paths:
  /api/messages/admin/observability/total-cost:
    get:
      tags:
      - Observability (Admin)
      summary: Total Cost
      description: 今日と昨日の LLM トータル cost (¥) + 前日比.
      operationId: total_cost_api_messages_admin_observability_total_cost_get
      parameters:
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Total Cost Api Messages Admin Observability Total Cost Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/messages/admin/observability/shop-cost-ranking:
    get:
      tags:
      - Observability (Admin)
      summary: Shop Cost Ranking
      description: 当月 cost 上位 shop. 各 shop の plan + ARPU 比率も返す.
      operationId: shop_cost_ranking_api_messages_admin_observability_shop_cost_ranking_get
      parameters:
      - name: top
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 10
          title: Top
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Shop Cost Ranking Api Messages Admin Observability Shop Cost Ranking Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/messages/admin/observability/engine-health:
    get:
      tags:
      - Observability (Admin)
      summary: Engine Health
      description: 直近 200 件の cache_hit_rate / 平均 token / fallback 率 / cost 分布.
      operationId: engine_health_api_messages_admin_observability_engine_health_get
      parameters:
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Engine Health Api Messages Admin Observability Engine Health Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/messages/admin/observability/task-heatmap:
    get:
      tags:
      - Observability (Admin)
      summary: Task Heatmap
      description: 過去 24h の (shop, task, hour) 集計. heatmap 描画用 raw 値.
      operationId: task_heatmap_api_messages_admin_observability_task_heatmap_get
      parameters:
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Task Heatmap Api Messages Admin Observability Task Heatmap Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/messages/admin/observability/llm-call-counters:
    get:
      tags:
      - Observability (Admin)
      summary: Llm Call Counters
      description: '現在 hour bucket の per-shop LLM call counter (Redis から読み出し).


        閾値超過予兆を sho が朝確認するための raw 値。観測のみ・操作なし。'
      operationId: llm_call_counters_api_messages_admin_observability_llm_call_counters_get
      parameters:
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Llm Call Counters Api Messages Admin Observability Llm Call Counters Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/messages/admin/observability/sentry-summary:
    get:
      tags:
      - Observability (Admin)
      summary: Sentry Summary
      description: 'Sentry 直接連携は MCP / Cowork 側で。ここは「Sentry を見るリンク」を返す.


        Cowork で sho が Sentry MCP を connect すれば Claude が直接 issue を

        取れるので、この endpoint は誘導文字列のみ返す軽量実装。

        Sentry organization slug は env var SENTRY_ORG_SLUG / SENTRY_PROJECT_SLUG。'
      operationId: sentry_summary_api_messages_admin_observability_sentry_summary_get
      parameters:
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          description: Bearer <token>
          title: Authorization
        description: Bearer <token>
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Sentry Summary Api Messages Admin Observability Sentry Summary Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError