majr-app · Schema

UsageResponse

CompanyAIMediaSEOEncodingAgent Services

Properties

Name Type Description
account string
product string
tenant string DEPRECATED alias of `product` (pre-accounts contract); will be removed in v2
month object UTC calendar month-to-date (drafting)
lifetime object
services object Cross-service breakdown for this product — every platform service that metered usage for it (only services with recorded events appear). Drafting appears as 'dispatch' with the same numbers as month/l
View JSON Schema on GitHub

JSON Schema

majr-app-usage-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/majr-app/json-schema/majr-app-usage-response-schema.json",
  "title": "UsageResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dispatch-openapi.json#/components/schemas/UsageResponse",
  "properties": {
    "account": {
      "type": "string",
      "title": "Account"
    },
    "product": {
      "type": "string",
      "title": "Product"
    },
    "tenant": {
      "type": "string",
      "title": "Tenant",
      "description": "DEPRECATED alias of `product` (pre-accounts contract); will be removed in v2",
      "deprecated": true
    },
    "month": {
      "$ref": "#/$defs/UsagePeriod",
      "description": "UTC calendar month-to-date (drafting)"
    },
    "lifetime": {
      "$ref": "#/$defs/UsagePeriod"
    },
    "services": {
      "additionalProperties": {
        "$ref": "#/$defs/ServiceUsage"
      },
      "type": "object",
      "title": "Services",
      "description": "Cross-service breakdown for this product — every platform service that metered usage for it (only services with recorded events appear). Drafting appears as 'dispatch' with the same numbers as month/lifetime."
    }
  },
  "type": "object",
  "required": [
    "account",
    "product",
    "tenant",
    "month",
    "lifetime"
  ],
  "$defs": {
    "ServiceUsage": {
      "properties": {
        "month": {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          },
          "type": "object",
          "title": "Month"
        },
        "lifetime": {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          },
          "type": "object",
          "title": "Lifetime"
        }
      },
      "type": "object",
      "required": [
        "month",
        "lifetime"
      ],
      "title": "ServiceUsage",
      "description": "Per-service totals: `events` plus that service's own quantity sums (bytes, seconds, ...)."
    },
    "UsagePeriod": {
      "properties": {
        "drafts": {
          "type": "integer",
          "title": "Drafts"
        },
        "input_tokens": {
          "type": "integer",
          "title": "Input Tokens"
        },
        "output_tokens": {
          "type": "integer",
          "title": "Output Tokens"
        }
      },
      "type": "object",
      "required": [
        "drafts",
        "input_tokens",
        "output_tokens"
      ],
      "title": "UsagePeriod"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/majr-app-usage-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.