legivel · Schema

UsageReport

The account's documents and limits for one usage period.

MarkdownPDFConversionSoftware-as-a-Service

Properties

Name Type Description
plan string The id of the plan the period is counted against.
period_start string When the period opened.
period_end string When the period closes.
credits_included integer Documents the plan includes in the period.
credits_granted integer Documents granted on top of the plan's, such as carry-over on an upgrade.
credits_used integer Documents used in the period, editor downloads included; this is the number a 402 reads.
limits object The limits in force for the account in this period, from its plan.
keys array The period's spending split by API key. The editor's share is `credits_used` less the sum of these, so the two need not add up.
View JSON Schema on GitHub

JSON Schema

legivel-com-usage-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/legivel-com/json-schema/legivel-com-usage-report-schema.json",
  "title": "UsageReport",
  "description": "The account's documents and limits for one usage period.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/legivel-com-openapi.json#/components/schemas/UsageReport",
  "type": "object",
  "properties": {
    "plan": {
      "type": "string",
      "description": "The id of the plan the period is counted against."
    },
    "period_start": {
      "type": "string",
      "format": "date-time",
      "description": "When the period opened."
    },
    "period_end": {
      "type": "string",
      "format": "date-time",
      "description": "When the period closes."
    },
    "credits_included": {
      "type": "integer",
      "description": "Documents the plan includes in the period."
    },
    "credits_granted": {
      "type": "integer",
      "description": "Documents granted on top of the plan's, such as carry-over on an upgrade."
    },
    "credits_used": {
      "type": "integer",
      "description": "Documents used in the period, editor downloads included; this is the number a 402 reads."
    },
    "limits": {
      "type": "object",
      "title": "UsageLimits",
      "description": "The limits in force for the account in this period, from its plan.",
      "properties": {
        "markdown_kb": {
          "type": "integer",
          "description": "Largest Markdown document, in kibibytes."
        },
        "resources_mb": {
          "type": "number",
          "description": "Total resource bytes one render may load, in mebibytes."
        },
        "pages_max": {
          "type": "integer",
          "description": "Most pages one rendered document may have."
        },
        "timeout_s": {
          "type": "integer",
          "description": "Longest one render may run, in seconds."
        },
        "concurrency": {
          "type": "integer",
          "description": "Renders the account may have in flight at once."
        },
        "requests_per_min": {
          "type": "integer",
          "description": "Requests a minute before the burst limiter refuses."
        },
        "previews_per_hour": {
          "type": "integer",
          "description": "Editor previews an hour; the API never spends these."
        }
      },
      "required": [
        "markdown_kb",
        "resources_mb",
        "pages_max",
        "timeout_s",
        "concurrency",
        "requests_per_min",
        "previews_per_hour"
      ],
      "additionalProperties": false
    },
    "keys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/KeyUsage"
      },
      "description": "The period's spending split by API key. The editor's share is `credits_used` less the sum of these, so the two need not add up."
    }
  },
  "required": [
    "plan",
    "period_start",
    "period_end",
    "credits_included",
    "credits_granted",
    "credits_used",
    "limits",
    "keys"
  ],
  "additionalProperties": false,
  "$defs": {
    "KeyUsage": {
      "type": "object",
      "title": "KeyUsage",
      "description": "One API key's share of the period.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The API key's id."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The key's current name; null once the key is gone."
        },
        "credits": {
          "type": "integer",
          "minimum": 0,
          "description": "Documents charged through this key, returned documents excluded."
        }
      },
      "required": [
        "id",
        "name",
        "credits"
      ],
      "additionalProperties": false
    }
  }
}

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/legivel-com-usage-report"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.