v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
AI_STUDIO
OPPORTUNITIES

Validate Studio Opportunity

Pre-submit smoke test for a Studio → User opportunity draft (AI-7498).

Re-runs the full publish gates WITHOUT inserting, plus two new checks: the estimated savings must be plausible against the resource's actual last-30-day spend, and an LLM judge must find the descriptions coherent. Blocking failures come back as HTTP 422 with the same per-field {code, message} shape as submit, so the form reuses its error parser; a pass returns the validation report, the looked-up monthly spend, and any non-blocking warnings. NO ClickHouse insert, no side effects.

post/studio/opportunities/validate

Query parameters

navigationSourcestring nullable

Request body

session_idstring required
turn_uuidstring nullable
allow_updateboolean

Response

Successful Response

validboolean