MedNode AI Vault API

The Vault API from MedNode AI — 7 operation(s) for vault.

Operations 8

GET /api/vault/records Vault List Records #
GET /api/vault/records/{record_id} Vault Get Record #
GET /api/vault/records/{record_id}/status Vault Record Status #
GET /api/vault/records/{record_id}/tags List Record Tags #
POST /api/vault/records/{record_id}/tags Add Record Tag #
DELETE /api/vault/records/{record_id}/tags/{tag_id} Delete Record Tag #
GET /api/vault/records/{record_id}/document-url Vault Get Record Document Url #
POST /api/vault/upload Vault Upload Document #

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/mednode-in:mednode-in-vault-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

mednode-in-vault-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MedNode AI Vault API
  version: 1.0.0
tags:
- name: Vault
paths:
  /api/vault/records:
    get:
      summary: Vault List Records
      operationId: vault_list_records_api_vault_records_get
      security:
      - HTTPBearer: []
      parameters:
      - name: tag
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Tag
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: document_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Document Type
      - name: dependent_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Dependent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VaultListItem'
                title: Response Vault List Records Api Vault Records Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /api/vault/records/{record_id}:
    get:
      summary: Vault Get Record
      operationId: vault_get_record_api_vault_records__record_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: integer
          title: Record Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatientRecordResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /api/vault/records/{record_id}/status:
    get:
      summary: Vault Record Status
      description: 'Lightweight polling endpoint for async upload progress.

        Returns { id, status: ''pending''|''processing''|''done''|''failed'', document_type }'
      operationId: vault_record_status_api_vault_records__record_id__status_get
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: integer
          title: Record Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /api/vault/records/{record_id}/tags:
    get:
      summary: List Record Tags
      operationId: list_record_tags_api_vault_records__record_id__tags_get
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: integer
          title: Record Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordTagListItem'
                title: Response List Record Tags Api Vault Records  Record Id  Tags Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
    post:
      summary: Add Record Tag
      operationId: add_record_tag_api_vault_records__record_id__tags_post
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: integer
          title: Record Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_TagBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordTagListItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /api/vault/records/{record_id}/tags/{tag_id}:
    delete:
      summary: Delete Record Tag
      operationId: delete_record_tag_api_vault_records__record_id__tags__tag_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: integer
          title: Record Id
      - name: tag_id
        in: path
        required: true
        schema:
          type: integer
          title: Tag Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /api/vault/records/{record_id}/document-url:
    get:
      summary: Vault Get Record Document Url
      operationId: vault_get_record_document_url_api_vault_records__record_id__document_url_get
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: integer
          title: Record Id
      - name: ttl_minutes
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Ttl Minutes
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Vault
  /api/vault/upload:
    post:
      summary: Vault Upload Document
      description: 'Returns 202 Accepted immediately after blob upload.

        Heavy OCR / AI extraction runs as a background asyncio task —

        no external broker needed. Poll GET /api/vault/records/{id}/status for completion.'
      operationId: vault_upload_document_api_vault_upload_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_vault_upload_document_api_vault_upload_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Vault
components:
  schemas:
    LabResult:
      properties:
        test_name:
          type: string
          title: Test Name
        value:
          type: string
          title: Value
        unit:
          type: string
          title: Unit
        reference_range:
          type: string
          title: Reference Range
        is_abnormal:
          type: boolean
          title: Is Abnormal
          default: false
        test_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Test Date
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        low:
          anyOf:
          - type: number
          - type: 'null'
          title: Low
        high:
          anyOf:
          - type: number
          - type: 'null'
          title: High
        severity:
          anyOf:
          - type: string
          - type: 'null'
          title: Severity
      type: object
      required:
      - test_name
      - value
      - unit
      - reference_range
      title: LabResult
    _TagBody:
      properties:
        tag:
          type: string
          title: Tag
      type: object
      required:
      - tag
      title: _TagBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Medication:
      properties:
        name:
          type: string
          title: Name
        dosage:
          type: string
          title: Dosage
        frequency:
          type: string
          title: Frequency
        pharmacological_class:
          type: string
          title: Pharmacological Class
        start_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Start Date
        end_date:
          anyOf:
          - type: string
          - type: 'null'
          title: End Date
      type: object
      required:
      - name
      - dosage
      - frequency
      - pharmacological_class
      title: Medication
    PatientRecordResponse:
      properties:
        id:
          type: integer
          title: Id
        patient_phone:
          type: string
          title: Patient Phone
        document_type:
          type: string
          title: Document Type
        raw_file_url:
          type: string
          title: Raw File Url
        fhir_data:
          $ref: '#/components/schemas/ClinicalSummary'
        created_at:
          type: string
          format: date-time
          title: Created At
        processing_status:
          type: string
          title: Processing Status
          default: done
      type: object
      required:
      - id
      - patient_phone
      - document_type
      - raw_file_url
      - fhir_data
      - created_at
      title: PatientRecordResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RecordTagListItem:
      properties:
        id:
          type: integer
          title: Id
        record_id:
          type: integer
          title: Record Id
        tag:
          type: string
          title: Tag
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - record_id
      - tag
      - created_at
      title: RecordTagListItem
    Body_vault_upload_document_api_vault_upload_post:
      properties:
        document_type:
          type: string
          title: Document Type
        file:
          type: string
          format: binary
          title: File
        dependent_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Dependent Id
      type: object
      required:
      - document_type
      - file
      title: Body_vault_upload_document_api_vault_upload_post
    VaultListItem:
      properties:
        id:
          type: integer
          title: Id
        document_type:
          type: string
          title: Document Type
        created_at:
          type: string
          format: date-time
          title: Created At
        extracted_from:
          anyOf:
          - type: string
          - type: 'null'
          title: Extracted From
        patient_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Patient Name
        extraction_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Extraction Date
        processing_status:
          type: string
          title: Processing Status
          default: done
        dependent_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Dependent Id
      type: object
      required:
      - id
      - document_type
      - created_at
      title: VaultListItem
    ClinicalSummary:
      properties:
        patient_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Patient Name
        date_of_birth:
          anyOf:
          - type: string
          - type: 'null'
          title: Date Of Birth
        active_medications:
          items:
            $ref: '#/components/schemas/Medication'
          type: array
          title: Active Medications
        lab_results:
          items:
            $ref: '#/components/schemas/LabResult'
          type: array
          title: Lab Results
        diagnoses:
          items:
            type: string
          type: array
          title: Diagnoses
        procedures:
          items:
            type: string
          type: array
          title: Procedures
        allergies:
          items:
            type: string
          type: array
          title: Allergies
        extracted_from:
          type: string
          title: Extracted From
          default: ''
        extraction_date:
          type: string
          format: date-time
          title: Extraction Date
        document_type:
          type: string
          title: Document Type
          default: ''
        fhir_bundle:
          anyOf:
          - type: object
          - type: 'null'
          title: Fhir Bundle
      type: object
      title: ClinicalSummary
      description: FHIR-compliant clinical summary extracted from medical documents
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer