v1

latestOpenAPI 3.1.02026-07-171921144.8 KB
alert-verification-config

Update Config

Update an existing alert type configuration (partial update)

put/api/v1/verification/config/{alert_type}

Path parameters

alert_typestring required

Request body

promptstring nullable

User prompt text

system_promptstring nullable

System prompt text

enrichment_promptstring nullable

Optional enrichment prompt for post-verification VLM call

output_categorystring nullable

Display name for output

Example request

{
  "prompt": "Detect vehicle collisions, rear-end impacts, and side-swipe events.",
  "vlm_params": {
    "max_tokens": 1024,
    "num_frames": 8
  }
}

Response

Config updated

alert_typestring required

Alert type identifier

promptstring required

User prompt text

system_promptstring nullable

System prompt text

enrichment_promptstring nullable

Optional enrichment prompt

vlm_paramsobject nullable

VLM parameter overrides

output_categorystring nullable

Display name for output

created_atstring

Creation timestamp (ISO 8601)

updated_atstring

Last update timestamp (ISO 8601)

Example response

{
  "alert_type": "collision",
  "created_at": "2025-06-01T10:00:00Z",
  "output_category": "Vehicle Collision",
  "prompt": "Analyze the scene for vehicle collisions or near-miss events.",
  "system_prompt": "Answer the user's question correctly in yes or no",
  "updated_at": "2025-06-01T10:00:00Z",
  "vlm_params": {
    "max_tokens": 512,
    "model": "nvidia/cosmos3-nano-reasoner",
    "num_frames": 10,
    "temperature": 0.6
  }
}