mumo Account API

Models available to the caller, wallet balance, and platform defaults.

GitHub OpenAPI

Operations 3

GET /api/models List available models #
GET /api/credit Get wallet balance #
GET /api/defaults Get platform defaults #

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/mumo-chat:mumo-chat-account-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

mumo-chat-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: mumo REST Account API
  version: 1.0.0
  termsOfService: https://mumo.chat/legal/terms
  contact:
    name: mumo support
    email: support@mumo.chat
    url: https://mumo.chat/docs/api
  description: 'Run structured multi-model deliberations on demand. Send a prompt; get back a session containing every model''s response and the cross-model claim map.


    **Async by default.** `POST /api/deliberation` and `POST /api/sessions/{id}/rounds` return a `202 Accepted` ack once the round row commits — they do not wait for model execution. Poll `GET /api/sessions/{id}/progress` until the round is terminal, then read the full artifact stack from `GET /api/sessions/{id}`.


    **You drive the rounds.** There is no preset round count and no autonomous moderator. Read each round''s `claim_map`, then steer the next round with typed snippets (KEEP / EXPLORE / CHALLENGE / CORE / SHIFT) on `POST /api/sessions/{id}/rounds`.


    **Billing.** Every billable model call debits a dollar-denominated credit wallet. A write operation is admitted when the effective balance is above zero AND covers the requested round''s minimum — each model''s reserved output room plus input, plus the post-round reactions and takeaway (web search is not part of the minimum: a round the balance covers without search is admitted and runs without web search). Otherwise it is rejected pre-flight with `403 credit_exhausted`; a refusal at a positive balance names the minimum (`required_usd`) and the cheaper rosters that fit (`affordable_alternatives`). All user-visible USD amounts are markup-included except `total_cost_usd` / `cost_usd`, which are ledger cost (markup-exclusive).


    Prose reference: https://mumo.chat/docs/api — agent-runtime (MCP) reference: https://mumo.chat/docs/mcp'
servers:
- url: https://mumo.chat
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Account
  description: Models available to the caller, wallet balance, and platform defaults.
paths:
  /api/models:
    get:
      operationId: listModels
      summary: List available models
      description: 'Lists the models visible to the caller, with pricing and a per-model availability verdict.


        Authentication is optional on this route, and the response lists the FULL catalog either way — the model list is public. A malformed or revoked bearer token is a `401` rather than a silent fallback.


        `available` is the ''can I actually use this right now, through this API?'' answer. It is `true` only for a caller holding an `mmo_live_*` key, on a model their plan includes, with credit remaining — the three things `/api/deliberation` checks before it will run anything (a model outside the plan reports `membership_required`). Any other caller (no bearer, or a browser/anonymous session token) gets `available: false` with `api_key_required` on every model, because those callers are rejected by the execution endpoints regardless of tier. The catalog is still listed in full either way, so it stays discoverable before you hold a key.


        Per-million pricing reflects raw provider cost (platform COGS), not markup-inclusive user-paid amounts. For ''what will this cost me?'', read the settled per-round cost after completion.'
      tags:
      - Account
      security:
      - {}
      - bearerAuth: []
      - apiKeyHeader: []
      responses:
        '200':
          description: Models visible to the caller.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Model'
        '401':
          description: '`unauthorized` — a bearer token was supplied but is invalid, expired, or revoked. Omitting the header entirely is not an error; it returns the tier-0 public list.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/credit:
    get:
      operationId: getCredit
      summary: Get wallet balance
      description: 'The canonical wallet resource: bucket breakdown, reset timing, rollover cap, subscription status, auto-refill state, and the FIFO debit order.


        `effective_balance_usd` is the pre-flight number — zero or negative is `credit_exhausted` for every request. Above zero is necessary but not sufficient: each write also checks that the balance covers that request''s round minimum, which depends on the models requested, so a low positive balance can still be refused with `credit_exhausted` (the refusal carries `required_usd`). It is markup-included: it reflects what you have left to spend, not raw model-cost headroom.


        Balance is deliberately NOT embedded on `GET /api/sessions/{id}` — that endpoint is high-volume during polling, and wallet state on a read-heavy path creates cache-coherency problems. Use this endpoint when you need a fresh balance outside the write-op flow.


        Anonymous callers receive the same shape with all balances at 0; their usage is gated by a guest-round budget elsewhere, not the wallet.'
      tags:
      - Account
      responses:
        '200':
          description: The caller's full credit state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditWallet'
        '401':
          description: '`unauthorized` — missing, invalid, expired, or revoked credentials.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`region_unavailable` (body carries `scope`), or `account_suspended` (the key owner''s account is suspended; not retryable).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/defaults:
    get:
      operationId: getDefaults
      summary: Get platform defaults
      description: Discover the platform's default model picks for the caller's plan, and the caller's round-budget status. Wallet state is NOT here — use `GET /api/credit`.
      tags:
      - Account
      responses:
        '200':
          description: Platform defaults and round-budget status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Defaults'
        '401':
          description: '`unauthorized` — missing, invalid, expired, or revoked credentials.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`region_unavailable` (body carries `scope`), or `account_suspended` (the key owner''s account is suspended; not retryable).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ModelPricing:
      type: object
      description: Raw provider cost (platform COGS), not markup-inclusive user-paid amounts. Informational — for 'will this work?' use `available`.
      required:
      - input_per_million
      - output_per_million
      - cached_input_per_million
      - minimum_usd
      properties:
        input_per_million:
          type: number
        output_per_million:
          type: number
        cached_input_per_million:
          type:
          - number
          - 'null'
          description: Null when the model has no cached-input rate.
        minimum_usd:
          type: number
          description: The model's registered floor cost, reported for reference. NOT an admission threshold — pre-flight prices a round from each model's reserved output room and token rates, not from this figure. Also appears in the `credit_exhausted` body as `per_model_minimum_usd`.
        cache_write_per_million:
          type: number
          description: Present only on models that bill prompt-cache writes (1.25x the input rate). Absent means cache writes are not billed for that model.
    CreditWallet:
      type: object
      required:
      - effective_balance_usd
      - buckets
      - per_model_minimum_usd_default
      - debit_order
      properties:
        effective_balance_usd:
          type: number
          description: Sum across all three buckets, markup-included. Zero or negative is `credit_exhausted`; above zero, each write additionally needs the balance to cover that request's round minimum.
        buckets:
          type: object
          required:
          - free
          - subscription
          - refill
          properties:
            free:
              type: object
              description: Monthly free-tier credit.
              required:
              - balance_usd
              - monthly_grant_usd
              - resets_at
              properties:
                balance_usd:
                  type: number
                monthly_grant_usd:
                  type: number
                  description: The platform grant each cycle.
                resets_at:
                  type: string
                  description: Next UTC 1st-of-month boundary when the bucket refills.
            subscription:
              type: object
              description: Paid-tier credit.
              required:
              - balance_usd
              - rollover_cap_usd
              - subscription_status
              properties:
                balance_usd:
                  type: number
                rollover_cap_usd:
                  type: number
                  description: Max unused balance that carries into a new cycle.
                subscription_status:
                  type:
                  - string
                  - 'null'
                  enum:
                  - active
                  - past_due
                  - cancelled
                  - expired
                  - null
                  description: Null means no subscription.
            refill:
              type: object
              description: Auto-refill top-ups. The two threshold fields appear only when auto-refill is enabled.
              required:
              - balance_usd
              - auto_refill_enabled
              properties:
                balance_usd:
                  type: number
                auto_refill_enabled:
                  type: boolean
                auto_refill_threshold_usd:
                  type: number
                  description: Trigger level. Absent when auto-refill is off.
                auto_refill_amount_usd:
                  type: number
                  description: Top-up size. Absent when auto-refill is off.
        per_model_minimum_usd_default:
          type: number
          description: Platform fallback minimum used when a model's registry row has no explicit minimum. Reported for reference; it does not gate admission.
        debit_order:
          type: array
          items:
            type: string
          description: FIFO debit sequence. Settlement drains each bucket in this order.
      example:
        effective_balance_usd: 1.42
        buckets:
          free:
            balance_usd: 1.42
            monthly_grant_usd: 1.5
            resets_at: '2026-05-01T00:00:00Z'
          subscription:
            balance_usd: 0
            rollover_cap_usd: 30
            subscription_status: null
          refill:
            balance_usd: 0
            auto_refill_enabled: false
        per_model_minimum_usd_default: 0.05
        debit_order:
        - free
        - subscription
        - refill
    Model:
      type: object
      required:
      - id
      - provider
      - display_name
      - available
      - min_user_tier
      - context_window
      - max_output_tokens
      - pricing
      - sort_order
      properties:
        id:
          type: string
          examples:
          - claude-opus-4-6
        provider:
          type: string
          examples:
          - anthropic
        display_name:
          type: string
          examples:
          - Claude Opus 4.6
        available:
          type: boolean
          description: 'Whether the caller can use this model right now: an `mmo_live_*` key, a plan that includes the model, and credit remaining. `false` means a call using this model will fail.'
        unavailable_reason:
          type: string
          enum:
          - api_key_required
          - membership_required
          - credit_exhausted
          description: 'Why `available` is false, ordered by what to fix first. `api_key_required` — the caller presented no `mmo_live_*` key, so the execution endpoints would reject them whatever the model. `membership_required` — the caller''s plan does not include this model; a request naming it is refused with `403 forbidden_model` (more credit would not change that). `credit_exhausted` — the wallet is zero or negative. A positive balance reports the model available even when it cannot cover a particular panel: that minimum is checked per request, at write time. Absent when `available` is true.'
        min_user_tier:
          type: integer
          description: 'Account tier: 0 = Everyday, 1 = Plus, 2 = Premium — every API caller is a registered account. Every tier is listed for every caller; `available` reports whether this caller can use it. Credit balance is the runtime constraint.'
        context_window:
          type: integer
        max_output_tokens:
          type: integer
        pricing:
          $ref: '#/components/schemas/ModelPricing'
        description:
          type: string
          description: Optional registry blurb. Omitted when the registry has none.
        reasoning:
          type: boolean
          description: Whether reasoning is effectively enabled for this model on its active inference route. Omitted when undetermined.
        sort_order:
          type: integer
          description: Registry display order.
      example:
        id: claude-opus-4-6
        provider: anthropic
        display_name: Claude Opus 4.6
        available: true
        min_user_tier: 1
        context_window: 200000
        max_output_tokens: 16384
        pricing:
          input_per_million: 15
          output_per_million: 75
          cached_input_per_million: 1.5
          minimum_usd: 0.05
          cache_write_per_million: 18.75
        sort_order: 10
    Defaults:
      type: object
      required:
      - models
      - daily_budget
      properties:
        models:
          type: array
          items:
            type: string
          description: 'The platform''s default model picks for the caller''s plan: up to three, and never more than the caller''s plan seats in one round (so it may hold two). Every id is one the caller''s plan can run.'
        daily_budget:
          type: object
          required:
          - limit
          - used
          - resets_at
          properties:
            limit:
              type: integer
            used:
              type: integer
            resets_at:
              type: string
              description: ISO 8601 timestamp of the next local-midnight reset.
      example:
        models:
        - …
        - …
        - …
        daily_budget:
          limit: 200
          used: 4
          resets_at: …
    Error:
      type: object
      description: 'The envelope every non-2xx response returns. `error` is a stable machine code, `message` is human-readable prose, and `retryable` says whether repeating the identical request could succeed.


        Some codes add typed extras alongside these three keys, which is why `additionalProperties` is true: `invalid_request` / `invalid_params` add `issues` (the Zod flatten shape — `fieldErrors` keyed by field name plus `formErrors`); `unknown_models` adds `unknown_models` (and `models_requested` on `POST /api/deliberation`); `insufficient_active_models` adds `collapsed_buckets` (deprecated, always `[]`); `credit_exhausted` adds `effective_balance_usd`, `free_usd`, `subscription_usd`, `refill_usd`, `per_model_minimum_usd`, and `next_reset_at`, and — only when a POSITIVE balance was refused because it cannot cover the requested round''s minimum — `required_usd` (number: the minimum needed to start, including any credit already held by in-flight rounds; a floor, not the expected cost; web search is not part of it) and `affordable_alternatives` (array, possibly empty — populated only on a create refusal (`POST /api/deliberation`) and always empty on an append refusal — of `{ kind, models, dropped? }` rosters that fit the balance now: `kind` is `"drop_most_expensive"` — the panel minus its most expensive model, named in `dropped`, offered for 3-model panels — or `"cheapest_solo"` — the single cheapest model, which `POST /api/deliberation`''s 2–3 model bound cannot run; `models` are model ids), plus `upgrade_url` (where the account''s owner moves to mumo Premium for more monthly credit) when the caller is on the free plan; `forbidden_model` (a requested model is not included in the caller''s plan) adds `reason` (string — `"membership_required"` for an API caller; the shared refusal vocabulary also has `"guest_model_unavailable"` and `"account_tier_required"`, so treat any value as "not on this plan"), `denied_models` (the refused model ids), `upgrade_url` (where the account''s owner changes plan), and `human_action_required: true` (only a plan change by the account''s human admits the request); `panel_seat_limit` (the round seats more models than the caller''s plan allows) adds `seat_limit` (integer: the most models the plan seats), `requested_seats` (integer), `upgrade_url`, and `human_action_required: false` (the caller can fix it by sending at most `seat_limit` models); `input_too_long` (HTTP 413: the request''s new text is longer than the caller''s plan allows) adds `typed_tokens` and `cap` (integers, tokens counted as characters ÷ 4), `upgrade_url`, and `human_action_required: false` (the caller can fix it by shortening the text to at most `cap`); all three are `retryable: false`; `terms_acceptance_required` adds a `terms_acceptance_required` object with `doc_types_pending`, `current_versions`, `deadline`, `summary_urls`, and `acceptance_url`; `idempotency_conflict` adds `original_request_fingerprint`; `rate_limited` adds `retry_after_seconds`; `daily_limit_reached` adds `resets_at`; `region_unavailable` adds `scope` (`"country"` or `"region"`). Treat unknown extra keys as forward-compatible additions.'
      required:
      - error
      - message
      - retryable
      additionalProperties: true
      properties:
        error:
          type: string
          description: Stable machine-readable code. Branch on this, never on `message`.
          examples:
          - session_busy
        message:
          type: string
          description: Human-readable prose. Not safe to pattern-match.
          examples:
          - Session has a round in progress — poll and retry with same Idempotency-Key
        retryable:
          type: boolean
          description: Whether repeating the identical request could succeed. True for 5xx and most 429s; false for validation, auth, and balance failures.
          examples:
          - true
      example:
        error: session_busy
        message: Session has a round in progress — poll and retry with same Idempotency-Key
        retryable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Platform API key, sent as `Authorization: Bearer mmo_live_…`.


        Keys are minted at https://mumo.chat/settings/api-keys and always begin with the `mmo_live_` prefix. Each key is hashed at rest — copy the secret when it is created, because it is never shown again. Calls without a valid key return `401 unauthorized`.'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-Mumo-Api-Key
      description: 'The same platform API key as `bearerAuth`, sent bare (`X-Mumo-Api-Key: mmo_live_…`, no `Bearer` prefix) for MCP gateways and proxies that reserve the `Authorization` header for their own use.


        Send one or the other. If both arrive, a platform key in `Authorization` takes precedence; otherwise the key in `X-Mumo-Api-Key` does, so a gateway-injected `Authorization` token cannot shadow it. Any non-key value in `X-Mumo-Api-Key` is ignored. Identical key, lookup, and 401 behavior — this is a second carrier, not a second credential.'