Amigo · Schema

UsageSummaryResponse

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
workspace_id string Workspace identifier
period_start string Start of the reporting period
period_end string End of the reporting period
buckets array Usage data grouped by event type and date
total_events integer Total number of events in the period
View JSON Schema on GitHub

JSON Schema

amigo-usage-summary-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-usage-summary-response-schema.json",
  "title": "UsageSummaryResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-analytics-api-openapi.yml#/components/schemas/UsageSummaryResponse",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "title": "Workspace Id",
      "description": "Workspace identifier"
    },
    "period_start": {
      "type": "string",
      "format": "date",
      "title": "Period Start",
      "description": "Start of the reporting period"
    },
    "period_end": {
      "type": "string",
      "format": "date",
      "title": "Period End",
      "description": "End of the reporting period"
    },
    "buckets": {
      "items": {
        "$ref": "#/$defs/UsageBucket"
      },
      "type": "array",
      "title": "Buckets",
      "description": "Usage data grouped by event type and date"
    },
    "total_events": {
      "type": "integer",
      "title": "Total Events",
      "description": "Total number of events in the period"
    }
  },
  "type": "object",
  "required": [
    "workspace_id",
    "period_start",
    "period_end",
    "buckets",
    "total_events"
  ],
  "$defs": {
    "UsageBucket": {
      "properties": {
        "event_type": {
          "type": "string",
          "title": "Event Type",
          "description": "World event type"
        },
        "event_date": {
          "type": "string",
          "format": "date",
          "title": "Event Date",
          "description": "Date of the usage bucket"
        },
        "count": {
          "type": "integer",
          "title": "Count",
          "description": "Number of events in this bucket"
        },
        "avg_duration_seconds": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avg Duration Seconds",
          "description": "Average event duration in seconds"
        },
        "total_duration_seconds": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Total Duration Seconds",
          "description": "Total event duration in seconds"
        }
      },
      "type": "object",
      "required": [
        "event_type",
        "event_date",
        "count"
      ],
      "title": "UsageBucket"
    }
  }
}

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/amigo-usage-summary-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.