Simulate a change
POST/api/patient/digital-twin/simulate
Ask the Digital Twin a what-if question in plain words (up to 500 characters). Returns the interpreted changes and the before / after projection of the overall score and each domain (a deterministic model; only the interpretation of the question uses AI).
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 502
Success
Bad Request
Unauthorized
Forbidden (the key cannot reach this person, IP not allowed, or a read-only key on a write)
Too Many Requests (rate limit exceeded)
Bad Gateway