Skip to content

Get org settings

GET
/orgs/{org}/config/settings
curl --request GET \
--url https://api.sloose.com/orgs/org_9f3c/config/settings \
--header 'Authorization: Bearer <token>'

Date format, expression context name, AI sample policy, role source and write pacing.

org
required

The org id the session was issued for. A token for one org can never read another.

string
Example
org_9f3c

The org id the session was issued for. A token for one org can never read another.

The org’s settings.

Media typeapplication/json
object
name
required
string
dateFormat
required
string | null
expressionContext
required
string | null
aiSamples
required

Whether sample rows may reach the model at all, only with personal-data fields masked, or never.

string
Allowed values: allow masked deny
followZohoRoles
required
boolean
apiDelayMs
required
number | null
systemExcludedFields
required
Array<string> | null
registryVersion
required
number
key
additional properties
Example
{
"aiSamples": "allow"
}

No bearer, or one that is expired, revoked or no longer resolves to a member.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

The bearer’s role is too low, or it was issued for a different org.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}