Groundeddocs
ReferenceAdmin

Replace the platform SystemOne settings (platform admins; audited)

PUT/v1/admin/systemone

400 invalid_settings (details.problems lists {field, problem}) for bad values or a feature turned on without a model; 400 invalid_model when modelId is not a SystemOne model. citations and scope may be omitted: their saved settings are kept.

Header Parameters

If-Match*string

The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/admin/systemone" \  -H "If-Match: string" \  -H "Content-Type: application/json" \  -d '{    "modelId": "17563eeb-82d7-4210-ac9b-1a20c7d67278",    "judging": {      "enabled": true,      "candidates": 1,      "mode": "per_passage",      "timeoutMs": 500,      "thresholds": {        "injection": 0,        "relevant": 0,        "contradicts": 0,        "evidence": 0      }    }  }'
{  "data": {    "modelId": "17563eeb-82d7-4210-ac9b-1a20c7d67278",    "judging": {      "enabled": true,      "candidates": 1,      "mode": "per_passage",      "timeoutMs": 500,      "thresholds": {        "injection": 0,        "relevant": 0,        "contradicts": 0,        "evidence": 0      }    },    "citations": {      "enabled": true,      "mode": "annotate",      "autoAccept": 0,      "timeoutMs": 500    },    "scope": {      "enabled": true,      "smallTalk": 0,      "inScope": 0,      "timeoutMs": 500    },    "agents": {      "judging": 0,      "citations": 0,      "scope": 0,      "any": 0    },    "revision": 0,    "updatedAt": "2019-08-24T14:15:22Z"  }}