Guardrails
Preview

Get the organization's policy settings

The time zone calendar windows are read in. An organization that has set none is in UTC.

GET
/policy-settings
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The settings.

application/json
  1. response
timeZone*string

An IANA time zone name. Calendar windows and freezes set to the organization's zone are read in it.

Lengthlength <= 64
Example Request
curl -X GET 'https://wardn.example.com/api/v1/policy-settings'
Example Response
{  "timeZone": "Europe/Berlin"}