Skip to content
GurtOS

Business settings and the policy

GET
/business
curl --request GET \
--url http://127.0.0.1:7700/api/business \
--header 'Authorization: Bearer <token>'

Preview. Whether Business is on, the company name, the policy text, each rule with the people who approve under it and who last changed it, warnings about rules nobody can approve, seats, the work-account sign-in settings (never the secret), shadow mode and the pilot record.

The settings.

Media typeapplication/json
object
on
boolean
company
string
policy
string
rules
Array<object>
object
line
string
to
string
any
boolean
overCents
integer
phrase
string
app
string
blocked
boolean
approvers

Names of the people who approve under it.

Array<string>
changed

Who last changed the line, and when: {by, at}.

object | null
warnings
Array<string>
seats
Array<object>
object
sso

The sign-in settings. Never the secret.

object | null
shadow
Array<string>
pilot

The one-week pilot record.

object
paused
One of:
null

Example generated

{
"on": true,
"company": "example",
"policy": "example",
"rules": [
{
"line": "example",
"to": "example",
"any": true,
"overCents": 1,
"phrase": "example",
"app": "example",
"blocked": true,
"approvers": [
"example"
],
"changed": "example"
}
],
"warnings": [
"example"
],
"seats": [
{}
],
"sso": "example",
"shadow": [
"example"
],
"pilot": {},
"paused": {
"by": "example",
"at": "2026-04-15T12:00:00Z",
"via": "example"
}
}