Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tenant

Manage tenant settings.

Get all tenant settings.

get

Retrieve all tenant settings.

Authorizations
AuthorizationstringRequired

Bearer authentication

Responses
200

The complete set of tenant settings.

application/json
activebooleanOptionalExample: true
categorystringOptionalExample: Department
descriptionstringOptionalExample: Enable the department feature
sourcestringOptionalExample: Tenant
labelstringOptionalExample: Show departments
stagestringOptionalExample: Beta
typestringOptionalExample: Boolean
keystringOptionalExample: department.use
valuestringOptionalExample: true
get/v1/k8s/setting
GET /v1/k8s/setting HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[]

Update a tenant setting.

put

Use to update tenant settings.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
keystringOptionalExample: department.use
valueanyOptionalExample: true
Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
put/v1/k8s/setting
PUT /v1/k8s/setting HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "key": "department.use",
  "value": true
}
{
  "code": 400,
  "message": "Required parameter is missing"
}

Get a tenant setting by key.

get

Retrieve a specific tenant setting by key.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
settingKeystringRequired
Responses
200

The requested setting.

application/json
booleanOptional

A boolean value that indicates if the requested setting is enabled.

get/v1/k8s/setting/{settingKey}
GET /v1/k8s/setting/{settingKey} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
true

Last updated