Data Owner / Settings
Reference for the data_owner/settings endpoints of the Surfmeter API.
Surfmeter API – Data Owner / Settings v1
The Surfmeter API lets you manage clients, users, capabilities, measurements, and organization-wide settings programmatically.
Servers
| Description | URL |
|---|---|
| https://surfmeter-server.{host}/client_admin_api/v1 | https://surfmeter-server.{host}/client_admin_api/v1 |
Data Owner / Settings
GET /data_owner/settings
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
Response 200 OK
- application/json
{
"settings": {
"ai_system_prompt": "string",
"offline_threshold_minutes": 0,
"health_stale_after_minutes": 0,
"offline_threshold_minutes_default": 0,
"health_stale_after_minutes_default": 0,
"client_offline_detection_enabled": true,
"client_degraded_detection_enabled": true,
"study_failure_detection_enabled": true,
"client_offline_detection_enabled_on_server": true,
"client_degraded_detection_enabled_on_server": true,
"study_failure_detection_enabled_on_server": true
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
PUT /data_owner/settings
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
ApiKeyAuth |
header | string | N/A | No | API key used on every request. Create keys in the Surfmeter Dashboard under Keys → Surfmeter API Keys. |
Request body
- application/json
{
"ai_system_prompt": "string",
"offline_threshold_minutes": 0,
"health_stale_after_minutes": 0,
"client_offline_detection_enabled": true,
"client_degraded_detection_enabled": true,
"study_failure_detection_enabled": true
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the request body
Response 200 OK
- application/json
{
"settings": {
"ai_system_prompt": "string",
"offline_threshold_minutes": 0,
"health_stale_after_minutes": 0,
"offline_threshold_minutes_default": 0,
"health_stale_after_minutes_default": 0,
"client_offline_detection_enabled": true,
"client_degraded_detection_enabled": true,
"study_failure_detection_enabled": true,
"client_offline_detection_enabled_on_server": true,
"client_degraded_detection_enabled_on_server": true,
"study_failure_detection_enabled_on_server": true
}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.Schema of the response body
Schemas
DataOwnerSettingsShowResponse
| Name | Type |
|---|---|
settings |
Properties: ai_system_prompt, offline_threshold_minutes, health_stale_after_minutes, offline_threshold_minutes_default, health_stale_after_minutes_default, client_offline_detection_enabled, client_degraded_detection_enabled, study_failure_detection_enabled, client_offline_detection_enabled_on_server, client_degraded_detection_enabled_on_server, study_failure_detection_enabled_on_server |
DataOwnerSettingsUpdateData
| Name | Type |
|---|---|
ai_system_prompt |
string| null |
client_degraded_detection_enabled |
boolean |
client_offline_detection_enabled |
boolean |
health_stale_after_minutes |
integer| null |
offline_threshold_minutes |
integer| null |
study_failure_detection_enabled |
boolean |
DataOwnerSettingsUpdateResponse
| Name | Type |
|---|---|
settings |
Properties: ai_system_prompt, offline_threshold_minutes, health_stale_after_minutes, offline_threshold_minutes_default, health_stale_after_minutes_default, client_offline_detection_enabled, client_degraded_detection_enabled, study_failure_detection_enabled, client_offline_detection_enabled_on_server, client_degraded_detection_enabled_on_server, study_failure_detection_enabled_on_server |
Security schemes
<tr>
<td>ApiKeyAuth</td>
<td>apiKey</td>
<td></td>
<td>API key used on every request. Create keys in the Surfmeter Dashboard
under Keys → Surfmeter API Keys.
</tbody>
| Name | Type | Scheme | Description |
|---|