title: Admin Config API version: 1.0 date: 2026-10-25 author: Core Team status: Active
Admin configuration management for system-wide settings, VLM prompts, and runtime parameters.
GET /api/v1/admin/configAuth: Required Scope: admin-level
Get the full system configuration. Returns all configuration parameters including VLM prompts, processing settings, and system defaults.
curl -s "$API/api/v1/admin/config" -H "X-API-Key: $KEY"
{
"vlm_prompts": {
"face_trace": {
"system_prompt": "Analyze the person's appearance...",
"user_prompt_template": "Describe this person..."
}
},
"processing": {
"default_processors": ["cut", "asr", "face"],
"face_min_confidence": 0.5,
"face_min_size": 30
},
"system": {
"max_concurrent_jobs": 3,
"output_dir": "/Users/accusys/momentry/output"
}
}
POST /api/v1/admin/configAuth: Required Scope: admin-level
Partially update system configuration. Only provided fields are modified; others remain unchanged.
| Field | Type | Required | Description |
|---|---|---|---|
processing |
object | No | Processing configuration |
system |
object | No | System configuration |
curl -X POST "$API/api/v1/admin/config" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-d '{
"processing": {
"face_min_confidence": 0.6
}
}'
{
"success": true,
"message": "Config updated"
}
GET /api/v1/admin/config/vlm_promptsAuth: Required Scope: admin-level
Get all VLM (Vision Language Model) prompts used for image analysis.
curl -s "$API/api/v1/admin/config/vlm_prompts" -H "X-API-Key: $KEY"
{
"face_trace": {
"system_prompt": "You are an expert in person appearance analysis...",
"user_prompt_template": "Describe the person in this image..."
},
"scene": {
"system_prompt": "You are a scene description expert...",
"user_prompt_template": "Describe the scene..."
}
}
GET /api/v1/admin/config/vlm_prompts/:keyAuth: Required Scope: admin-level
Get a specific VLM prompt by key.
| Parameter | Type | Description |
|---|---|---|
key |
string | Prompt key (e.g., "face_trace", "scene") |
curl -s "$API/api/v1/admin/config/vlm_prompts/face_trace" -H "X-API-Key: $KEY"
{
"system_prompt": "You are an expert in person appearance analysis...",
"user_prompt_template": "Describe the person in this image..."
}
| HTTP | When |
|---|---|
404 |
Prompt key not found |
401 |
Missing or invalid API key |
PUT /api/v1/admin/config/vlm_prompts/:keyAuth: Required Scope: admin-level
Update a specific VLM prompt. This affects all subsequent VLM analysis operations.
| Field | Type | Required | Description |
|---|---|---|---|
system_prompt |
string | Yes | System prompt for the LLM |
user_prompt_template |
string | Yes | User prompt template (may include placeholders) |
curl -X PUT "$API/api/v1/admin/config/vlm_prompts/face_trace" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-d '{
"system_prompt": "You are an expert in fashion and appearance analysis...",
"user_prompt_template": "Analyze the person'\''s clothing and accessories in detail..."
}'
{
"success": true,
"message": "Prompt 'face_trace' updated"
}
POST /api/v1/admin/config/reloadAuth: Required Scope: admin-level
Reload configuration from disk. Useful when the configuration file has been manually edited.
curl -X POST "$API/api/v1/admin/config/reload" -H "X-API-Key: $KEY"
{
"success": true,
"message": "Config reloaded"
}
GET /api/v1/admin/settingsAuth: Required Scope: admin-level
Alias for /api/v1/admin/config. Provided for frontend compatibility.
VLM prompts control how the system analyzes images and video frames:
| Prompt Key | Purpose | Used By |
|---|---|---|
face_trace |
Person appearance description | Face trace processor |
scene |
Scene description | Scene VLM processor |
appearance |
Detailed appearance analysis | Appearance processor |
| Field | Type | Default | Description |
|---|---|---|---|
default_processors |
string[] | all | Default processors for new files |
face_min_confidence |
float | 0.5 | Minimum face detection confidence |
face_min_size |
integer | 30 | Minimum face size in pixels |
| Field | Type | Default | Description |
|---|---|---|---|
max_concurrent_jobs |
integer | 3 | Maximum parallel processing jobs |
output_dir |
string | - | Output directory path |
curl -X POST "$API/api/v1/admin/config" \
-H "X-API-Key: $KEY" \
-d '{
"processing": {
"face_min_confidence": 0.7,
"face_min_size": 50
}
}'
curl -X PUT "$API/api/v1/admin/config/vlm_prompts/face_trace" \
-H "X-API-Key: $KEY" \
-d '{
"system_prompt": "Focus on clothing colors and patterns",
"user_prompt_template": "Describe the person'\''s outfit..."
}'
# Edit config file on disk
vim /path/to/config.json
# Reload into running system
curl -X POST "$API/api/v1/admin/config/reload" -H "X-API-Key: $KEY"
| Version | Date | Changes |
|---|---|---|
| 1.0 | 2026-10-25 | Initial documentation |