Uphealth · Schema

CreateStreamRequest

HealthMessagingFederal DataHealthcare

Properties

Name Type Description
template_id string Stream template id — one of the live catalog templates. The Discovery sandbox serves `general_wellness_daily` (the segment-agnostic default); the pharma-initiation + behavioral templates cue the live
attributes object Free-form patient context (stored as the stream's `patient_context`) the engine may use to scope the corpus. No PHI is required in Display mode.
audience_tags array Audience-safety inclusion tags scoping the corpus.
delivery_mode string `display` (default) — you render the cue; no PHI, no BAA. `deliver` — Uphealth sends; BAA-gated at PMPM+ and requires the `stream:deliver` scope (not in the Discovery bundle).
feedback_timeout_days integer Days a cue may await feedback before timing out (Deliver-mode concern).
View JSON Schema on GitHub

JSON Schema

uphealth-us-create-stream-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uphealth-us/json-schema/uphealth-us-create-stream-request-schema.json",
  "title": "CreateStreamRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uphealth-us-openapi.json#/components/schemas/CreateStreamRequest",
  "type": "object",
  "required": [
    "template_id"
  ],
  "properties": {
    "template_id": {
      "type": "string",
      "enum": [
        "general_wellness_daily",
        "relapse_prevention_90day",
        "diabetes_pharma_initiation_30day",
        "weight_glp1_initiation_30day",
        "heart_pharma_initiation_30day",
        "quit_smoking_90day",
        "hypertension_lifestyle_90day"
      ],
      "description": "Stream template id — one of the live catalog templates. The Discovery\nsandbox serves `general_wellness_daily` (the segment-agnostic default);\nthe pharma-initiation + behavioral templates cue the live corpus on\nproduction tiers. An unrecognized value returns `422 validation_failed`.\n"
    },
    "attributes": {
      "type": "object",
      "additionalProperties": true,
      "description": "Free-form patient context (stored as the stream's `patient_context`)\nthe engine may use to scope the corpus. No PHI is required in Display\nmode.\n"
    },
    "audience_tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Audience-safety inclusion tags scoping the corpus."
    },
    "delivery_mode": {
      "type": "string",
      "enum": [
        "display",
        "deliver"
      ],
      "default": "display",
      "description": "`display` (default) — you render the cue; no PHI, no BAA. `deliver` —\nUphealth sends; BAA-gated at PMPM+ and requires the `stream:deliver`\nscope (not in the Discovery bundle).\n"
    },
    "feedback_timeout_days": {
      "type": "integer",
      "default": 14,
      "minimum": 1,
      "description": "Days a cue may await feedback before timing out (Deliver-mode concern)."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/uphealth-us-create-stream-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.