Metriport · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Metriport Patient API

7 actions 7 updates phrasing extends openapi/metriport-patient-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Metriport's API. It is a proposal applied on top of the contract, not a document Metriport publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/medical/v1/patient'].get
$.paths['/medical/v1/patient'].post
$.paths['/medical/v1/patient/{id}'].get
$.paths['/medical/v1/patient/{id}'].put
$.paths['/medical/v1/patient/{id}'].delete
$.paths['/medical/v1/patient/match'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Metriport Patient API
  version: 1.0.0
extends: openapi/metriport-patient-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/medical/v1/patient'].get
  update:
    x-apievangelist-phrasing:
      intent: List patients at a facility
      effect: read
      questions:
      - Which patients are receiving care at a given facility?
      - Can I get a list of all patients at one facility?
      instructions:
      - text: List patients receiving care at facility {facilityId}.
        slots:
          facilityId: query.facilityId
      - text: Show every patient at facility {facilityId}.
        slots:
          facilityId: query.facilityId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/medical/v1/patient'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a patient record
      effect: write
      questions:
      - How do I add a new patient to Metriport for a facility?
      - Can I set a patient's contact and address when creating them?
      instructions:
      - text: Create patient {firstName} {lastName} born {dob} at facility {facilityId}.
        slots:
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          dob: requestBody.dob
          facilityId: query.facilityId
      - text: Add patient {firstName} {lastName} with gender {genderAtBirth} and address {address} at facility {facilityId}.
        slots:
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          genderAtBirth: requestBody.genderAtBirth
          address: requestBody.address
          facilityId: query.facilityId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/medical/v1/patient/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a patient record
      effect: read
      questions:
      - What demographics are stored for a patient?
      - Can I fetch one patient by their Metriport ID?
      instructions:
      - text: Get patient {id}.
        slots:
          id: path.id
      - text: Show the demographics of patient {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/medical/v1/patient/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a patient's demographics
      effect: write
      questions:
      - How do I correct a patient's name or date of birth?
      - Can I change a patient's contact details?
      instructions:
      - text: Update patient {id} at facility {facilityId} to {firstName} {lastName}, DOB {dob}, gender {genderAtBirth}, address {address}.
        slots:
          id: path.id
          facilityId: query.facilityId
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          dob: requestBody.dob
          genderAtBirth: requestBody.genderAtBirth
          address: requestBody.address
      - text: Correct patient {id} at facility {facilityId} to contact {contact}.
        slots:
          id: path.id
          facilityId: query.facilityId
          contact: requestBody.contact
      method: generated
      generated: '2026-11-26'
- target: $.paths['/medical/v1/patient/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a patient record
      effect: destructive
      questions:
      - How do I remove a patient from a facility?
      - Can I delete a patient record entirely?
      instructions:
      - text: Delete patient {id} at facility {facilityId}.
        slots:
          id: path.id
          facilityId: query.facilityId
      - text: Remove patient {id} from facility {facilityId}.
        slots:
          id: path.id
          facilityId: query.facilityId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/medical/v1/patient/match'].post
  update:
    x-apievangelist-phrasing:
      intent: Find an existing patient by demographics
      effect: read
      questions:
      - Is there already a patient with these demographics before I create one?
      - Can I search for a patient without creating a duplicate?
      instructions:
      - text: Match patient {firstName} {lastName} born {dob} with gender {genderAtBirth} and address {address}.
        slots:
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          dob: requestBody.dob
          genderAtBirth: requestBody.genderAtBirth
          address: requestBody.address
      - text: Find an existing patient matching {firstName} {lastName}, DOB {dob}, gender {genderAtBirth}, address {address}.
        slots:
          firstName: requestBody.firstName
          lastName: requestBody.lastName
          dob: requestBody.dob
          genderAtBirth: requestBody.genderAtBirth
          address: requestBody.address
      method: generated
      generated: '2026-11-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/metriport-patient-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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