Skip to main content
POST

Headers

string
required

Body

string
required
Display name.
string
required
What the politics is meant to analyze / enforce.
Rule[]
required
Non-empty array. Each rule must provide name and description.
File[]
Optional reference documents. type must be "word" or "pdf"; url must be a publicly reachable http(s) link (no S3 upload is performed).
string[]
Emails or identifiers to notify when this politics produces a result.
object
Free-form JSON describing the desired shape of results.

Response — 201 Created

boolean
string
Politics
The full persisted document, including _id, userId, status (1), createdAt, and updatedAt.