Create Recommendation
recommendations
Create Recommendation
V2 Wave 5A (API-IMPLEMENTATION-SPEC.md §9): fix_class + pattern_id
are required; business_case is computed server-side only (never accepted
from the client — see RecCreateBody.model_config) via the pattern’s
hazard fit + counterfactual + active rate-card financials.
POST
Create Recommendation
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
V2 Wave 5A (API-IMPLEMENTATION-SPEC.md §9) — required on every POST /recommendations; drives the remediation-cost/effort assumptions and the counterfactual covariate reduction used to compute business_case.
Available options:
structural, compensating, patch Available options:
high, medium, quick_win Minimum string length:
1Required string length:
1 - 300Available options:
code_fix, config_change, process, monitoring Maximum string length:
5000Maximum string length:
50Required range:
x >= 0Required range:
x >= 1Response
Successful Response