Eden Health grdn.routes.impl.document API

The grdn.routes.impl.document API from Eden Health — 12 operation(s) for grdn.routes.impl.document.

Operations 16

POST /v2/document post-document-handler
GET /v2/document get-documents-handler
GET /v2/document/type get-document-types-handler
DELETE /v2/document/{patient-document-id} delete-document-handler
PUT /v2/document/{patient-document-id} update-document-handler
GET /v2/document/{patient-document-id} get-document-metadata-handler
GET /v2/document/{patient-document-id}/download get-document-handler
POST /v2/patient/{patient-id}/document/covid-test-result post-covid-test-result-handler
GET /v2/patient/{patient-id}/document/lab-result get-lab-results-summary-handler
GET /v2/patient/{patient-id}/document/lab-result/{lab-result-id} get-lab-result-handler
GET /v2/patient/{patient-id}/document/lab-result/{lab-result-id}/file get-lab-result-file-handler
GET /v2/patient/{patient-id}/document/primary-insurance-card get-primary-insurance-card-handler
POST /v2/patient/{patient-id}/document/vaccine post-vaccine-document-handler
GET /v2/patient/{patient-id}/document/vaccine get-vaccines-handler
GET /v2/patient/{patient-id}/document/vaccine/{vaccine-id} get-vaccine-document-handler
GET /v2/patient/{patient-id}/order get-orders-handler

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/eden-health-grdn-routes-impl-document-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

eden-health-grdn-routes-impl-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1.0'
  title: Grdn grdn.handler Grdn.routes.impl.document API
  description: Eden Health Inc. primary backend API service.
servers:
- url: https://api.edenhealth.com/
tags:
- name: grdn.routes.impl.document
  description: null
paths:
  /v2/document:
    post:
      summary: post-document-handler
      description: Uploads documents to S3 and send to sb channel
      tags:
      - grdn.routes.impl.document
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  patient-document-id:
                    type: string
                    format: uuid
                required:
                - patient-document-id
                title: grdn.specs.document/upload-document-response-spec
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                patient-id:
                  type: string
                  format: uuid
                channel-id:
                  type: string
                  format: uuid
                is-dependent:
                  x-anyOf:
                  - {}
                  - {}
                file:
                  type: object
                  properties:
                    tempfile: {}
                    filename:
                      type: string
                    content-type:
                      enum:
                      - image/png
                      - application/pdf
                      - image/jpeg
                      type: string
                    size:
                      type: integer
                  required:
                  - tempfile
                  - filename
                  - content-type
                  - size
                  title: grdn.specs.document/file
                title:
                  type: string
                  allowEmptyValue: true
                  x-allOf:
                  - type: string
                    allowEmptyValue: true
                  - {}
                notes:
                  type: string
                  allowEmptyValue: true
                  x-allOf:
                  - type: string
                    allowEmptyValue: true
                  - {}
                internal-notes:
                  type: string
                  allowEmptyValue: true
                  x-allOf:
                  - type: string
                    allowEmptyValue: true
                  - {}
                patient-document-type-id:
                  type: string
                  format: uuid
              required:
              - patient-id
              - channel-id
              - is-dependent
              - file
              title: grdn.specs.document/upload-document-spec
        description: 'origin spec: grdn.specs.document/upload-document-spec'
    get:
      summary: get-documents-handler
      description: ''
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: query
        name: patient-id
        description: 'origin spec: grdn.specs.document/get-documents-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  stats:
                    type: object
                    properties:
                      count:
                        type: integer
                      latest-uploaded-at: {}
                    required:
                    - count
                    - latest-uploaded-at
                    title: grdn.specs.document/stats
                  documents:
                    type: array
                    items:
                      type: object
                      properties:
                        file-path:
                          type: string
                        deleted-at: {}
                        uploaded-to-athena-at: {}
                        provider-id:
                          type: string
                          format: uuid
                        patient-id:
                          type: string
                          format: uuid
                        id:
                          type: string
                          format: uuid
                        patient-document-type-id:
                          type: string
                          format: uuid
                        internal-notes:
                          type:
                          - string
                          - 'null'
                          x-allOf:
                          - type:
                            - string
                            - 'null'
                          - {}
                        last-updated-by-provider-name:
                          type:
                          - string
                          - 'null'
                        updated-at: {}
                        deleted-reason:
                          enum:
                          - ''
                          - wrong-patient
                          - duplicate
                          - irrelevant
                          type:
                          - string
                          - 'null'
                        mimetype:
                          type:
                          - string
                          - 'null'
                        created-at: {}
                        last-updated-by-provider-id:
                          type:
                          - string
                          - 'null'
                          format: uuid
                        title:
                          type:
                          - string
                          - 'null'
                          x-allOf:
                          - type:
                            - string
                            - 'null'
                          - {}
                        type:
                          type:
                          - string
                          - 'null'
                        uploaded-by:
                          enum:
                          - provider
                          - patient
                          type: string
                        athena-id:
                          type:
                          - string
                          - 'null'
                        notes:
                          type:
                          - string
                          - 'null'
                          x-allOf:
                          - type:
                            - string
                            - 'null'
                          - {}
                        size:
                          type: integer
                        is-dependent:
                          x-anyOf:
                          - {}
                          - {}
                        filename:
                          type: string
                      required:
                      - id
                      - patient-id
                      - provider-id
                      - file-path
                      - athena-id
                      - type
                      - patient-document-type-id
                      - uploaded-by
                      - created-at
                      - deleted-at
                      - deleted-reason
                      - filename
                      - is-dependent
                      - mimetype
                      - notes
                      - internal-notes
                      - size
                      - title
                      - uploaded-to-athena-at
                      - updated-at
                      - last-updated-by-provider-id
                      - last-updated-by-provider-name
                      title: grdn.specs.document/patient-document
                required:
                - stats
                - documents
                title: grdn.specs.document/get-documents-response-spec
  /v2/document/type:
    get:
      summary: get-document-types-handler
      description: Gets list of patient document types.
      tags:
      - grdn.routes.impl.document
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      format: uuid
                    created-at: {}
                    updated-at: {}
                    name:
                      type: string
                    identifier:
                      type: string
                    description:
                      type:
                      - string
                      - 'null'
                    is-athena-upload:
                      type: boolean
                    is-managed:
                      type: boolean
                  required:
                  - id
                  - created-at
                  - updated-at
                  - name
                  - identifier
                  - description
                  - is-athena-upload
                  - is-managed
                  title: grdn.specs.document-type/document-type
  /v2/document/{patient-document-id}:
    delete:
      summary: delete-document-handler
      description: Deletes specified patient document.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-document-id
        description: 'origin spec: grdn.specs.document/delete-document-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema: {}
    put:
      summary: update-document-handler
      description: Updates specified patient document.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-document-id
        description: 'origin spec: '
        required: true
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema: {}
    get:
      summary: get-document-metadata-handler
      description: ''
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-document-id
        description: 'origin spec: grdn.specs.document/get-document-metadata-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted-at: {}
                  provider-id:
                    type: string
                    format: uuid
                  patient-id:
                    type: string
                    format: uuid
                  id:
                    type: string
                    format: uuid
                  patient-document-type-id:
                    type: string
                    format: uuid
                  last-updated-by-provider-name:
                    type:
                    - string
                    - 'null'
                  updated-at: {}
                  deleted-reason:
                    enum:
                    - ''
                    - wrong-patient
                    - duplicate
                    - irrelevant
                    type:
                    - string
                    - 'null'
                  created-at: {}
                  last-updated-by-provider-id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                  uploaded-by:
                    enum:
                    - provider
                    - patient
                    type: string
                required:
                - id
                - patient-id
                - provider-id
                - patient-document-type-id
                - uploaded-by
                - created-at
                - deleted-at
                - deleted-reason
                - updated-at
                - last-updated-by-provider-id
                - last-updated-by-provider-name
                title: grdn.specs.document/deleted-patient-document
                x-anyOf:
                - type: object
                  properties:
                    deleted-at: {}
                    provider-id:
                      type: string
                      format: uuid
                    patient-id:
                      type: string
                      format: uuid
                    id:
                      type: string
                      format: uuid
                    patient-document-type-id:
                      type: string
                      format: uuid
                    last-updated-by-provider-name:
                      type:
                      - string
                      - 'null'
                    updated-at: {}
                    deleted-reason:
                      enum:
                      - ''
                      - wrong-patient
                      - duplicate
                      - irrelevant
                      type:
                      - string
                      - 'null'
                    created-at: {}
                    last-updated-by-provider-id:
                      type:
                      - string
                      - 'null'
                      format: uuid
                    uploaded-by:
                      enum:
                      - provider
                      - patient
                      type: string
                  required:
                  - id
                  - patient-id
                  - provider-id
                  - patient-document-type-id
                  - uploaded-by
                  - created-at
                  - deleted-at
                  - deleted-reason
                  - updated-at
                  - last-updated-by-provider-id
                  - last-updated-by-provider-name
                  title: grdn.specs.document/deleted-patient-document
  /v2/document/{patient-document-id}/download:
    get:
      summary: get-document-handler
      description: ''
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-document-id
        description: 'origin spec: grdn.specs.document/get-document-spec'
        required: true
        schema:
          type: string
          format: uuid
      - in: query
        name: source
        description: 'origin spec: grdn.specs.document/get-document-spec'
        required: false
        allowEmptyValue: true
        schema:
          type: string
          enum:
          - chat
          - files
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema: {}
  /v2/patient/{patient-id}/document/covid-test-result:
    post:
      summary: post-covid-test-result-handler
      description: Uploads a patient's test result document to Athena and S3.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs.document/upload-covid-test-document-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  lab-result-id:
                    type: string
                  name:
                    type: string
                  administration-date:
                    type: string
                    x-allOf:
                    - type: string
                    - {}
                  result:
                    type:
                    - string
                    - 'null'
                  test-attestation-data:
                    type: array
                    items:
                      type: object
                      properties:
                        test-result:
                          type:
                          - string
                          - 'null'
                        proctored:
                          type:
                          - boolean
                          - 'null'
                      required:
                      - test-result
                      - proctored
                  description:
                    type: string
                  provider-id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                required:
                - lab-result-id
                - name
                - administration-date
                - result
                - test-attestation-data
                title: grdn.specs.document/upload-covid-test-document-response-spec
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                test-document-type:
                  enum:
                  - Rapid Molecular
                  - PCR
                  - Rapid Antigen
                  type: string
                document:
                  type: string
                test-date:
                  type: string
                  x-allOf:
                  - type: string
                  - {}
                test-result:
                  type: string
                  allowEmptyValue: true
                proctored:
                  type: boolean
                  allowEmptyValue: true
              required:
              - test-document-type
              - document
              - test-date
              - test-result
              - proctored
              title: grdn.specs.document/upload-covid-test-document-spec
        description: 'origin spec: grdn.specs.document/upload-covid-test-document-spec'
  /v2/patient/{patient-id}/document/lab-result:
    get:
      summary: get-lab-results-summary-handler
      description: Returns a summary of patient's lab results.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs.document/get-lab-results-summary-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  lab-results:
                    type: array
                    items:
                      type: object
                      properties:
                        lab-result-id:
                          type: string
                        administration-date:
                          type: string
                          x-allOf:
                          - type: string
                          - {}
                        name:
                          type: string
                        description:
                          type: string
                        document-type-id:
                          type: string
                        test-attestation-data:
                          type: array
                          items:
                            type: object
                            properties:
                              test-result:
                                type:
                                - string
                                - 'null'
                              proctored:
                                type:
                                - boolean
                                - 'null'
                            required:
                            - test-result
                            - proctored
                        result:
                          type:
                          - string
                          - 'null'
                      required:
                      - lab-result-id
                      - administration-date
                      - name
                      - description
                required:
                - lab-results
                title: grdn.specs.document/get-lab-results-summary-response-spec
  /v2/patient/{patient-id}/document/lab-result/{lab-result-id}:
    get:
      summary: get-lab-result-handler
      description: Returns a single detailed lab result.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs.document/get-lab-result-spec'
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: lab-result-id
        description: 'origin spec: grdn.specs.document/get-lab-result-spec'
        required: true
        schema:
          type: string
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  lab-result-id:
                    type: string
                  name:
                    type: string
                  administration-date:
                    type: string
                    x-allOf:
                    - type: string
                    - {}
                  description:
                    type: string
                  result:
                    type:
                    - string
                    - 'null'
                  provider-id:
                    type:
                    - string
                    - 'null'
                    format: uuid
                required:
                - lab-result-id
                - name
                - administration-date
                - description
                - result
                - provider-id
                title: grdn.specs.document/get-lab-result-response-spec
  /v2/patient/{patient-id}/document/lab-result/{lab-result-id}/file:
    get:
      summary: get-lab-result-file-handler
      description: ''
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: '
        required: true
      - in: path
        name: lab-result-id
        description: 'origin spec: '
        required: true
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema: {}
  /v2/patient/{patient-id}/document/primary-insurance-card:
    get:
      summary: get-primary-insurance-card-handler
      description: Get the member's primary insurance card image.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs/patient-id-params'
        required: true
        schema:
          type: string
          format: uuid
      - in: query
        name: funnel-id
        description: 'origin spec: grdn.specs/patient-id-params'
        required: false
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema: {}
  /v2/patient/{patient-id}/document/vaccine:
    post:
      summary: post-vaccine-document-handler
      description: Uploads a patient's vaccine document to Athena and S3.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs.document/upload-vaccine-document-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  vaccine:
                    type: object
                    properties:
                      administration-date:
                        type: string
                        x-allOf:
                        - type: string
                        - {}
                      status:
                        enum:
                        - REFUSED
                        - ADMINISTERED
                        - PRESCRIBED
                        type: string
                      vaccinator:
                        type: string
                      vaccine-id:
                        type: string
                      attestation-data:
                        type: object
                        properties:
                          dose-nr:
                            type: integer
                          vaccinator:
                            type: string
                          administer-date:
                            type: string
                            x-allOf:
                            - type: string
                            - {}
                          manufacturer:
                            enum:
                            - Pfizer
                            - Novavax
                            - Johnson & Johnson
                            - AstraZeneca
                            - Moderna
                            - Other
                            type: string
                        required:
                        - dose-nr
                        - vaccinator
                        title: grdn.specs.document/attestation-data
                      description:
                        type: string
                      lot-number:
                        type: string
                    required:
                    - administration-date
                    - status
                    - vaccinator
                    - vaccine-id
                    title: grdn.specs.document/vaccine
                required:
                - vaccine
                title: grdn.specs.document/upload-vaccine-document-response-spec
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                document-type:
                  enum:
                  - covid-vaccine
                  - covid-test
                  type: string
                document:
                  type: string
                attestation-data:
                  type: object
                  properties:
                    dose-nr:
                      type: integer
                    vaccinator:
                      type: string
                    administer-date:
                      type: string
                      x-allOf:
                      - type: string
                      - {}
                    manufacturer:
                      enum:
                      - Pfizer
                      - Novavax
                      - Johnson & Johnson
                      - AstraZeneca
                      - Moderna
                      - Other
                      type: string
                  required:
                  - dose-nr
                  - vaccinator
                  title: grdn.specs.document/attestation-data
              required:
              - document-type
              - document
              title: grdn.specs.document/upload-vaccine-document-spec
        description: 'origin spec: grdn.specs.document/upload-vaccine-document-spec'
    get:
      summary: get-vaccines-handler
      description: Retrieves the patient's vaccinations. For now, filters for COVID vaccines.
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs.document/get-vaccines-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  vaccines:
                    type: array
                    items:
                      type: object
                      properties:
                        administration-date:
                          type: string
                          x-allOf:
                          - type: string
                          - {}
                        status:
                          enum:
                          - REFUSED
                          - ADMINISTERED
                          - PRESCRIBED
                          type: string
                        vaccinator:
                          type: string
                        vaccine-id:
                          type: string
                        attestation-data:
                          type: object
                          properties:
                            dose-nr:
                              type: integer
                            vaccinator:
                              type: string
                            administer-date:
                              type: string
                              x-allOf:
                              - type: string
                              - {}
                            manufacturer:
                              enum:
                              - Pfizer
                              - Novavax
                              - Johnson & Johnson
                              - AstraZeneca
                              - Moderna
                              - Other
                              type: string
                          required:
                          - dose-nr
                          - vaccinator
                          title: grdn.specs.document/attestation-data
                        description:
                          type: string
                        lot-number:
                          type: string
                      required:
                      - administration-date
                      - status
                      - vaccinator
                      - vaccine-id
                      title: grdn.specs.document/vaccine
                required:
                - vaccines
                title: grdn.specs.document/get-vaccines-response-spec
  /v2/patient/{patient-id}/document/vaccine/{vaccine-id}:
    get:
      summary: get-vaccine-document-handler
      description: ''
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: '
        required: true
      - in: path
        name: vaccine-id
        description: 'origin spec: '
        required: true
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema: {}
  /v2/patient/{patient-id}/order:
    get:
      summary: get-orders-handler
      description: Returns all handlers associated with a patient
      tags:
      - grdn.routes.impl.document
      parameters:
      - in: path
        name: patient-id
        description: 'origin spec: grdn.specs.document/get-orders-spec'
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: Default success response.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    created-date-time: {}
                    order-type:
                      enum:
                      - LAB
                      - PRESCRIPTION
                      - IMAGING
                      type: string
                    order-s

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/eden-health/refs/heads/main/openapi/eden-health-grdn-routes-impl-document-api-openapi.yml