Candid Health · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Reference Encounter Attachments API

8 actions 8 updates phrasing extends openapi/candid-health-encounter-attachments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Candid Health's API. It is a proposal applied on top of the contract, not a document Candid Health publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/encounter-attachments/v1/{encounter_id}'].get
$.paths['/api/encounter-attachments/v1/{encounter_id}'].put
$.paths['/api/encounter-attachments/v1/{encounter_id}'].delete
$.paths['/api/encounter-attachments/v1/{encounter_id}/v2'].put
$.paths['/api/encounter-attachments/v1/create-from-charge-capture-external-id'].post
$.paths['/api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}'].get
$.paths['/api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}'].delete

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 Reference Encounter Attachments API
  version: 1.0.0
extends: openapi/candid-health-encounter-attachments-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: 7
- target: $.paths['/api/encounter-attachments/v1/{encounter_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: List attachments on an encounter
      effect: read
      questions:
      - What documents are attached to an encounter?
      - Can I see an encounter's attachments by its ID?
      instructions:
      - text: List attachments for encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      - text: Show the documents attached to encounter {encounter_id}.
        slots:
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-attachments/v1/{encounter_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Upload a file to an encounter (deprecated)
      effect: write
      questions:
      - How do I upload a file to an encounter with the older endpoint?
      - Is there a deprecated way to attach a file to an encounter by its ID?
      instructions:
      - text: Upload {attachment_file} as a {attachment_type} to encounter {encounter_id} with the deprecated endpoint.
        slots:
          attachment_file: requestBody.attachment_file
          attachment_type: requestBody.attachment_type
          encounter_id: path.encounter_id
      - text: Attach {attachment_type} file {attachment_file} to encounter {encounter_id} using the older upload.
        slots:
          attachment_type: requestBody.attachment_type
          attachment_file: requestBody.attachment_file
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-attachments/v1/{encounter_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an attachment from an encounter
      effect: destructive
      questions:
      - How do I remove a document from an encounter?
      - Can I delete an attachment by its ID?
      instructions:
      - text: Delete attachment {attachment_id} from encounter {encounter_id}.
        slots:
          attachment_id: requestBody.attachment_id
          encounter_id: path.encounter_id
      - text: Remove document {attachment_id} from encounter {encounter_id}.
        slots:
          attachment_id: requestBody.attachment_id
          encounter_id: path.encounter_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-attachments/v1/{encounter_id}/v2'].put
  update:
    x-apievangelist-phrasing:
      intent: Upload a file to an encounter with a description
      effect: write
      questions:
      - Can I attach a file to an encounter and describe it?
      - What is the maximum file size when uploading an encounter attachment?
      instructions:
      - text: Upload {attachment_file} as a {attachment_type} to encounter {encounter_id} with description {description}.
        slots:
          attachment_file: requestBody.attachment_file
          attachment_type: requestBody.attachment_type
          encounter_id: path.encounter_id
          description: requestBody.description
      - text: Attach {attachment_type} file {attachment_file} to encounter {encounter_id} and note {description}.
        slots:
          attachment_type: requestBody.attachment_type
          attachment_file: requestBody.attachment_file
          encounter_id: path.encounter_id
          description: requestBody.description
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-attachments/v1/create-from-charge-capture-external-id'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a file using a charge capture external ID
      effect: write
      questions:
      - How do I attach a file to an encounter created from a charge capture?
      - Can I upload a file by charge capture external ID before the encounter exists?
      instructions:
      - text: Upload {attachment_file} as a {attachment_type} for charge capture {charge_capture_external_id}.
        slots:
          attachment_file: requestBody.attachment_file
          attachment_type: requestBody.attachment_type
          charge_capture_external_id: requestBody.charge_capture_external_id
      - text: Attach {attachment_type} file {attachment_file} to charge capture {charge_capture_external_id} with description {description}.
        slots:
          attachment_type: requestBody.attachment_type
          attachment_file: requestBody.attachment_file
          charge_capture_external_id: requestBody.charge_capture_external_id
          description: requestBody.description
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: List attachments for a charge capture
      effect: read
      questions:
      - Which files are attached to a charge capture?
      - Can I list attachments by charge capture external ID?
      instructions:
      - text: List attachments for charge capture {charge_capture_external_id}.
        slots:
          charge_capture_external_id: path.charge_capture_external_id
      - text: Show the documents attached to charge capture {charge_capture_external_id}.
        slots:
          charge_capture_external_id: path.charge_capture_external_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/encounter-attachments/v1/by-charge-capture-external-id/{charge_capture_external_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an attachment by charge capture external ID
      effect: destructive
      questions:
      - How do I remove a file attached to a charge capture?
      - Can I delete an attachment using the charge capture external ID?
      instructions:
      - text: Delete attachment {attachment_id} from charge capture {charge_capture_external_id}.
        slots:
          attachment_id: requestBody.attachment_id
          charge_capture_external_id: path.charge_capture_external_id
      - text: Remove document {attachment_id} attached to charge capture {charge_capture_external_id}.
        slots:
          attachment_id: requestBody.attachment_id
          charge_capture_external_id: path.charge_capture_external_id
      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/candid-health-encounter-attachments-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.