API

/web_api/billing/usage_summary

/web_api/billing/usage_summary ​

This page is built from the JSON Schema snapshot in the documentation repository. The snapshot is updated by a separate command from the main app catalog and is not rewritten when the site is built.

Request ​

main-app://schemas/api_billing/usage_summary.request.json

GET /web_api/billing/usage_summary body

NameTypeRequiredConstraint
*anyNoother fields allowed

Response ​

main-app://schemas/api_billing/usage_summary.response.json

GET /web_api/billing/usage_summary success

NameTypeRequiredConstraint
api_codeintegerYesconst 200
api_resultobject | booleanYes-
emptybooleanNo-

Other top-level fields are not allowed.

Source schema ​

The files below are copied from the snapshot unchanged. A $ref fragment is a separate block. The schemas are not merged.

Request: main-app://schemas/api_billing/usage_summary.request.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_billing/usage_summary.request.json",
  "title": "GET /web_api/billing/usage_summary body",
  "type": "object",
  "required": [],
  "additionalProperties": true,
  "properties": []
}
Response: main-app://schemas/api_billing/usage_summary.response.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_billing/usage_summary.response.json",
  "title": "GET /web_api/billing/usage_summary success",
  "allOf": [
    {
      "$ref": "main-app://schemas/_shared/envelope-success.json"
    },
    {
      "type": "object",
      "properties": {
        "api_result": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true,
              "required": [
                "subscription",
                "billing_state",
                "entity_usage",
                "seat_usage",
                "storage_usage",
                "util_usage"
              ],
              "properties": {
                "subscription": true,
                "billing_state": true,
                "entity_usage": true,
                "seat_usage": true,
                "storage_usage": true,
                "util_usage": true
              }
            },
            {
              "const": false
            }
          ]
        }
      }
    }
  ]
}
Fragment: main-app://schemas/_shared/envelope-success.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/_shared/envelope-success.json",
  "title": "Canonical success envelope",
  "type": "object",
  "required": ["api_code", "api_result"],
  "properties": {
    "api_code": { "const": 200 },
    "api_result": true,
    "empty": { "type": "boolean" }
  },
  "additionalProperties": false
}

Version 1.0.0 · Last updated 2026-10-07

Did this page help?