DoseSpot · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for DoseSpot REST API - Plan: Full + EPCS - V2 Allergies API

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

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/api/patients/{patientId}/allergies'].get
$.paths['/api/patients/{patientId}/allergies/{patientAllergyId}'].put
$.paths['/api/patients/{patientId}/allergies/coded'].post
$.paths['/api/patients/{patientId}/allergies/freetext'].post
$.paths['/api/patients/{patientId}/allergies/noKnownAllergy'].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 DoseSpot REST API - Plan: Full + EPCS - V2 Allergies API'
  version: 1.0.0
extends: openapi/dosespot-allergies-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/api/patients/{patientId}/allergies'].get
  update:
    x-apievangelist-phrasing:
      intent: List a patient's allergies
      effect: read
      questions:
      - What allergies does this patient have on file?
      - Can I see the reaction type and status of each allergy?
      instructions:
      - text: List allergies for patient {patientId}.
        slots:
          patientId: path.patientId
      - text: Show all allergies on file for patient {patientId}.
        slots:
          patientId: path.patientId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/allergies/{patientAllergyId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit an existing allergy
      effect: write
      questions:
      - How do I change the reaction on an allergy I already recorded?
      - Can I mark an existing allergy as resolved?
      instructions:
      - text: Set the reaction of allergy {patientAllergyId} for patient {patientId} to {Reaction}.
        slots:
          patientAllergyId: path.patientAllergyId
          patientId: path.patientId
          Reaction: requestBody.Reaction
      - text: Change allergy {patientAllergyId} on patient {patientId} to status {StatusType}.
        slots:
          patientAllergyId: path.patientAllergyId
          patientId: path.patientId
          StatusType: requestBody.StatusType
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/allergies/coded'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a coded allergy
      effect: write
      questions:
      - How do I record a known drug allergy by its code?
      - Can I note when a coded allergy started?
      instructions:
      - text: Add allergy {AllergenId} to patient {patientId} with reaction {Reaction} and status {StatusType}.
        slots:
          AllergenId: requestBody.AllergenId
          patientId: path.patientId
          Reaction: requestBody.Reaction
          StatusType: requestBody.StatusType
      - text: Record coded allergy {AllergenId} for patient {patientId} starting {OnsetDate}, reaction {Reaction}, status {StatusType}.
        slots:
          AllergenId: requestBody.AllergenId
          patientId: path.patientId
          OnsetDate: requestBody.OnsetDate
          Reaction: requestBody.Reaction
          StatusType: requestBody.StatusType
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/allergies/freetext'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a free-text allergy
      effect: write
      questions:
      - How do I record an allergy that isn't in the drug code list?
      - Can I add a food or environmental allergy as free text?
      instructions:
      - text: Add free-text allergy {FreeTextDisplayName} to patient {patientId} with reaction {Reaction} and status {StatusType}.
        slots:
          FreeTextDisplayName: requestBody.FreeTextDisplayName
          patientId: path.patientId
          Reaction: requestBody.Reaction
          StatusType: requestBody.StatusType
      - text: Record allergy {FreeTextDisplayName} for patient {patientId}, onset {OnsetDate}, reaction {Reaction}, status {StatusType}.
        slots:
          FreeTextDisplayName: requestBody.FreeTextDisplayName
          patientId: path.patientId
          OnsetDate: requestBody.OnsetDate
          Reaction: requestBody.Reaction
          StatusType: requestBody.StatusType
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/patients/{patientId}/allergies/noKnownAllergy'].post
  update:
    x-apievangelist-phrasing:
      intent: Record no known allergies
      effect: write
      questions:
      - How do I clear a patient's allergy list by recording no known allergies?
      - Can I add a no-known-allergies record for a patient?
      instructions:
      - text: Add a no-known-allergies record for patient {patientId}.
        slots:
          patientId: path.patientId
      - text: Record that patient {patientId} has no known allergies.
        slots:
          patientId: path.patientId
      method: generated
      generated: '2026-11-19'

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/dosespot-allergies-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.