Amigo · Schema

Response

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
metric_versions array The list of retrieved metric versions.
has_more boolean Whether there are more metric versions that can be retrieved with further pagination.
continuation_token object The continuation token to be used to retrieve the next page of metric versions. This is only included if `has_more` is true.
View JSON Schema on GitHub

JSON Schema

amigo-src-app-endpoints-metric-get-metric-versions-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-src-app-endpoints-metric-get-metric-versions-response-schema.json",
  "title": "Response",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-metric-api-openapi.yml#/components/schemas/src__app__endpoints__metric__get_metric_versions__Response",
  "properties": {
    "metric_versions": {
      "items": {
        "$ref": "#/$defs/MetricVersionInstance"
      },
      "type": "array",
      "title": "Metric Versions",
      "description": "The list of retrieved metric versions."
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More",
      "description": "Whether there are more metric versions that can be retrieved with further pagination."
    },
    "continuation_token": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Continuation Token",
      "description": "The continuation token to be used to retrieve the next page of metric versions. This is only included if `has_more` is true."
    }
  },
  "type": "object",
  "required": [
    "metric_versions",
    "has_more",
    "continuation_token"
  ],
  "$defs": {
    "BooleanMetricValue": {
      "properties": {
        "type": {
          "type": "string",
          "const": "boolean",
          "title": "Type"
        }
      },
      "type": "object",
      "required": [
        "type"
      ],
      "title": "BooleanMetricValue"
    },
    "CategoricalMetricValue-Output": {
      "properties": {
        "type": {
          "type": "string",
          "const": "categorical",
          "title": "Type"
        },
        "categories": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Categories"
        }
      },
      "type": "object",
      "required": [
        "type",
        "categories"
      ],
      "title": "CategoricalMetricValue"
    },
    "MetricValue-Output": {
      "oneOf": [
        {
          "$ref": "#/$defs/BooleanMetricValue"
        },
        {
          "$ref": "#/$defs/NumericalMetricValue"
        },
        {
          "$ref": "#/$defs/CategoricalMetricValue-Output"
        }
      ]
    },
    "MetricVersionInstance": {
      "properties": {
        "metric_id": {
          "type": "string",
          "title": "Metric Id",
          "description": "The ID of the metric."
        },
        "version": {
          "type": "integer",
          "title": "Version",
          "description": "The version number of the metric."
        },
        "description": {
          "type": "string",
          "title": "Description",
          "description": "The description of the metric. This tells the LLM what the metric is and how the metric result should be generated."
        },
        "metric_value": {
          "$ref": "#/$defs/MetricValue-Output",
          "description": "The type of value that this metric is measuring. The value type cannot be adjusted between versions, but specifiers of the type can."
        },
        "creator": {
          "$ref": "#/$defs/amigo_lib__mongo__collections__metric_version__MetricVersion__UserInfo",
          "description": "The user who created the metric."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At",
          "description": "The timestamp of when the metric version was created."
        }
      },
      "type": "object",
      "required": [
        "metric_id",
        "version",
        "description",
        "metric_value",
        "creator",
        "created_at"
      ],
      "title": "MetricVersionInstance"
    },
    "NumericalMetricValue": {
      "properties": {
        "type": {
          "type": "string",
          "const": "numerical",
          "title": "Type"
        },
        "lower_bound": {
          "type": "number",
          "title": "Lower Bound"
        },
        "upper_bound": {
          "type": "number",
          "title": "Upper Bound"
        }
      },
      "type": "object",
      "required": [
        "type",
        "lower_bound",
        "upper_bound"
      ],
      "title": "NumericalMetricValue"
    },
    "amigo_lib__mongo__collections__metric_version__MetricVersion__UserInfo": {
      "properties": {
        "org_id": {
          "type": "string",
          "title": "Org Id"
        },
        "user_id": {
          "type": "string",
          "title": "User Id"
        }
      },
      "type": "object",
      "required": [
        "org_id",
        "user_id"
      ],
      "title": "UserInfo"
    }
  }
}

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-src-app-endpoints-metric-get-metric-versions-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.