Skip to main content

Set the org's LLM model policy

PUT 

/api/v1/organizations/current/model-policy

Replace the org's per-org LLM admission policy.

  • Owner-only: the policy governs where proprietary source may be sent, so it sits at the same trust tier as org deletion / ownership.
  • Fully replaces the prior policy (idempotent PUT). The body is validated against the typed OrgModelPolicy schema; an unknown provider or malformed override is rejected (422) before persistence — no string-as-type, no silent drop.
  • Persisted on the org; shipped to the runner in spawn metadata as model_policy_json on the NEXT assessment start (in-flight runs keep the policy that was active at their spawn).

Request

Responses

Successful Response