Scope API
Independent per-user and per-group configuration management, supporting granular control over presets, trigger methods, models, and more.
User Scopes
Get All User Configs
http
GET /api/scope/usersGet User Config
http
GET /api/scope/user/:userIdResponse
json
{
"success": true,
"data": {
"userId": "123456",
"presetId": "creative",
"model": "gpt-4o",
"temperature": 0.9
}
}Update User Config
http
PUT /api/scope/user/:userIdDelete User Config
http
DELETE /api/scope/user/:userIdGroup Scopes
Get All Group Configs
http
GET /api/scope/groupsGet Group Config
http
GET /api/scope/group/:groupIdUpdate Group Config
http
PUT /api/scope/group/:groupIdDelete Group Config
http
DELETE /api/scope/group/:groupIdBatch Operations
Batch Update
http
POST /api/scope/batchRequest Body
json
{
"type": "group",
"ids": ["123456", "789012"],
"settings": {
"presetId": "default"
}
}