> ## Documentation Index
> Fetch the complete documentation index at: https://getprescience.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> What changed in the Partner API.

<Update label="June 2026" description="v1.1" tags={["Additive"]}>
  ## Partner API v1.1

  Additive release; no breaking changes. Existing integrations continue to work unchanged.

  **Onboarding pathways**

  * `POST /groups/{groupId}/enrollments` accepts `onboardingMode: "hosted" | "embedded"` (default `hosted`). On the hosted pathway, Prescience provisions the enrollment signatory as an employer portal admin and runs onboarding, KYB, banking, and plan setup in the Prescience employer portal.
  * Enrollment responses now carry `onboardingMode` and, when the signatory was provisioned, an `employerPortal` object (`provisioned`, `signinUrl`, `inviteSuppressed`).
  * Embedded onboarding schemas are available for integrations that use that pathway.

  **Test-mode email suppression**

  * Test mode never sends outbound email. Portal accounts are still provisioned and the response reports `employerPortal.inviteSuppressed: true`.

  **Pricing configuration**

  * Quote responses gain an additive `pricing` object (`source`, `updatedAt`) naming the rate-card layer that priced the quote.
  * Quote expiry and the underwriting in-review employee threshold are now rate-card driven; the defaults are unchanged (30 days, 200 employees).
</Update>

<Update label="June 2026" description="v1" tags={["Initial release"]}>
  ## Partner API v1

  First public release of the Prescience Partner API.

  **Core flow**

  * `POST /groups`, `GET /groups`, `GET`/`PATCH /groups/{groupId}`: employer groups with lifecycle (`created` → `census_received` → `quoted` → `enrolled` → `active`)
  * `PUT`/`GET /groups/{groupId}/census`: full-census replace with per-row errors; upsert by email/externalId; up to 10,000 members
  * `POST /groups/{groupId}/quotes`: synchronous, deterministic quotes with tier breakdowns and prior-cost comparison; `in_review` flow for groups over 200 employees
  * `POST /groups/{groupId}/enrollments`: provisioning into the onboarding pipeline (`sandbox` → `prod` state machine)

  **Plan and account data**

  * `GET /plans`: static plan metadata, plan facts, assets, and disclaimers
  * `GET /groups/{groupId}/account`: aggregate, de-identified employer account data covering funding, premium breakdown, spend categories with k-anonymity suppression, and savings
  * `GET /groups/{groupId}/members`: enrollment roster with invitation status and COBRA

  **Census sync**

  * `POST /groups/{groupId}/members`, `PATCH /groups/{groupId}/members/{memberId}`: new hires, updates, terminations with COBRA handling; post-enrollment changes propagate to the live census

  **Platform**

  * Bearer-key auth with `psk_test_` / `psk_live_` modes and full mode isolation
  * Signed webhooks (standard-webhooks scheme): `ping`, `quote.finalized`, `enrollment.created`, `group.state_changed`, `census.processed`
  * `Idempotency-Key` support on all POST/PUT endpoints (24h replay)
  * Rate limits: 120 req/min, census writes 20/min, quotes 60/hour, with `Retry-After`
</Update>
