Skip to main content
POST
/
policies
/
from-prompt
Draft a policy from a natural-language prompt (LLM-assisted)
curl --request POST \
  --url https://api.getovra.com/policies/from-prompt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.getovra.com/llms.txt

Use this file to discover all available pages before exploring further.

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)