Amigo · Schema

Request

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
name object The name of the metric. Must be unique within the organization.
applied_to_services array The services that the metric is applied to.
additional_notes object Additional notes about the metric.
tags object The tags of the metric.
initial_version_metric_value object The initial version of the metric.
View JSON Schema on GitHub

JSON Schema

amigo-src-app-endpoints-metric-create-metric-request-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-create-metric-request-schema.json",
  "title": "Request",
  "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__create_metric__Request",
  "properties": {
    "name": {
      "$ref": "#/$defs/amigo_lib__pydantic__base_model__StrippedNonemptyString__1",
      "description": "The name of the metric. Must be unique within the organization."
    },
    "applied_to_services": {
      "items": {
        "type": "string",
        "pattern": "^[a-f0-9]{24}$"
      },
      "type": "array",
      "title": "Applied To Services",
      "description": "The services that the metric is applied to."
    },
    "additional_notes": {
      "anyOf": [
        {
          "$ref": "#/$defs/amigo_lib__pydantic__base_model__StrippedNonemptyString__1"
        },
        {
          "type": "null"
        }
      ],
      "description": "Additional notes about the metric."
    },
    "tags": {
      "additionalProperties": {
        "anyOf": [
          {
            "$ref": "#/$defs/StrippedNonemptyString___w__s_____"
          },
          {
            "type": "null"
          }
        ]
      },
      "propertyNames": {
        "$ref": "#/$defs/StrippedNonemptyString___w__s_____"
      },
      "type": "object",
      "maxProperties": 20,
      "title": "Tags",
      "description": "The tags of the metric."
    },
    "initial_version_metric_value": {
      "$ref": "#/$defs/InitialMetricVersion",
      "description": "The initial version of the metric."
    }
  },
  "type": "object",
  "required": [
    "name",
    "applied_to_services",
    "additional_notes",
    "tags",
    "initial_version_metric_value"
  ],
  "$defs": {
    "BooleanMetricValue": {
      "properties": {
        "type": {
          "type": "string",
          "const": "boolean",
          "title": "Type"
        }
      },
      "type": "object",
      "required": [
        "type"
      ],
      "title": "BooleanMetricValue"
    },
    "CategoricalMetricValue-Input": {
      "properties": {
        "type": {
          "type": "string",
          "const": "categorical",
          "title": "Type"
        },
        "categories": {
          "items": {
            "$ref": "#/$defs/amigo_lib__pydantic__base_model__StrippedNonemptyString__1"
          },
          "type": "array",
          "maxItems": 50,
          "minItems": 1,
          "title": "Categories"
        }
      },
      "type": "object",
      "required": [
        "type",
        "categories"
      ],
      "title": "CategoricalMetricValue"
    },
    "InitialMetricVersion": {
      "properties": {
        "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-Input",
          "description": "The type of value this metric could take for the initial version of the metric. The value type cannot be adjusted between versions."
        }
      },
      "type": "object",
      "required": [
        "description",
        "metric_value"
      ],
      "title": "InitialMetricVersion"
    },
    "MetricValue-Input": {
      "oneOf": [
        {
          "$ref": "#/$defs/NumericalMetricValue"
        },
        {
          "$ref": "#/$defs/CategoricalMetricValue-Input"
        },
        {
          "$ref": "#/$defs/BooleanMetricValue"
        }
      ]
    },
    "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"
    },
    "StrippedNonemptyString___w__s_____": {
      "type": "string",
      "minLength": 1,
      "pattern": "^[\\w\\s]+$"
    },
    "amigo_lib__pydantic__base_model__StrippedNonemptyString__1": {
      "type": "string",
      "minLength": 1
    }
  }
}

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-create-metric-request"
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.