Amigo · Schema

MetricListResponse

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
metrics array
View JSON Schema on GitHub

JSON Schema

amigo-metric-list-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-metric-list-response-schema.json",
  "title": "MetricListResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-metrics-api-openapi.yml#/components/schemas/MetricListResponse",
  "properties": {
    "metrics": {
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/NumericalMetricValueResponse"
          },
          {
            "$ref": "#/$defs/CategoricalMetricValueResponse"
          },
          {
            "$ref": "#/$defs/BooleanMetricValueResponse"
          }
        ]
      },
      "type": "array",
      "title": "Metrics"
    }
  },
  "type": "object",
  "required": [
    "metrics"
  ],
  "$defs": {
    "BooleanMetricValueResponse": {
      "properties": {
        "metric_key": {
          "type": "string",
          "title": "Metric Key"
        },
        "source": {
          "type": "string",
          "title": "Source",
          "default": "production"
        },
        "entity_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Type"
        },
        "entity_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Id"
        },
        "service_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Service Id"
        },
        "run_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Run Id"
        },
        "session_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Session Id"
        },
        "period_start": {
          "type": "string",
          "format": "date-time",
          "title": "Period Start"
        },
        "period_end": {
          "type": "string",
          "format": "date-time",
          "title": "Period End"
        },
        "event_count": {
          "type": "integer",
          "title": "Event Count"
        },
        "avg_confidence": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avg Confidence"
        },
        "unit": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 32
            },
            {
              "type": "null"
            }
          ],
          "title": "Unit"
        },
        "computed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Computed At"
        },
        "metric_type": {
          "type": "string",
          "const": "boolean",
          "title": "Metric Type"
        },
        "value": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value"
        }
      },
      "type": "object",
      "required": [
        "metric_key",
        "period_start",
        "period_end",
        "event_count",
        "metric_type",
        "value"
      ],
      "title": "BooleanMetricValueResponse"
    },
    "CategoricalMetricValueResponse": {
      "properties": {
        "metric_key": {
          "type": "string",
          "title": "Metric Key"
        },
        "source": {
          "type": "string",
          "title": "Source",
          "default": "production"
        },
        "entity_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Type"
        },
        "entity_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Id"
        },
        "service_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Service Id"
        },
        "run_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Run Id"
        },
        "session_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Session Id"
        },
        "period_start": {
          "type": "string",
          "format": "date-time",
          "title": "Period Start"
        },
        "period_end": {
          "type": "string",
          "format": "date-time",
          "title": "Period End"
        },
        "event_count": {
          "type": "integer",
          "title": "Event Count"
        },
        "avg_confidence": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avg Confidence"
        },
        "unit": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 32
            },
            {
              "type": "null"
            }
          ],
          "title": "Unit"
        },
        "computed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Computed At"
        },
        "metric_type": {
          "type": "string",
          "const": "categorical",
          "title": "Metric Type"
        },
        "value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value"
        }
      },
      "type": "object",
      "required": [
        "metric_key",
        "period_start",
        "period_end",
        "event_count",
        "metric_type",
        "value"
      ],
      "title": "CategoricalMetricValueResponse"
    },
    "NumericalMetricValueResponse": {
      "properties": {
        "metric_key": {
          "type": "string",
          "title": "Metric Key"
        },
        "source": {
          "type": "string",
          "title": "Source",
          "default": "production"
        },
        "entity_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Type"
        },
        "entity_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entity Id"
        },
        "service_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Service Id"
        },
        "run_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Run Id"
        },
        "session_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Session Id"
        },
        "period_start": {
          "type": "string",
          "format": "date-time",
          "title": "Period Start"
        },
        "period_end": {
          "type": "string",
          "format": "date-time",
          "title": "Period End"
        },
        "event_count": {
          "type": "integer",
          "title": "Event Count"
        },
        "avg_confidence": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avg Confidence"
        },
        "unit": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 32
            },
            {
              "type": "null"
            }
          ],
          "title": "Unit"
        },
        "computed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Computed At"
        },
        "metric_type": {
          "type": "string",
          "const": "numerical",
          "title": "Metric Type"
        },
        "value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value"
        }
      },
      "type": "object",
      "required": [
        "metric_key",
        "period_start",
        "period_end",
        "event_count",
        "metric_type",
        "value"
      ],
      "title": "NumericalMetricValueResponse"
    }
  }
}

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-metric-list-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.