Settings and API keys
Generated from openapi.json (API version 0.54.3). 20 endpoints. See the API overview for the base URL and how to sign requests.
Webhook Settings
Section titled “Webhook Settings”GET /settings/webhook
Needs write:settings.
Get details about the webhook endpoint (e.g. the API url and an API key)
Responses
200Successful Response:WebhookSettings
Get Smtp Settings
Section titled “Get Smtp Settings”GET /settings/smtp
Needs write:settings.
Get SMTP settings
Responses
200Successful Response: object
Update Smtp Settings
Section titled “Update Smtp Settings”POST /settings/smtp
Needs write:settings.
Install or update SMTP settings
Body (application/json, required): SMTPSettings
| Field | Type | Required | Description |
|---|---|---|---|
host |
string | yes | |
port |
integer | yes | |
from_email |
string | yes | |
username |
string or null | no | |
password |
string (password) or null | no | |
secure |
boolean | no | |
to_email |
string or null | no |
Responses
200Successful Response: object
Delete Smtp Settings
Section titled “Delete Smtp Settings”DELETE /settings/smtp
Needs delete:settings.
Delete SMTP settings
Responses
200Successful Response: object
Test Smtp Settings
Section titled “Test Smtp Settings”POST /settings/smtp/test
Needs write:settings.
Test SMTP settings
Body (application/json, required): SMTPSettings
| Field | Type | Required | Description |
|---|---|---|---|
host |
string | yes | |
port |
integer | yes | |
from_email |
string | yes | |
username |
string or null | no | |
password |
string (password) or null | no | |
secure |
boolean | no | |
to_email |
string or null | no |
Responses
200Successful Response: object
Create Key
Section titled “Create Key”POST /settings/apikey
Needs write:settings.
Create API key
Responses
200Successful Response: object
Update API Key
Section titled “Update API Key”PUT /settings/apikey
Needs write:settings.
Update API key secret
Responses
200Successful Response: object
Get Keys
Section titled “Get Keys”GET /settings/apikeys
Needs read:settings.
Get API keys
Responses
200Successful Response: object
Delete API Key
Section titled “Delete API Key”DELETE /settings/apikey/{keyId}
Needs write:settings.
Delete API key
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyId |
string | yes |
Responses
200Successful Response: object
Get Sso Settings
Section titled “Get Sso Settings”GET /settings/sso
Needs read:settings.
Responses
200Successful Response: object
Get Tenant Configuration
Section titled “Get Tenant Configuration”GET /settings/tenant/configuration
Needs read:settings.
Responses
200Successful Response: object
Get AI Settings
Section titled “Get AI Settings”GET /settings/ai
Needs read:settings.
The AI service this tenant uses; the API key is never returned
Responses
200Successful Response:AISettingsOut
Set AI Settings
Section titled “Set AI Settings”PUT /settings/ai
Needs write:settings.
Choose the AI service, its model and key, and what else is masked
Body (application/json, required): AISettingsIn
| Field | Type | Required | Description |
|---|---|---|---|
provider |
one of openai, azure_openai, openai_compatible |
yes | |
model |
string | yes | |
base_url |
string or null | no | |
api_version |
string or null | no | |
api_key |
string (password) or null | no | |
mask_ip_addresses |
boolean | no | |
allow_http |
boolean | no |
Responses
200Successful Response:AISettingsOut
Remove AI Settings
Section titled “Remove AI Settings”DELETE /settings/ai
Needs write:settings.
Go back to the server’s AI: the tenant’s settings and key are removed
Responses
200Successful Response:AISettingsOut
Test AI Settings
Section titled “Test AI Settings”POST /settings/ai/test
Needs write:settings.
Send one tiny request to the AI service: the settings entered (not yet saved), or without a body the service in use now
Body (application/json): AISettingsIn or null
Responses
200Successful Response:TestOut
Get Alert Grouping
Section titled “Get Alert Grouping”GET /settings/alert-grouping
Needs read:settings.
How alerts from different tools are grouped into incidents, and the defaults
Responses
200Successful Response:GroupingSettingsOut
Set Alert Grouping
Section titled “Set Alert Grouping”PUT /settings/alert-grouping
Needs write:settings.
Change the field mapping and the grouping options
Body (application/json, required): object
Responses
200Successful Response:GroupingSettingsOut
Preview Alert Grouping
Section titled “Preview Alert Grouping”POST /settings/alert-grouping/preview
Needs read:alert and read:settings.
The canonical dimensions of the newest alert of each tool, read with the given field lists (nothing is saved)
Body (application/json): object
Responses
200Successful Response: array ofPreviewRow
Get Reanalysis
Section titled “Get Reanalysis”GET /settings/reanalysis
Needs read:settings.
Whether incidents are analysed again as they grow, the cooldown and the daily cap
Responses
200Successful Response:ReanalysisSettingsOut
Set Reanalysis
Section titled “Set Reanalysis”PUT /settings/reanalysis
Needs write:settings.
Turn re-analyses on or off, and change the cooldown and the daily cap
Body (application/json, required): object
Responses
200Successful Response:ReanalysisSettingsOut