Huma Spirometry API

The Spirometry API from Huma — 1 operation(s) for spirometry.

Business capability
Cardiology & Cardiopulmonary Diagnostics BC-2860.40

Operations 1

GET /api/spirometry/v1/user/{user_id}/reports Retrieve Spirometry Reports #

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/huma-spirometry-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

huma-spirometry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Huma Platform Spirometry API
  version: 1.0.0
  description: Huma Platform
servers:
- url: https://workspace-gcp-uk.api.huma.com/api/integration/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Spirometry
paths:
  /api/spirometry/v1/user/{user_id}/reports:
    get:
      operationId: api_spirometry_v1_user_reports_retrieve_[retrieve_spirometry_reports]
      description: Retrieve spirometry reports for user per reading.
      summary: Retrieve Spirometry Reports
      parameters:
      - in: query
        name: spirometryId
        schema:
          type: string
        required: true
      - in: path
        name: user_id
        schema:
          type: string
          pattern: ^[a-f0-9]{24}$
        required: true
      tags:
      - Spirometry
      security:
      - JWT Auth: []
      - Hawk Auth: []
      - jwtAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpirometryReportDTODRF'
          description: ''
components:
  schemas:
    ReportSeriesDRF:
      type: object
      properties:
        seriesId:
          type: string
        seriesData:
          type: array
          items:
            $ref: '#/components/schemas/DataPointDRF'
      required:
      - seriesId
    SpirometryReportDTODRF:
      type: object
      properties:
        id:
          type: integer
        userId:
          type: string
        reportVersion:
          type: integer
        reportCode:
          type: string
        name:
          type: string
        axes:
          type: array
          items:
            $ref: '#/components/schemas/ReportAxeDRF'
        series:
          type: array
          items:
            $ref: '#/components/schemas/ReportSeriesDRF'
        groups:
          type: array
          items:
            $ref: '#/components/schemas/ReportGroupDRF'
        info:
          $ref: '#/components/schemas/ReportInfoDRF'
        startDateTime:
          type: string
          format: date-time
        createDateTime:
          type: string
          format: date-time
        updateDateTime:
          type: string
          format: date-time
      required:
      - userId
    DataValueDRF:
      type: object
      properties:
        axisId:
          type: string
        element:
          type: integer
        valueDate:
          type: string
          format: date-time
        valueInt:
          type: integer
        valueDouble:
          type: number
          format: double
        valueString:
          type: string
      required:
      - axisId
    ReportGroupElementDRF:
      type: object
      properties:
        elementName:
          type: string
        elementDescription:
          type: string
        elementSymbolChar:
          type: string
        elementSymbolSvgPath:
          type: string
        axes:
          type: array
          items:
            type: string
      required:
      - axes
      - elementName
    DataPointDRF:
      type: object
      properties:
        values:
          type: array
          items:
            $ref: '#/components/schemas/DataValueDRF'
        legend:
          type: string
        ref:
          type: string
      required:
      - values
    AxisStepsDRF:
      type: object
      properties:
        default:
          type: number
          format: double
        min:
          type: number
          format: double
        max:
          type: number
          format: double
      required:
      - default
    ReportInfoDRF:
      type: object
      properties:
        fev1Percentage:
          type: string
        fev1Raw:
          type: string
        fev1RawPef:
          type: string
      required:
      - fev1Percentage
      - fev1Raw
      - fev1RawPef
    ReportGroupDRF:
      type: object
      properties:
        groupId:
          type: string
        groupName:
          type: string
        groupElements:
          type: array
          items:
            $ref: '#/components/schemas/ReportGroupElementDRF'
      required:
      - groupElements
      - groupId
    AxisDataDRF:
      type: object
      properties:
        mainText:
          type: string
        secondaryText:
          type: string
        valueDate:
          type: string
          format: date-time
        valueInt:
          type: integer
        valueDouble:
          type: number
          format: double
    ReportAxeDRF:
      type: object
      properties:
        axisId:
          type: string
        axisName:
          type: string
        axisType:
          type: string
        dataType:
          type: string
        axisDescription:
          type: string
        axisData:
          type: array
          items:
            $ref: '#/components/schemas/AxisDataDRF'
        axisSteps:
          $ref: '#/components/schemas/AxisStepsDRF'
        axisFromDate:
          type: string
          format: date-time
        axisToDate:
          type: string
          format: date-time
        axisFromInt:
          type: integer
        axisToInt:
          type: integer
        axisFromDouble:
          type: number
          format: double
        axisToDouble:
          type: number
          format: double
      required:
      - axisId
      - axisName
      - axisType
      - dataType
  securitySchemes:
    Hawk_Auth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Hawk MAC authentication. Paste a full Authorization header value.


        Example:


        Authorization: Hawk id="userId:clientId", ts="<unix_ts>", nonce="<nonce>", mac="<mac>"[, hash="<hash>"][, ext="<ext>"]


        Note: Swagger UI cannot generate Hawk headers. Use your client to compute the MAC (e.g., with mohawk), then paste the full value here.'
    JWT_Auth:
      type: http
      scheme: bearer
      in: header
      bearerFormat: JWT
      description: 'Use HTTP Bearer auth with a JWT.


        Send the token in the Authorization header:


        Authorization: Bearer <your_jwt_here>


        The token should contain standard claims plus projectId and clientId in user claims.'
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT