fAlpha · Schema

usage_response

FinanceArtificial IntelligenceTradingValidationAnalytics

Properties

Name Type Description
window_days integer Size of the aggregation window in days
since string UTC start of the aggregation window
total integer Total successful requests recorded in the window
by_day array
by_endpoint array
by_surface array Split by client surface: excel, sheets, sdk-python, zapier, or api (default)
by_client array Split by anonymous install id (X-Falpha-Client header); requests without one bucket under '-'
meter object Unified work meter summed over the window: db_calls, db_docs, db_ms (see dbmeter contract). Requests are traffic; the meter is work.
View JSON Schema on GitHub

JSON Schema

falpha-ai-usage-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/falpha-ai/json-schema/falpha-ai-usage-response-schema.json",
  "title": "usage_response",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/falpha-ai-openapi.json#/components/schemas/usage_response",
  "properties": {
    "window_days": {
      "type": "integer",
      "title": "Window Days",
      "description": "Size of the aggregation window in days"
    },
    "since": {
      "type": "string",
      "format": "date-time",
      "title": "Since",
      "description": "UTC start of the aggregation window"
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "description": "Total successful requests recorded in the window"
    },
    "by_day": {
      "items": {
        "$ref": "#/$defs/usage_bucket"
      },
      "type": "array",
      "title": "By Day"
    },
    "by_endpoint": {
      "items": {
        "$ref": "#/$defs/usage_bucket"
      },
      "type": "array",
      "title": "By Endpoint"
    },
    "by_surface": {
      "items": {
        "$ref": "#/$defs/usage_bucket"
      },
      "type": "array",
      "title": "By Surface",
      "description": "Split by client surface: excel, sheets, sdk-python, zapier, or api (default)"
    },
    "by_client": {
      "items": {
        "$ref": "#/$defs/usage_bucket"
      },
      "type": "array",
      "title": "By Client",
      "description": "Split by anonymous install id (X-Falpha-Client header); requests without one bucket under '-'"
    },
    "meter": {
      "additionalProperties": true,
      "type": "object",
      "title": "Meter",
      "description": "Unified work meter summed over the window: db_calls, db_docs, db_ms (see dbmeter contract). Requests are traffic; the meter is work."
    }
  },
  "type": "object",
  "required": [
    "window_days",
    "since",
    "total",
    "by_day",
    "by_endpoint",
    "by_surface"
  ],
  "$defs": {
    "usage_bucket": {
      "properties": {
        "key": {
          "type": "string",
          "title": "Key",
          "description": "Bucket label: a YYYY-MM-DD day, an endpoint path, or a surface name"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      },
      "type": "object",
      "required": [
        "key",
        "count"
      ],
      "title": "usage_bucket"
    }
  }
}

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/falpha-ai-usage-response"
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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.