Skip to main content
POST
Give one plan, get Diamond and Value on top of it

Authorizations

Authorization
string
header
required

Partner API key. psk_test_<32 hex> for test mode, psk_live_<32 hex> for live mode. Store them in your secrets manager on issue. Live keys are shown once; the scoped partner portal can show an active sandbox key again.

Headers

Idempotency-Key
string

Any non-empty string; deterministic keys from your own IDs work best. Repeating the same key with the same body on the same endpoint and mode within 24 hours returns the stored successful response (with Idempotent-Replay: true) instead of re-executing. Error responses are not stored.

Body

application/json
census
object[]
required

Members, as in PUT /groups/{groupId}/census. Time Machine needs it.

One employee record. Include dependent elections when your platform has them; submitted dependents drive covered lives and household tiers. When they are unavailable, Prescience uses a disclosed normalized small-group household mix for the preliminary model.

plan
object
required

The one plan to price Prescience on. It must be HSA-eligible and a PPO, EPO or POS plan; an HMO is rejected. Money is integer cents.

company
object

Optional. Without it the census is kept under a generated company.

market_plans
object[]

Optional: every plan you quoted. With a platinum PPO among them, pricing_method is engine.

Maximum array length: 500

Response

The plan can't be built on (an HMO, not HSA-eligible, incomplete): status: unavailable with the reason and ignored_plans.

Both plans, or status: unavailable with a reason when the plan can't be built on (a 200, not an error).

quote_id
string
group_id
string
status
enum<string>
Available options:
ready,
in_review,
unavailable
reason
string
plans
object[]
assumptions
string[]

Everything defaulted or assumed, in words.

ignored_plans
object[]