Skip to main content
POST
Draft a policy from a natural-language prompt (LLM-assisted)

Authorizations

Authorization
string
header
required

API key (sk_sandbox_* / sk_test_* / sk_live_*) or Agent token (at_* / at_dlg_*)

Body

application/json
prompt
string
required
Required string length: 1 - 4000

Response

Drafted policy (not yet persisted)