index/interfaces/FlagAIModerationInfo.md
Summarized AI moderation info included in flag responses.
This is the abbreviated version returned inline with each flag.
For full analysis details (processingTimeMs, framesAnalyzed, tier info),
use sdk.getAIModeration({ flagId }) from AIModerationService.
get ai moderation flag id
Since
8.5.0
Properties
| Property | Type | Description |
|---|
categories | object[] | null | Per-category violation detection results |
completedAt | string | null | When analysis completed (ISO string) |
confidence | number | null | Confidence score (0.0 - 1.0) |
errorMessage | string | null | Error message if analysis failed |
provider | string | null | AI provider used (e.g., 'claude') |
reasoning | string | null | Detailed reasoning behind the recommendation |
recommendation | string | null | AI recommendation for moderation action |
status | "FAILED" | "PENDING" | "PROCESSING" | "COMPLETED" | Current analysis status |
summary | string | null | Human-readable summary of the analysis |
completed at error message