-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmoderation-serverside-api.json
More file actions
executable file
·1 lines (1 loc) · 198 KB
/
moderation-serverside-api.json
File metadata and controls
executable file
·1 lines (1 loc) · 198 KB
1
{"components":{"schemas":{"AIImageConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"ocr_rules":{"items":{"$ref":"#/components/schemas/OCRRule"},"type":"array","x-stream-index":"004"},"rules":{"items":{"$ref":"#/components/schemas/AWSRekognitionRule"},"type":"array","x-stream-index":"003"}},"type":"object"},"AIImageLabelDefinition":{"properties":{"description":{"type":"string","x-stream-index":"003"},"group":{"type":"string","x-stream-index":"004"},"key":{"type":"string","x-stream-index":"001"},"label":{"type":"string","x-stream-index":"002"}},"required":["key","label","description","group"],"type":"object"},"AITextConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"profile":{"type":"string","x-stream-index":"003"},"rules":{"items":{"$ref":"#/components/schemas/BodyguardRule"},"type":"array","x-stream-index":"004"},"severity_rules":{"items":{"$ref":"#/components/schemas/BodyguardSeverityRule"},"type":"array","x-stream-index":"005"}},"type":"object"},"AIVideoConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AWSRekognitionRule"},"type":"array","x-stream-index":"003"}},"type":"object"},"APIError":{"nullable":true,"properties":{"StatusCode":{"description":"Response HTTP status code","format":"int32","title":"Status code","type":"integer","x-stream-index":"004"},"code":{"description":"API error code","format":"int32","title":"Code","type":"integer","x-stream-index":"001"},"details":{"description":"Additional error-specific information","items":{"type":"integer"},"title":"Details","type":"array","x-stream-index":"007"},"duration":{"description":"Request duration","title":"Duration","type":"string","x-stream-index":"005"},"exception_fields":{"additionalProperties":{"type":"string"},"description":"Additional error info","title":"Exception fields","type":"object","x-stream-index":"003"},"message":{"description":"Message describing an error","title":"Message","type":"string","x-stream-index":"002"},"more_info":{"description":"URL with additional information","title":"More info","type":"string","x-stream-index":"006"},"unrecoverable":{"description":"Flag that indicates if the error is unrecoverable, requests that return unrecoverable errors should not be retried, this error only applies to the request that caused it","title":"Unrecoverable","type":"boolean","x-stream-index":"008"}},"required":["code","message","StatusCode","duration","more_info","details"],"title":"Error response","type":"object"},"AWSRekognitionRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"},"min_confidence":{"format":"float","maximum":100,"minimum":0,"type":"number","x-stream-index":"003"},"subclassifications":{"additionalProperties":{},"type":"object","x-stream-index":"004"}},"required":["label","action","min_confidence"],"type":"object"},"Action":{"properties":{"name":{"type":"string","x-stream-index":"001"},"style":{"type":"string","x-stream-index":"004"},"text":{"type":"string","x-stream-index":"002"},"type":{"type":"string","x-stream-index":"003"},"value":{"type":"string","x-stream-index":"005"}},"required":["name","text","type"],"type":"object"},"ActionLogResponse":{"nullable":true,"properties":{"ai_providers":{"items":{"type":"string"},"type":"array","x-stream-index":"011"},"created_at":{"description":"Timestamp when the action was taken","format":"date-time","title":"Created At","type":"number","x-stream-index":"002"},"custom":{"additionalProperties":{},"description":"Additional metadata about the action","title":"Custom","type":"object","x-stream-index":"007"},"id":{"description":"Unique identifier of the action log","title":"ID","type":"string","x-stream-index":"001"},"reason":{"description":"Reason for the moderation action","title":"Reason","type":"string","x-stream-index":"006"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Associated review queue item","title":"Review Queue Item","x-stream-index":"008"},"target_user":{"$ref":"#/components/schemas/UserResponse","description":"User who was the target of the action","title":"Target User","x-stream-index":"009"},"target_user_id":{"description":"ID of the user who was the target of the action","title":"Target User ID","type":"string","x-stream-index":"010"},"type":{"description":"Type of moderation action","title":"Type","type":"string","x-stream-index":"003"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who performed the action","title":"User","x-stream-index":"004"},"user_id":{"description":"ID of the user who performed the action","title":"User ID","type":"string","x-stream-index":"005"}},"required":["id","created_at","type","user_id","reason","custom","target_user_id","ai_providers"],"type":"object"},"ActionSequence":{"properties":{"action":{"type":"string","x-stream-index":"001"},"blur":{"type":"boolean","x-stream-index":"005"},"cooldown_period":{"format":"int32","type":"integer","x-stream-index":"004"},"threshold":{"format":"int32","type":"integer","x-stream-index":"002"},"time_window":{"format":"int32","type":"integer","x-stream-index":"003"},"warning":{"type":"boolean","x-stream-index":"006"},"warning_text":{"type":"string","x-stream-index":"007"}},"type":"object"},"AppealAcceptedEvent":{"description":"This event is sent when an appeal is accepted","nullable":true,"properties":{"appeal":{"$ref":"#/components/schemas/AppealItemResponse","description":"The appeal that was accepted","title":"Appeal","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"appeal.accepted","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom"],"title":"AppealAcceptedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"AppealCreatedEvent":{"description":"This event is sent when an appeal is created","nullable":true,"properties":{"appeal":{"$ref":"#/components/schemas/AppealItemResponse","description":"The appeal that was created","title":"Appeal","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"appeal.created","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom"],"title":"AppealCreatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"AppealItemResponse":{"properties":{"appeal_reason":{"description":"Reason Text of the Appeal Item","title":"Appeal Reason","type":"string","x-stream-index":"006"},"attachments":{"description":"Attachments(e.g. Images) of the Appeal Item","items":{"type":"string"},"title":"Attachments","type":"array","x-stream-index":"009"},"created_at":{"description":"When the flag was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"010"},"decision_reason":{"description":"Decision Reason of the Appeal Item","title":"Decision Reason","type":"string","x-stream-index":"008"},"entity_content":{"$ref":"#/components/schemas/ModerationPayload","x-stream-index":"005"},"entity_id":{"description":"ID of the entity","title":"Entity ID","type":"string","x-stream-index":"004"},"entity_type":{"description":"Type of entity","title":"Entity Type","type":"string","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"001"},"status":{"description":"Status of the Appeal Item","title":"Status","type":"string","x-stream-index":"007"},"updated_at":{"description":"When the flag was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"011"},"user":{"$ref":"#/components/schemas/UserResponse","description":"Details of the user who created the appeal","title":"User","x-stream-index":"002"}},"required":["id","entity_type","entity_id","appeal_reason","status","created_at","updated_at"],"type":"object"},"AppealRejectedEvent":{"description":"This event is sent when an appeal is rejected","nullable":true,"properties":{"appeal":{"$ref":"#/components/schemas/AppealItemResponse","description":"The appeal that was rejected","title":"Appeal","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"appeal.rejected","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom"],"title":"AppealRejectedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"AppealRequest":{"nullable":true,"properties":{"appeal_reason":{"description":"Explanation for why the content is being appealed","maxLength":500,"title":"Appeal Reason","type":"string","x-stream-index":"003"},"attachments":{"description":"Array of Attachment URLs(e.g., images)","items":{"type":"string"},"maxItems":10,"title":"Attachments","type":"array","x-stream-index":"004"},"entity_id":{"description":"Unique identifier of the entity being appealed","title":"Entity ID","type":"string","x-stream-index":"001"},"entity_type":{"description":"Type of entity being appealed (e.g., message, user)","title":"Entity Type","type":"string","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"005.002"},"user_id":{"type":"string","x-stream-index":"005.001"}},"required":["entity_id","entity_type","appeal_reason"],"type":"object"},"AppealResponse":{"nullable":true,"properties":{"appeal_id":{"description":"Unique identifier of the created Appeal item","title":"Appeal Item ID","type":"string","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["appeal_id","duration"],"type":"object"},"AsyncBulkImageModerationEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"003.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.007"},"finished_at":{"format":"date-time","type":"number","x-stream-index":"002.003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.004"},"started_at":{"format":"date-time","type":"number","x-stream-index":"002.002"},"task_id":{"type":"string","x-stream-index":"002.001"},"type":{"default":"export.bulk_image_moderation.success","type":"string","x-stream-index":"003.002"},"url":{"type":"string","x-stream-index":"001"}},"required":["url","task_id","started_at","finished_at","type","created_at","custom"],"title":"AsyncBulkImageModerationEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"AsyncExportErrorEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"003.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.007"},"error":{"type":"string","x-stream-index":"001"},"finished_at":{"format":"date-time","type":"number","x-stream-index":"002.003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.004"},"started_at":{"format":"date-time","type":"number","x-stream-index":"002.002"},"task_id":{"type":"string","x-stream-index":"002.001"},"type":{"default":"export.moderation_logs.error","type":"string","x-stream-index":"003.002"}},"required":["error","task_id","started_at","finished_at","type","created_at","custom"],"title":"AsyncExportErrorEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"AsyncExportModerationLogsEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"003.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.007"},"finished_at":{"format":"date-time","type":"number","x-stream-index":"002.003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.004"},"started_at":{"format":"date-time","type":"number","x-stream-index":"002.002"},"task_id":{"type":"string","x-stream-index":"002.001"},"type":{"default":"export.moderation_logs.success","type":"string","x-stream-index":"003.002"},"url":{"type":"string","x-stream-index":"001"}},"required":["url","task_id","started_at","finished_at","type","created_at","custom"],"title":"AsyncExportModerationLogsEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"Attachment":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/Action"},"type":"array","x-stream-index":"020"},"asset_url":{"type":"string","x-stream-index":"002"},"author_icon":{"type":"string","x-stream-index":"003"},"author_link":{"type":"string","x-stream-index":"004"},"author_name":{"type":"string","x-stream-index":"005"},"color":{"type":"string","x-stream-index":"006"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001"},"fallback":{"type":"string","x-stream-index":"007"},"fields":{"items":{"$ref":"#/components/schemas/Field"},"type":"array","x-stream-index":"021"},"footer":{"type":"string","x-stream-index":"008"},"footer_icon":{"type":"string","x-stream-index":"009"},"giphy":{"$ref":"#/components/schemas/Images","x-stream-index":"022"},"image_url":{"type":"string","x-stream-index":"010"},"og_scrape_url":{"type":"string","x-stream-index":"011"},"original_height":{"format":"int32","type":"integer","x-stream-index":"012"},"original_width":{"format":"int32","type":"integer","x-stream-index":"013"},"pretext":{"type":"string","x-stream-index":"014"},"text":{"type":"string","x-stream-index":"015"},"thumb_url":{"type":"string","x-stream-index":"016"},"title":{"type":"string","x-stream-index":"017"},"title_link":{"type":"string","x-stream-index":"018"},"type":{"type":"string","x-stream-index":"019"}},"required":["custom"],"type":"object"},"AudioSettingsResponse":{"properties":{"access_request_enabled":{"type":"boolean","x-stream-index":"001"},"default_device":{"type":"string","x-stream-index":"002"},"hifi_audio_enabled":{"type":"boolean","x-stream-index":"003"},"mic_default_on":{"type":"boolean","x-stream-index":"004"},"noise_cancellation":{"$ref":"#/components/schemas/NoiseCancellationSettings","x-stream-index":"008"},"opus_dtx_enabled":{"type":"boolean","x-stream-index":"005"},"redundant_coding_enabled":{"type":"boolean","x-stream-index":"006"},"speaker_default_on":{"type":"boolean","x-stream-index":"007"}},"required":["access_request_enabled","default_device","hifi_audio_enabled","mic_default_on","opus_dtx_enabled","redundant_coding_enabled","speaker_default_on"],"type":"object"},"AutomodPlatformCircumventionConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AutomodRule"},"type":"array","x-stream-index":"003"}},"type":"object"},"AutomodRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"003"},"label":{"type":"string","x-stream-index":"001"},"threshold":{"format":"float","maximum":1,"minimum":0,"type":"number","x-stream-index":"002"}},"required":["label","threshold","action"],"type":"object"},"AutomodSemanticFiltersConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AutomodSemanticFiltersRule"},"type":"array","x-stream-index":"003"}},"type":"object"},"AutomodSemanticFiltersRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"003"},"name":{"type":"string","x-stream-index":"001"},"threshold":{"format":"float","maximum":1,"minimum":0,"type":"number","x-stream-index":"002"}},"required":["name","threshold","action"],"type":"object"},"AutomodToxicityConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AutomodRule"},"type":"array","x-stream-index":"003"}},"type":"object"},"BackstageSettingsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"},"join_ahead_time_seconds":{"format":"int32","type":"integer","x-stream-index":"002"}},"required":["enabled"],"type":"object"},"BanActionRequestPayload":{"description":"Configuration for ban moderation action","properties":{"ban_from_future_channels":{"description":"Also ban user from all channels this moderator creates in the future","title":"Ban From Future Channels","type":"boolean","x-stream-index":"009"},"channel_ban_only":{"description":"Ban only from specific channel","title":"Channel Ban Only","type":"boolean","x-stream-index":"004"},"channel_cid":{"type":"string","x-stream-index":"005"},"delete_messages":{"description":"Message deletion mode: soft, pruning, or hard","enum":["soft","pruning","hard"],"title":"Delete Messages","type":"string","x-stream-index":"007"},"ip_ban":{"description":"Whether to ban by IP address","title":"IP Ban","type":"boolean","x-stream-index":"006"},"reason":{"description":"Reason for the ban","title":"Reason","type":"string","x-stream-index":"003"},"shadow":{"description":"Whether this is a shadow ban","title":"Shadow","type":"boolean","x-stream-index":"002"},"target_user_id":{"description":"Optional: ban user directly without review item","title":"Target User ID","type":"string","x-stream-index":"001"},"timeout":{"description":"Duration of ban in minutes","format":"int32","title":"Timeout","type":"integer","x-stream-index":"008"}},"title":"BanActionRequest","type":"object"},"BanInfoResponse":{"description":"Ban information","nullable":true,"properties":{"created_at":{"description":"When the ban was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"006"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"User who created the ban","title":"Created By","x-stream-index":"005"},"expires":{"description":"When the ban expires","format":"date-time","title":"Expires","type":"number","x-stream-index":"002"},"reason":{"description":"Reason for the ban","title":"Reason","type":"string","x-stream-index":"003"},"shadow":{"description":"Whether this is a shadow ban","title":"Shadow","type":"boolean","x-stream-index":"004"},"user":{"$ref":"#/components/schemas/UserResponse","description":"The banned user","title":"User","x-stream-index":"001"}},"required":["created_at"],"title":"BanInfo","type":"object"},"BanOptions":{"properties":{"delete_messages":{"enum":["soft","pruning","hard"],"type":"string","x-stream-index":"005"},"duration":{"format":"int32","type":"integer","x-stream-index":"001"},"ip_ban":{"type":"boolean","x-stream-index":"004"},"reason":{"type":"string","x-stream-index":"002"},"shadow_ban":{"type":"boolean","x-stream-index":"003"}},"type":"object"},"BanRequest":{"nullable":true,"properties":{"banned_by":{"$ref":"#/components/schemas/UserRequest","description":"Details about the user performing the ban","title":"Banned By","x-stream-index":"008"},"banned_by_id":{"description":"ID of the user performing the ban","title":"Banned By ID","type":"string","x-stream-index":"007"},"channel_cid":{"description":"Channel where the ban applies","title":"Channel CID","type":"string","x-stream-index":"004"},"delete_messages":{"enum":["soft","pruning","hard"],"type":"string","x-stream-index":"009"},"ip_ban":{"description":"Whether to ban the user's IP address","title":"IP Ban","type":"boolean","x-stream-index":"006"},"reason":{"description":"Optional explanation for the ban","title":"Reason","type":"string","x-stream-index":"003"},"shadow":{"description":"Whether this is a shadow ban","title":"Shadow","type":"boolean","x-stream-index":"005"},"target_user_id":{"description":"ID of the user to ban","title":"Target User ID","type":"string","x-stream-index":"001"},"timeout":{"description":"Duration of the ban in minutes","minimum":0,"title":"Timeout","type":"integer","x-stream-index":"002"}},"required":["target_user_id"],"type":"object"},"BanResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"BlockActionRequestPayload":{"description":"Configuration for block action","properties":{"reason":{"description":"Reason for blocking","title":"Reason","type":"string","x-stream-index":"001"}},"title":"BlockActionRequest","type":"object"},"BlockListConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"003"},"match_substring":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/BlockListRule"},"type":"array","x-stream-index":"004"}},"type":"object"},"BlockListOptions":{"properties":{"behavior":{"description":"Blocklist behavior. One of: flag, block, shadow_block","enum":["flag","block","shadow_block"],"title":"Behavior","type":"string","x-stream-index":"002"},"blocklist":{"description":"Blocklist name","title":"Blocklist","type":"string","x-stream-index":"001"}},"required":["blocklist","behavior"],"type":"object"},"BlockListRule":{"properties":{"action":{"enum":["flag","mask_flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"003"},"name":{"type":"string","x-stream-index":"001"},"team":{"type":"string","x-stream-index":"002"}},"required":["action"],"type":"object"},"BodyguardImageAnalysisConfig":{"properties":{"rules":{"items":{"$ref":"#/components/schemas/BodyguardRule"},"type":"array","x-stream-index":"001"}},"type":"object"},"BodyguardRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"},"severity_rules":{"items":{"$ref":"#/components/schemas/BodyguardSeverityRule"},"type":"array","x-stream-index":"003"}},"required":["label"],"type":"object"},"BodyguardSeverityRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"severity":{"enum":["low","medium","high","critical"],"type":"string","x-stream-index":"001"}},"required":["severity","action"],"type":"object"},"BroadcastSettingsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"},"hls":{"$ref":"#/components/schemas/HLSSettingsResponse","x-stream-index":"002"},"rtmp":{"$ref":"#/components/schemas/RTMPSettingsResponse","x-stream-index":"003"}},"required":["enabled","hls","rtmp"],"type":"object"},"BulkImageModerationRequest":{"nullable":true,"properties":{"csv_file":{"description":"URL to CSV file containing image URLs to moderate","title":"string","type":"string","x-stream-index":"001"}},"required":["csv_file"],"type":"object"},"BulkImageModerationResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"task_id":{"description":"ID of the task for processing the bulk image moderation","title":"string","type":"string","x-stream-index":"001"}},"required":["task_id","duration"],"type":"object"},"BypassActionRequest":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"BypassRequest":{"nullable":true,"properties":{"enabled":{"description":"Whether to enable moderation bypass for this user","title":"Enabled","type":"boolean","x-stream-index":"002"},"target_user_id":{"description":"ID of the user to update","title":"Target User ID","type":"string","x-stream-index":"001"}},"required":["target_user_id","enabled"],"type":"object"},"BypassResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"CallActionOptions":{"properties":{"duration":{"format":"int32","type":"integer","x-stream-index":"003"},"flag_reason":{"type":"string","x-stream-index":"006"},"kick_reason":{"type":"string","x-stream-index":"005"},"mute_audio":{"type":"boolean","x-stream-index":"001"},"mute_video":{"type":"boolean","x-stream-index":"002"},"reason":{"type":"string","x-stream-index":"004"},"warning_text":{"type":"string","x-stream-index":"007"}},"type":"object"},"CallCustomPropertyParameters":{"properties":{"operator":{"type":"string","x-stream-index":"002"},"property_key":{"type":"string","x-stream-index":"001"}},"type":"object"},"CallIngressResponse":{"properties":{"rtmp":{"$ref":"#/components/schemas/RTMPIngress","x-stream-index":"001"},"srt":{"$ref":"#/components/schemas/SRTIngress","x-stream-index":"002"},"whip":{"$ref":"#/components/schemas/WHIPIngress","x-stream-index":"003"}},"required":["rtmp","srt","whip"],"type":"object"},"CallParticipantResponse":{"properties":{"joined_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"001"},"role":{"type":"string","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"004"},"user_session_id":{"type":"string","x-stream-index":"003"}},"required":["joined_at","role","user_session_id","user"],"type":"object"},"CallResponse":{"properties":{"backstage":{"type":"boolean","x-stream-index":"001"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"012"},"captioning":{"type":"boolean","x-stream-index":"002"},"channel_cid":{"type":"string","x-stream-index":"018"},"cid":{"type":"string","x-stream-index":"003"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"004"},"created_by":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"013"},"current_session_id":{"type":"string","x-stream-index":"005"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"014"},"egress":{"$ref":"#/components/schemas/EgressResponse","x-stream-index":"015"},"ended_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"019"},"id":{"type":"string","x-stream-index":"006"},"ingress":{"$ref":"#/components/schemas/CallIngressResponse","x-stream-index":"016"},"join_ahead_time_seconds":{"format":"int32","type":"integer","x-stream-index":"020"},"recording":{"type":"boolean","x-stream-index":"007"},"routing_number":{"type":"string","x-stream-index":"021"},"session":{"$ref":"#/components/schemas/CallSessionResponse","x-stream-index":"024"},"settings":{"$ref":"#/components/schemas/CallSettingsResponse","x-stream-index":"017"},"starts_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"022"},"team":{"type":"string","x-stream-index":"023"},"thumbnails":{"$ref":"#/components/schemas/ThumbnailResponse","x-stream-index":"025"},"transcribing":{"type":"boolean","x-stream-index":"008"},"translating":{"type":"boolean","x-stream-index":"009"},"type":{"type":"string","x-stream-index":"011"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"010"}},"required":["backstage","captioning","cid","created_at","current_session_id","id","recording","transcribing","translating","updated_at","type","blocked_user_ids","created_by","custom","egress","ingress","settings"],"type":"object"},"CallRuleActionSequence":{"properties":{"actions":{"items":{"type":"string"},"type":"array","x-stream-index":"002"},"call_options":{"$ref":"#/components/schemas/CallActionOptions","x-stream-index":"003"},"violation_number":{"format":"int32","type":"integer","x-stream-index":"001"}},"type":"object"},"CallSessionResponse":{"properties":{"accepted_by":{"additionalProperties":{"$ref":"#/components/schemas/Timestamp"},"type":"object","x-stream-index":"004"},"anonymous_participant_count":{"format":"int32","type":"integer","x-stream-index":"001"},"ended_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"008"},"id":{"type":"string","x-stream-index":"002"},"live_ended_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"009"},"live_started_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"010"},"missed_by":{"additionalProperties":{"$ref":"#/components/schemas/Timestamp"},"type":"object","x-stream-index":"005"},"participants":{"items":{"$ref":"#/components/schemas/CallParticipantResponse"},"type":"array","x-stream-index":"003"},"participants_count_by_role":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"006"},"rejected_by":{"additionalProperties":{"$ref":"#/components/schemas/Timestamp"},"type":"object","x-stream-index":"007"},"started_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"011"},"timer_ends_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"012"}},"required":["anonymous_participant_count","id","participants","accepted_by","missed_by","participants_count_by_role","rejected_by"],"type":"object"},"CallSettingsResponse":{"properties":{"audio":{"$ref":"#/components/schemas/AudioSettingsResponse","x-stream-index":"001"},"backstage":{"$ref":"#/components/schemas/BackstageSettingsResponse","x-stream-index":"002"},"broadcasting":{"$ref":"#/components/schemas/BroadcastSettingsResponse","x-stream-index":"003"},"frame_recording":{"$ref":"#/components/schemas/FrameRecordingSettingsResponse","x-stream-index":"004"},"geofencing":{"$ref":"#/components/schemas/GeofenceSettingsResponse","x-stream-index":"005"},"individual_recording":{"$ref":"#/components/schemas/IndividualRecordingSettingsResponse","x-stream-index":"006"},"ingress":{"$ref":"#/components/schemas/IngressSettingsResponse","x-stream-index":"016"},"limits":{"$ref":"#/components/schemas/LimitsSettingsResponse","x-stream-index":"007"},"raw_recording":{"$ref":"#/components/schemas/RawRecordingSettingsResponse","x-stream-index":"008"},"recording":{"$ref":"#/components/schemas/RecordSettingsResponse","x-stream-index":"009"},"ring":{"$ref":"#/components/schemas/RingSettingsResponse","x-stream-index":"010"},"screensharing":{"$ref":"#/components/schemas/ScreensharingSettingsResponse","x-stream-index":"011"},"session":{"$ref":"#/components/schemas/SessionSettingsResponse","x-stream-index":"012"},"thumbnails":{"$ref":"#/components/schemas/ThumbnailsSettingsResponse","x-stream-index":"013"},"transcription":{"$ref":"#/components/schemas/TranscriptionSettingsResponse","x-stream-index":"014"},"video":{"$ref":"#/components/schemas/VideoSettingsResponse","x-stream-index":"015"}},"required":["audio","backstage","broadcasting","frame_recording","geofencing","individual_recording","limits","raw_recording","recording","ring","screensharing","session","thumbnails","transcription","video"],"type":"object"},"CallTypeRuleParameters":{"properties":{"call_type":{"type":"string","x-stream-index":"001"}},"type":"object"},"CallViolationCountParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"ChannelConfigWithInfo":{"properties":{"allowed_flag_reasons":{"items":{"type":"string"},"type":"array","x-stream-index":"001.002.028"},"automod":{"enum":["disabled","simple","AI"],"type":"string","x-stream-index":"001.002.023"},"automod_behavior":{"enum":["flag","block","shadow_block"],"type":"string","x-stream-index":"001.002.024"},"automod_thresholds":{"$ref":"#/components/schemas/Thresholds","x-stream-index":"001.002.029"},"blocklist":{"type":"string","x-stream-index":"001.002.025"},"blocklist_behavior":{"enum":["flag","block","shadow_block"],"type":"string","x-stream-index":"001.002.026"},"blocklists":{"items":{"$ref":"#/components/schemas/BlockListOptions"},"type":"array","x-stream-index":"001.002.027"},"chat_preferences":{"$ref":"#/components/schemas/ChatPreferences","x-stream-index":"001.002.034"},"commands":{"items":{"$ref":"#/components/schemas/Command"},"type":"array","x-stream-index":"001.003"},"connect_events":{"type":"boolean","x-stream-index":"001.002.004"},"count_messages":{"type":"boolean","x-stream-index":"001.002.020"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.003"},"custom_events":{"type":"boolean","x-stream-index":"001.002.013"},"delivery_events":{"type":"boolean","x-stream-index":"001.002.005"},"grants":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","x-stream-index":"002"},"mark_messages_pending":{"type":"boolean","x-stream-index":"001.002.016"},"max_message_length":{"format":"int32","maximum":20000,"type":"integer","x-stream-index":"001.002.022"},"mutes":{"type":"boolean","x-stream-index":"001.002.010"},"name":{"type":"string","x-stream-index":"001.002.001"},"partition_size":{"format":"int32","type":"integer","x-stream-index":"001.002.030"},"partition_ttl":{"example":"24h","format":"duration","nullable":true,"type":"string","x-stream-index":"001.002.031"},"polls":{"type":"boolean","x-stream-index":"001.002.017"},"push_level":{"enum":["all","all_mentions","mentions","direct_mentions","none"],"type":"string","x-stream-index":"001.002.033"},"push_notifications":{"type":"boolean","x-stream-index":"001.002.014"},"quotes":{"type":"boolean","x-stream-index":"001.002.009"},"reactions":{"type":"boolean","x-stream-index":"001.002.007"},"read_events":{"type":"boolean","x-stream-index":"001.002.003"},"reminders":{"type":"boolean","x-stream-index":"001.002.015"},"replies":{"type":"boolean","x-stream-index":"001.002.008"},"search":{"type":"boolean","x-stream-index":"001.002.006"},"shared_locations":{"type":"boolean","x-stream-index":"001.002.019"},"skip_last_msg_update_for_system_msgs":{"type":"boolean","x-stream-index":"001.002.032"},"typing_events":{"type":"boolean","x-stream-index":"001.002.002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.001.004"},"uploads":{"type":"boolean","x-stream-index":"001.002.011"},"url_enrichment":{"type":"boolean","x-stream-index":"001.002.012"},"user_message_reminders":{"type":"boolean","x-stream-index":"001.002.018"}},"required":["created_at","updated_at","name","typing_events","read_events","connect_events","delivery_events","search","reactions","replies","quotes","mutes","uploads","url_enrichment","custom_events","push_notifications","reminders","mark_messages_pending","polls","user_message_reminders","shared_locations","count_messages","message_retention","max_message_length","automod","automod_behavior","skip_last_msg_update_for_system_msgs","commands"],"type":"object"},"ChannelMemberResponse":{"nullable":true,"properties":{"archived_at":{"format":"date-time","type":"number","x-stream-index":"016"},"ban_expires":{"description":"Expiration date of the ban","format":"date-time","title":"Ban expires","type":"number","x-stream-index":"013"},"banned":{"description":"Whether member is banned this channel or not","title":"Banned","type":"boolean","x-stream-index":"012"},"channel_role":{"description":"Role of the member in the channel","title":"Channel Role","type":"string","x-stream-index":"018"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"011"},"deleted_messages":{"items":{"type":"string"},"type":"array","x-stream-index":"020"},"invite_accepted_at":{"description":"Date when invite was accepted","format":"date-time","title":"Invited accepted at","type":"number","x-stream-index":"006"},"invite_rejected_at":{"description":"Date when invite was rejected","format":"date-time","title":"Invited rejected at","type":"number","x-stream-index":"007"},"invited":{"description":"Whether member was invited or not","title":"Invited","type":"boolean","x-stream-index":"005"},"is_moderator":{"description":"Whether member is channel moderator or not","title":"Is moderator","type":"boolean","x-stream-index":"003"},"notifications_muted":{"type":"boolean","x-stream-index":"019"},"pinned_at":{"format":"date-time","type":"number","x-stream-index":"015"},"role":{"description":"Permission level of the member in the channel (DEPRECATED: use channel_role instead). One of: member, moderator, admin, owner","title":"Role","type":"string","x-stream-index":"017"},"shadow_banned":{"description":"Whether member is shadow banned in this channel or not","title":"Shadow banned","type":"boolean","x-stream-index":"014"},"status":{"type":"string","x-stream-index":"008"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"010"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"002"},"user_id":{"title":"User ID","type":"string","x-stream-index":"001"}},"required":["custom","created_at","updated_at","banned","shadow_banned","channel_role","notifications_muted"],"title":"Channel member","type":"object"},"ChannelMute":{"nullable":true,"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","description":"Channel that is muted","title":"Channel","x-stream-index":"002"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"004"},"expires":{"description":"Date/time of mute expiration","format":"date-time","title":"Expires","type":"number","x-stream-index":"003"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","description":"Owner of channel mute","title":"User","x-stream-index":"001"}},"required":["created_at","updated_at"],"type":"object"},"ChannelOwnCapability":{"description":"All possibility of string to use","enum":["ban-channel-members","cast-poll-vote","connect-events","create-attachment","delete-any-message","delete-channel","delete-own-message","delivery-events","flag-message","freeze-channel","join-channel","leave-channel","mute-channel","pin-message","query-poll-votes","quote-message","read-events","search-messages","send-custom-events","send-links","send-message","send-poll","send-reaction","send-reply","send-restricted-visibility-message","send-typing-events","set-channel-cooldown","share-location","skip-slow-mode","slow-mode","typing-events","update-any-message","update-channel","update-channel-members","update-own-message","update-thread","upload-file"],"title":"ChannelOwnCapability","type":"string"},"ChannelResponse":{"description":"Represents channel in chat","properties":{"auto_translation_enabled":{"description":"Whether auto translation is enabled or not","title":"Auto translation","type":"boolean","x-stream-index":"017"},"auto_translation_language":{"description":"Language to translate to when auto translation is active","title":"Auto translation language","type":"string","x-stream-index":"018"},"blocked":{"description":"Whether this channel is blocked by current user or not","title":"Blocked","type":"boolean","x-stream-index":"023"},"cid":{"description":"Channel CID (\u003ctype\u003e:\u003cid\u003e)","title":"CID","type":"string","x-stream-index":"003"},"config":{"$ref":"#/components/schemas/ChannelConfigWithInfo","description":"Channel configuration","title":"ChannelConfigWithInfo","x-stream-index":"013"},"cooldown":{"description":"Cooldown period after sending each message","format":"int32","title":"Cooldown","type":"integer","x-stream-index":"020"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"005"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"Creator of the channel","title":"UserResponse","x-stream-index":"008"},"custom":{"additionalProperties":{},"description":"Custom data for this object","title":"Custom data","type":"object","x-stream-index":"026"},"deleted_at":{"description":"Date/time of deletion","format":"date-time","title":"Deleted at","type":"number","x-stream-index":"007"},"disabled":{"type":"boolean","x-stream-index":"010"},"filter_tags":{"description":"List of filter tags associated with the channel","items":{"type":"string"},"title":"Filter tags","type":"array","x-stream-index":"028"},"frozen":{"description":"Whether channel is frozen or not","title":"Frozen","type":"boolean","x-stream-index":"009"},"hidden":{"description":"Whether this channel is hidden by current user or not","title":"Hidden","type":"boolean","x-stream-index":"022"},"hide_messages_before":{"description":"Date since when the message history is accessible","format":"date-time","title":"Hide messages before","type":"number","x-stream-index":"019"},"id":{"description":"Channel unique ID","title":"ID","type":"string","x-stream-index":"001"},"last_message_at":{"description":"Date of the last message sent","format":"date-time","title":"Last message at","type":"number","x-stream-index":"004"},"member_count":{"description":"Number of members in the channel","format":"int32","title":"Member count","type":"integer","x-stream-index":"012"},"members":{"description":"List of channel members (max 100)","items":{"$ref":"#/components/schemas/ChannelMemberResponse"},"title":"Channel members","type":"array","x-stream-index":"011"},"message_count":{"description":"Number of messages in the channel","format":"int64","title":"Message count","type":"integer","x-stream-index":"027"},"mute_expires_at":{"description":"Date of mute expiration","format":"date-time","title":"Mute expires at","type":"number","x-stream-index":"015"},"muted":{"description":"Whether this channel is muted or not","title":"Muted","type":"boolean","x-stream-index":"014"},"own_capabilities":{"description":"List of channel capabilities of authenticated user","items":{"$ref":"#/components/schemas/ChannelOwnCapability"},"title":"ChannelOwnCapability","type":"array","x-stream-index":"021"},"team":{"description":"Team the channel belongs to (multi-tenant only)","title":"Team","type":"string","x-stream-index":"016"},"truncated_at":{"description":"Date of the latest truncation of the channel","format":"date-time","title":"UserResponse","type":"number","x-stream-index":"024"},"truncated_by":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"025"},"type":{"description":"Type of the channel","title":"Type","type":"string","x-stream-docs-page-id":"channel_features","x-stream-index":"002"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"006"}},"required":["id","type","cid","created_at","updated_at","frozen","disabled","custom"],"title":"Channel","type":"object"},"ChatPreferences":{"properties":{"channel_mentions":{"type":"string","x-stream-index":"007"},"default_preference":{"type":"string","x-stream-index":"001"},"direct_mentions":{"type":"string","x-stream-index":"002"},"distinct_channel_messages":{"type":"string","x-stream-index":"008"},"group_mentions":{"type":"string","x-stream-index":"004"},"here_mentions":{"type":"string","x-stream-index":"006"},"role_mentions":{"type":"string","x-stream-index":"003"},"thread_replies":{"type":"string","x-stream-index":"005"}},"type":"object"},"ChatPreferencesResponse":{"properties":{"channel_mentions":{"type":"string","x-stream-index":"007"},"default_preference":{"type":"string","x-stream-index":"001"},"direct_mentions":{"type":"string","x-stream-index":"002"},"group_mentions":{"type":"string","x-stream-index":"004"},"here_mentions":{"type":"string","x-stream-index":"006"},"role_mentions":{"type":"string","x-stream-index":"003"},"thread_replies":{"type":"string","x-stream-index":"005"}},"type":"object"},"CheckRequest":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/ModerationConfig","description":"Custom moderation configuration (test mode only)","title":"Config","x-stream-index":"009"},"config_key":{"description":"Key of the moderation configuration to use","title":"Config Key","type":"string","x-stream-index":"005"},"config_team":{"description":"Team associated with the configuration","title":"Config Team","type":"string","x-stream-index":"006"},"content_published_at":{"description":"Original timestamp when the content was produced (for correlating flagged content with source video timeline)","format":"date-time","title":"Content Published At","type":"number","x-stream-index":"010"},"entity_creator_id":{"description":"ID of the user who created the entity","title":"Entity Creator ID","type":"string","x-stream-index":"003"},"entity_id":{"description":"Unique identifier of the entity to moderate","title":"Entity ID","type":"string","x-stream-index":"002"},"entity_type":{"description":"Type of entity to moderate","title":"Entity Type","type":"string","x-stream-index":"001"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayload","description":"Content to be moderated","title":"Moderation Payload","x-stream-index":"004"},"options":{"additionalProperties":{},"description":"Additional moderation configuration options","title":"Options","type":"object","x-stream-index":"007"},"test_mode":{"description":"Whether to run moderation in test mode","title":"Test Mode","type":"boolean","x-stream-index":"008"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"011.002"},"user_id":{"type":"string","x-stream-index":"011.001"}},"required":["entity_type","entity_id","entity_creator_id"],"type":"object"},"CheckResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"006.001"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Review queue item (present if action != keep)","title":"Item","x-stream-index":"004"},"recommended_action":{"description":"Suggested action based on moderation results","title":"Recommended Action","type":"string","x-stream-index":"003"},"status":{"description":"Status of the moderation check (completed or pending)","title":"Status","type":"string","x-stream-index":"001"},"task_id":{"description":"ID of the running moderation task","title":"Task ID","type":"string","x-stream-index":"002"},"triggered_rule":{"$ref":"#/components/schemas/TriggeredRuleResponse","description":"Rule triggered by evaluation, with resolved actions and escalation details","title":"Triggered Rule","x-stream-index":"005"}},"required":["status","recommended_action","duration"],"type":"object"},"CheckS3AccessRequest":{"nullable":true,"properties":{"s3_url":{"description":"Optional stream+s3:// reference to test access against","title":"string","type":"string","x-stream-index":"002"}},"type":"object"},"CheckS3AccessResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"},"message":{"description":"Descriptive message about the check result","title":"string","type":"string","x-stream-index":"003"},"success":{"description":"Whether the S3 access check succeeded","title":"boolean","type":"boolean","x-stream-index":"002"}},"required":["duration","success"],"type":"object"},"ClosedCaptionRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"llm_harm_labels":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"002"},"threshold":{"format":"int32","type":"integer","x-stream-index":"003"}},"type":"object"},"Command":{"description":"Represents custom chat command","nullable":true,"properties":{"args":{"description":"Arguments help text, shown in commands auto-completion","title":"Arguments","type":"string","x-stream-index":"006"},"created_at":{"description":"Date/time of creation","format":"date-time","readOnly":true,"title":"Created at","type":"number","x-stream-index":"001"},"description":{"description":"Description, shown in commands auto-completion","title":"Description","type":"string","x-stream-index":"005"},"name":{"description":"Unique command name","title":"Name","type":"string","x-stream-index":"004"},"set":{"description":"Set name used for grouping commands","title":"Set","type":"string","x-stream-index":"007"},"updated_at":{"description":"Date/time of the last update","format":"date-time","readOnly":true,"title":"Updated at","type":"number","x-stream-index":"002"}},"required":["name","description","args","set"],"title":"Command","type":"object"},"CompositeRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"ConfigResponse":{"properties":{"ai_image_config":{"$ref":"#/components/schemas/AIImageConfig","description":"Configuration for AI image analysis","title":"AI Image Config","x-stream-index":"010"},"ai_image_label_definitions":{"description":"Configurable image moderation label definitions for dashboard rendering","items":{"$ref":"#/components/schemas/AIImageLabelDefinition"},"title":"AI Image Label Definitions","type":"array","x-stream-index":"018"},"ai_image_subclassifications":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Available L2 subclassifications per L1 image moderation label, based on the active provider","title":"AI Image Subclassifications","type":"object","x-stream-index":"017"},"ai_text_config":{"$ref":"#/components/schemas/AITextConfig","description":"Configuration for AI text analysis","title":"AI Text Config","x-stream-index":"008"},"ai_video_config":{"$ref":"#/components/schemas/AIVideoConfig","description":"Configuration for AI video analysis","title":"AI Video Config","x-stream-index":"011"},"async":{"description":"Whether moderation should be performed asynchronously","title":"Async","type":"boolean","x-stream-index":"003"},"automod_platform_circumvention_config":{"$ref":"#/components/schemas/AutomodPlatformCircumventionConfig","description":"Configuration for platform circumvention detection","title":"Automod Platform Circumvention Config","x-stream-index":"005"},"automod_semantic_filters_config":{"$ref":"#/components/schemas/AutomodSemanticFiltersConfig","description":"Configuration for semantic filtering","title":"Automod Semantic Filters Config","x-stream-index":"006"},"automod_toxicity_config":{"$ref":"#/components/schemas/AutomodToxicityConfig","description":"Configuration for toxicity detection","title":"Automod Toxicity Config","x-stream-index":"004"},"block_list_config":{"$ref":"#/components/schemas/BlockListConfig","description":"Configuration for block list filtering","title":"Block List Config","x-stream-index":"007"},"created_at":{"description":"When the configuration was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"013"},"key":{"description":"Unique identifier for the moderation configuration","title":"Key","type":"string","x-stream-index":"001"},"llm_config":{"$ref":"#/components/schemas/LLMConfig","description":"Configuration for customer-configured LLM moderation","title":"LLM Config","x-stream-index":"009"},"supported_video_call_harm_types":{"items":{"type":"string"},"type":"array","x-stream-index":"016"},"team":{"description":"Team associated with the configuration","title":"Team","type":"string","x-stream-index":"002"},"updated_at":{"description":"When the configuration was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"014"},"velocity_filter_config":{"$ref":"#/components/schemas/VelocityFilterConfig","description":"Configuration for velocity-based filtering","title":"Velocity Filter Config","x-stream-index":"012"},"video_call_rule_config":{"$ref":"#/components/schemas/VideoCallRuleConfig","x-stream-index":"015"}},"required":["key","team","async","created_at","updated_at","supported_video_call_harm_types"],"type":"object"},"ContentCountRuleParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"CustomActionRequestPayload":{"description":"Configuration for custom moderation action","properties":{"id":{"description":"Custom action identifier","title":"ID","type":"string","x-stream-index":"001"},"options":{"additionalProperties":{},"description":"Custom action options","title":"Options","type":"object","x-stream-index":"002"}},"title":"CustomActionRequest","type":"object"},"CustomCheckFlag":{"properties":{"custom":{"additionalProperties":{},"description":"Additional metadata for the flag","title":"Custom","type":"object","x-stream-index":"003"},"labels":{"description":"Labels from various moderation sources","items":{"type":"string"},"title":"Labels","type":"array","x-stream-index":"004"},"reason":{"description":"Optional explanation for the flag","title":"Reason","type":"string","x-stream-index":"002"},"type":{"description":"Type of check (custom_check_text, custom_check_image, custom_check_video)","maxLength":255,"title":"Type","type":"string","x-stream-index":"001"}},"required":["type"],"type":"object"},"CustomCheckRequest":{"nullable":true,"properties":{"entity_creator_id":{"description":"ID of the user who created the entity (required for non-message entities)","title":"Entity Creator ID","type":"string","x-stream-index":"003"},"entity_id":{"description":"Unique identifier of the entity","title":"Entity ID","type":"string","x-stream-index":"002"},"entity_type":{"description":"Type of entity to perform custom check on","title":"Entity Type","type":"string","x-stream-index":"001"},"flags":{"description":"List of custom check flags (1-10 flags required)","items":{"$ref":"#/components/schemas/CustomCheckFlag"},"maxItems":10,"minItems":1,"title":"Flags","type":"array","x-stream-index":"005"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayloadRequest","description":"Content to be checked (required for non-message entities)","title":"Moderation Payload","x-stream-index":"004"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"006.002"},"user_id":{"type":"string","x-stream-index":"006.001"}},"required":["entity_type","entity_id","flags"],"type":"object"},"CustomCheckResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"004.001"},"id":{"description":"Unique identifier of the custom check","title":"ID","type":"string","x-stream-index":"001"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Review queue item details","title":"Item","x-stream-index":"002"},"status":{"description":"Status of the custom check","title":"Status","type":"string","x-stream-index":"003"}},"required":["id","status","duration"],"type":"object"},"Data":{"properties":{"id":{"type":"string","x-stream-index":"001"}},"required":["id"],"type":"object"},"DeleteActivityRequestPayload":{"description":"Configuration for activity deletion action","properties":{"entity_id":{"description":"ID of the activity to delete (alternative to item_id)","title":"Entity ID","type":"string","x-stream-index":"003"},"entity_type":{"description":"Type of the entity (required for delete_activity to distinguish v2 vs v3)","title":"Entity Type","type":"string","x-stream-index":"004"},"hard_delete":{"description":"Whether to permanently delete the activity","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteActivityRequest","type":"object"},"DeleteCommentRequestPayload":{"description":"Configuration for comment deletion action","properties":{"entity_id":{"description":"ID of the comment to delete (alternative to item_id)","title":"Entity ID","type":"string","x-stream-index":"003"},"entity_type":{"description":"Type of the entity","title":"Entity Type","type":"string","x-stream-index":"004"},"hard_delete":{"description":"Whether to permanently delete the comment","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteCommentRequest","type":"object"},"DeleteMessageRequestPayload":{"description":"Configuration for message deletion action","properties":{"entity_id":{"description":"ID of the message to delete (alternative to item_id)","title":"Entity ID","type":"string","x-stream-index":"003"},"entity_type":{"description":"Type of the entity","title":"Entity Type","type":"string","x-stream-index":"004"},"hard_delete":{"description":"Whether to permanently delete the message","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteMessageRequest","type":"object"},"DeleteModerationConfigResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"DeleteModerationRuleResponse":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001.001"}},"required":["duration"],"title":"Response","type":"object"},"DeleteModerationTemplateResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"DeleteReactionRequestPayload":{"description":"Configuration for reaction deletion action","properties":{"entity_id":{"description":"ID of the reaction to delete (alternative to item_id)","title":"Entity ID","type":"string","x-stream-index":"003"},"entity_type":{"description":"Type of the entity","title":"Entity Type","type":"string","x-stream-index":"004"},"hard_delete":{"description":"Whether to permanently delete the reaction","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteReactionRequest","type":"object"},"DeleteUserRequestPayload":{"description":"Configuration for user deletion action","properties":{"delete_conversation_channels":{"description":"Also delete all user conversations","title":"Delete Conversations","type":"boolean","x-stream-index":"004"},"delete_feeds_content":{"description":"Delete flagged feeds content","title":"Delete Feeds Content","type":"boolean","x-stream-index":"005"},"entity_id":{"description":"ID of the user to delete (alternative to item_id)","title":"Entity ID","type":"string","x-stream-index":"006"},"entity_type":{"description":"Type of the entity","title":"Entity Type","type":"string","x-stream-index":"007"},"hard_delete":{"description":"Whether to permanently delete the user","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"mark_messages_deleted":{"description":"Also delete all user messages","title":"Mark Messages Deleted","type":"boolean","x-stream-index":"003"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteUserRequest","type":"object"},"DeliveryReceiptsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"DeviceResponse":{"description":"Response for Device","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"004"},"disabled":{"description":"Whether device is disabled or not","title":"Disabled","type":"boolean","x-stream-index":"005"},"disabled_reason":{"description":"Reason explaining why device had been disabled","title":"Reason","type":"string","x-stream-index":"006"},"id":{"description":"Device ID","title":"ID","type":"string","x-stream-index":"003"},"push_provider":{"description":"Push provider","title":"PushProvider","type":"string","x-stream-index":"001"},"push_provider_name":{"description":"Push provider name","title":"PushProviderName","type":"string","x-stream-index":"002"},"user_id":{"description":"User ID","title":"UserID","type":"string","x-stream-index":"008"},"voip":{"description":"When true the token is for Apple VoIP push notifications","title":"Voip","type":"boolean","x-stream-index":"007"}},"required":["push_provider","id","created_at","user_id"],"title":"DeviceResponse","type":"object"},"DraftPayloadResponse":{"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","x-stream-index":"012"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"html":{"type":"string","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","x-stream-index":"013"},"mml":{"type":"string","x-stream-index":"005"},"parent_id":{"type":"string","x-stream-index":"006"},"poll_id":{"type":"string","x-stream-index":"007"},"quoted_message_id":{"type":"string","x-stream-index":"008"},"show_in_channel":{"type":"boolean","x-stream-index":"009"},"silent":{"type":"boolean","x-stream-index":"010"},"text":{"type":"string","x-stream-index":"002"},"type":{"type":"string","x-stream-index":"011"}},"required":["id","text","custom"],"type":"object"},"DraftResponse":{"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"005"},"channel_cid":{"type":"string","x-stream-index":"001"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"002"},"message":{"$ref":"#/components/schemas/DraftPayloadResponse","x-stream-index":"003"},"parent_id":{"type":"string","x-stream-index":"004"},"parent_message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"006"},"quoted_message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"007"}},"required":["channel_cid","created_at","message"],"type":"object"},"EgressHLSResponse":{"properties":{"playlist_url":{"type":"string","x-stream-index":"001"},"status":{"type":"string","x-stream-index":"002"}},"required":["playlist_url","status"],"type":"object"},"EgressRTMPResponse":{"properties":{"name":{"type":"string","x-stream-index":"001"},"started_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"002"},"stream_key":{"type":"string","x-stream-index":"003"},"stream_url":{"type":"string","x-stream-index":"004"}},"required":["name","started_at"],"type":"object"},"EgressResponse":{"properties":{"broadcasting":{"type":"boolean","x-stream-index":"001"},"composite_recording":{"$ref":"#/components/schemas/CompositeRecordingResponse","x-stream-index":"003"},"frame_recording":{"$ref":"#/components/schemas/FrameRecordingResponse","x-stream-index":"004"},"hls":{"$ref":"#/components/schemas/EgressHLSResponse","x-stream-index":"005"},"individual_recording":{"$ref":"#/components/schemas/IndividualRecordingResponse","x-stream-index":"006"},"raw_recording":{"$ref":"#/components/schemas/RawRecordingResponse","x-stream-index":"007"},"rtmps":{"items":{"$ref":"#/components/schemas/EgressRTMPResponse"},"type":"array","x-stream-index":"002"}},"required":["broadcasting","rtmps"],"type":"object"},"EnrichedActivity":{"properties":{"actor":{"$ref":"#/components/schemas/Data","x-stream-index":"002"},"foreign_id":{"type":"string","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"latest_reactions":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"013"},"object":{"$ref":"#/components/schemas/Data","x-stream-index":"004"},"origin":{"$ref":"#/components/schemas/Data","x-stream-index":"008"},"own_reactions":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"012"},"reaction_counts":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"011"},"score":{"format":"float","type":"number","x-stream-index":"010"},"target":{"$ref":"#/components/schemas/Data","x-stream-index":"006"},"to":{"items":{"type":"string"},"type":"array","x-stream-index":"009"},"verb":{"type":"string","x-stream-index":"003"}},"type":"object"},"EnrichedCollection":{"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"005"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"002"},"name":{"type":"string","x-stream-index":"001"},"status":{"type":"string","x-stream-index":"007"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"006"},"user_id":{"type":"string","x-stream-index":"004"}},"required":["name","id","custom","user_id","created_at","updated_at","status"],"type":"object"},"EnrichedReaction":{"nullable":true,"properties":{"activity_id":{"type":"string","x-stream-index":"003"},"children_counts":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"010"},"created_at":{"$ref":"#/components/schemas/Time","x-stream-index":"012"},"data":{"additionalProperties":{},"type":"object","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"kind":{"type":"string","x-stream-index":"002"},"latest_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"008"},"own_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"009"},"parent":{"type":"string","x-stream-index":"007"},"target_feeds":{"items":{"type":"string"},"type":"array","x-stream-index":"006"},"updated_at":{"$ref":"#/components/schemas/Time","x-stream-index":"013"},"user":{"$ref":"#/components/schemas/Data","x-stream-index":"011"},"user_id":{"type":"string","x-stream-index":"004"}},"required":["kind","activity_id","user_id"],"type":"object"},"EntityCreatorResponse":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.001.018"},"ban_count":{"description":"Number of minor actions performed on the user","format":"int32","title":"Ban Count","type":"integer","x-stream-index":"002"},"ban_expires":{"format":"date-time","type":"number","x-stream-index":"001.004"},"banned":{"type":"boolean","x-stream-index":"001.001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"001.001.017"},"bypass_moderation":{"type":"boolean","x-stream-index":"001.003"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"001.001.016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.001.011"},"deleted_content_count":{"description":"Number of major actions performed on the user","format":"int32","title":"Deleted Content Count","type":"integer","x-stream-index":"003"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"type":"array","x-stream-index":"001.007"},"flagged_count":{"description":"Number of flag actions performed on the user","format":"int32","title":"Flagged Count","type":"integer","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001.001.001"},"image":{"type":"string","x-stream-index":"001.001.003"},"invisible":{"type":"boolean","x-stream-index":"001.008"},"language":{"type":"string","x-stream-index":"001.001.005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"001.001.014"},"name":{"type":"string","x-stream-index":"001.001.002"},"online":{"type":"boolean","x-stream-index":"001.001.013"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"001.006"},"push_notifications":{"$ref":"#/components/schemas/PushNotificationSettingsResponse","x-stream-index":"001.005"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"001.001.015"},"role":{"type":"string","x-stream-index":"001.001.006"},"shadow_banned":{"type":"boolean","x-stream-index":"001.002"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"001.001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.001.008"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","blocked_user_ids","shadow_banned","invisible","ban_count","deleted_content_count","flagged_count"],"type":"object"},"EscalatePayload":{"description":"Configuration for escalation action","properties":{"notes":{"description":"Additional context for the reviewer","title":"Notes","type":"string","x-stream-index":"002"},"priority":{"description":"Priority of the escalation (low, medium, high)","title":"Priority","type":"string","x-stream-index":"003"},"reason":{"description":"Reason for the escalation (from configured escalation_reasons)","title":"Reason","type":"string","x-stream-index":"001"}},"title":"EscalatePayload","type":"object"},"EscalationMetadata":{"properties":{"notes":{"type":"string","x-stream-index":"002"},"priority":{"type":"string","x-stream-index":"003"},"reason":{"type":"string","x-stream-index":"001"}},"type":"object"},"FeedsModerationTemplateConfigPayload":{"description":"Configuration for a feeds moderation template","properties":{"config_key":{"description":"Key of the moderation configuration to use","title":"Config Key","type":"string","x-stream-index":"002"},"data_types":{"additionalProperties":{"type":"string"},"description":"Map of data type names to their content types","title":"Data Types","type":"object","x-stream-index":"001"}},"required":["data_types"],"title":"FeedsModerationTemplateConfig","type":"object"},"FeedsPreferencesResponse":{"properties":{"comment":{"type":"string","x-stream-index":"002"},"comment_mention":{"type":"string","x-stream-index":"006"},"comment_reaction":{"type":"string","x-stream-index":"004"},"comment_reply":{"type":"string","x-stream-index":"005"},"custom_activity_types":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"008"},"follow":{"type":"string","x-stream-index":"001"},"mention":{"type":"string","x-stream-index":"007"},"reaction":{"type":"string","x-stream-index":"003"}},"type":"object"},"FeedsReactionGroup":{"properties":{"count":{"format":"int32","type":"integer","x-stream-index":"001"},"first_reaction_at":{"format":"date-time","type":"number","x-stream-index":"002"},"last_reaction_at":{"format":"date-time","type":"number","x-stream-index":"003"}},"required":["count","first_reaction_at","last_reaction_at"],"type":"object"},"FeedsV3ActivityResponse":{"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","x-stream-index":"014"},"bookmark_count":{"format":"int32","type":"integer","x-stream-index":"026"},"collections":{"additionalProperties":{"$ref":"#/components/schemas/EnrichedCollection"},"type":"object","x-stream-index":"021"},"comment_count":{"format":"int32","type":"integer","x-stream-index":"025"},"comments":{"items":{"$ref":"#/components/schemas/FeedsV3CommentResponse"},"type":"array","x-stream-index":"016"},"created_at":{"format":"date-time","type":"number","x-stream-index":"009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"017"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"012"},"edited_at":{"format":"date-time","type":"number","x-stream-index":"011"},"expires_at":{"format":"date-time","type":"number","x-stream-index":"013"},"feeds":{"items":{"type":"string"},"type":"array","x-stream-index":"004"},"filter_tags":{"items":{"type":"string"},"type":"array","x-stream-index":"019"},"hidden":{"type":"boolean","x-stream-index":"035"},"id":{"type":"string","x-stream-index":"001"},"interest_tags":{"items":{"type":"string"},"type":"array","x-stream-index":"020"},"latest_reactions":{"additionalProperties":{},"type":"array","x-stream-index":"031"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","x-stream-index":"015"},"metrics":{"additionalProperties":{"format":"int64","type":"integer"},"type":"object","x-stream-index":"030"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","x-stream-index":"022"},"moderation_action":{"type":"string","x-stream-index":"023"},"own_bookmarks":{"additionalProperties":{},"type":"array","x-stream-index":"034"},"own_reactions":{"additionalProperties":{},"type":"array","x-stream-index":"033"},"popularity":{"format":"int32","type":"integer","x-stream-index":"024"},"preview":{"type":"boolean","x-stream-index":"036"},"reaction_count":{"format":"int32","type":"integer","x-stream-index":"028"},"reaction_groups":{"additionalProperties":{"$ref":"#/components/schemas/FeedsReactionGroup"},"type":"object","x-stream-index":"032"},"restrict_replies":{"type":"string","x-stream-index":"007"},"score":{"format":"float","type":"number","x-stream-index":"029"},"search_data":{"additionalProperties":{},"type":"object","x-stream-index":"018"},"share_count":{"format":"int32","type":"integer","x-stream-index":"027"},"text":{"type":"string","x-stream-index":"008"},"type":{"type":"string","x-stream-index":"002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"010"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"003"},"visibility":{"type":"string","x-stream-index":"005"},"visibility_tag":{"type":"string","x-stream-index":"006"}},"required":["id","type","user","feeds","visibility","restrict_replies","created_at","updated_at","attachments","mentioned_users","comments","custom","search_data","filter_tags","interest_tags","collections","popularity","comment_count","bookmark_count","share_count","reaction_count","score","latest_reactions","reaction_groups","own_reactions","own_bookmarks","hidden","preview"],"type":"object"},"FeedsV3CommentResponse":{"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","x-stream-index":"010"},"confidence_score":{"format":"float","type":"number","x-stream-index":"019"},"controversy_score":{"format":"float","type":"number","x-stream-index":"020"},"created_at":{"format":"date-time","type":"number","x-stream-index":"012"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"011"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"015"},"downvote_count":{"format":"int32","type":"integer","x-stream-index":"017"},"edited_at":{"format":"date-time","type":"number","x-stream-index":"014"},"id":{"type":"string","x-stream-index":"001"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","x-stream-index":"008"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","x-stream-index":"023"},"object_id":{"type":"string","x-stream-index":"002"},"object_type":{"type":"string","x-stream-index":"003"},"own_reactions":{"additionalProperties":{},"type":"array","x-stream-index":"009"},"parent_id":{"type":"string","x-stream-index":"006"},"reaction_count":{"format":"int32","type":"integer","x-stream-index":"022"},"reply_count":{"format":"int32","type":"integer","x-stream-index":"021"},"score":{"format":"int32","type":"integer","x-stream-index":"018"},"status":{"type":"string","x-stream-index":"004"},"text":{"type":"string","x-stream-index":"005"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"013"},"upvote_count":{"format":"int32","type":"integer","x-stream-index":"016"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"007"}},"required":["id","object_id","object_type","status","user","mentioned_users","own_reactions","created_at","updated_at","upvote_count","downvote_count","score","confidence_score","reply_count","reaction_count"],"type":"object"},"Field":{"properties":{"short":{"type":"boolean","x-stream-index":"001"},"title":{"type":"string","x-stream-index":"002"},"value":{"type":"string","x-stream-index":"003"}},"required":["short","title","value"],"type":"object"},"FilterConfigResponse":{"properties":{"ai_text_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"002"},"config_keys":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"llm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"required":["llm_labels"],"type":"object"},"FlagCountRuleParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"}},"type":"object"},"FlagRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"description":"Additional metadata about the flag","title":"Custom","type":"object","x-stream-index":"006"},"entity_creator_id":{"description":"ID of the user who created the flagged entity","title":"Entity Creator ID","type":"string","x-stream-index":"003"},"entity_id":{"description":"Unique identifier of the entity being flagged","title":"Entity ID","type":"string","x-stream-index":"002"},"entity_type":{"description":"Type of entity being flagged (e.g., message, user)","title":"Entity Type","type":"string","x-stream-index":"001"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayload","description":"Content being flagged","title":"Moderation Payload","x-stream-index":"005"},"reason":{"description":"Optional explanation for why the content is being flagged","maxLength":255,"title":"Reason","type":"string","x-stream-index":"004"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"007.002"},"user_id":{"type":"string","x-stream-index":"007.001"}},"required":["entity_type","entity_id"],"type":"object"},"FlagResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"item_id":{"description":"Unique identifier of the created moderation item","title":"Item ID","type":"string","x-stream-index":"001"}},"required":["item_id","duration"],"type":"object"},"FlagUserOptions":{"properties":{"reason":{"type":"string","x-stream-index":"001"}},"type":"object"},"FrameRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"FrameRecordingSettingsResponse":{"properties":{"capture_interval_in_seconds":{"format":"int32","type":"integer","x-stream-index":"001"},"mode":{"type":"string","x-stream-index":"002"},"quality":{"type":"string","x-stream-index":"003"}},"required":["capture_interval_in_seconds","mode"],"type":"object"},"GeofenceSettingsResponse":{"properties":{"names":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"required":["names"],"type":"object"},"GetAppealResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"item":{"$ref":"#/components/schemas/AppealItemResponse","description":"Current state of the appeal","title":"Item","x-stream-index":"001"}},"required":["duration"],"type":"object"},"GetConfigResponse":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/ConfigResponse","description":"The retrieved moderation configuration","title":"Config","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["duration"],"type":"object"},"GetFlagCountRequest":{"nullable":true,"properties":{"entity_creator_id":{"description":"ID of the user whose content was flagged","title":"Entity Creator ID","type":"string","x-stream-index":"001"},"entity_type":{"description":"Optional entity type filter (e.g., stream:chat:v1:message, stream:user)","title":"Entity Type","type":"string","x-stream-index":"002"}},"required":["entity_creator_id"],"type":"object"},"GetFlagCountResponse":{"nullable":true,"properties":{"count":{"description":"Total number of flags against the specified user's content","format":"int32","title":"Count","type":"integer","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["count","duration"],"type":"object"},"GetModerationRuleResponse":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001.001"},"rule":{"$ref":"#/components/schemas/ModerationRuleV2Response","x-stream-index":"002"}},"required":["duration"],"title":"Response","type":"object"},"GetReviewQueueItemResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Current state of the review queue item","title":"Item","x-stream-index":"001"}},"required":["duration"],"type":"object"},"GoogleVisionConfig":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"HLSSettingsResponse":{"properties":{"auto_on":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"layout":{"$ref":"#/components/schemas/LayoutSettingsResponse","x-stream-index":"004"},"quality_tracks":{"items":{"type":"string"},"type":"array","x-stream-index":"003"}},"required":["auto_on","enabled","quality_tracks","layout"],"type":"object"},"HarmConfig":{"properties":{"action_sequences":{"items":{"$ref":"#/components/schemas/ActionSequence"},"type":"array","x-stream-index":"001"},"cooldown_period":{"format":"int32","type":"integer","x-stream-index":"005"},"harm_types":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"severity":{"type":"integer","x-stream-index":"002"},"threshold":{"format":"int32","type":"integer","x-stream-index":"004"}},"type":"object"},"ImageContentParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"label_operator":{"type":"string","x-stream-index":"002"},"min_confidence":{"format":"float","type":"number","x-stream-index":"003"}},"type":"object"},"ImageData":{"properties":{"frames":{"type":"string","x-stream-index":"001"},"height":{"type":"string","x-stream-index":"002"},"size":{"type":"string","x-stream-index":"003"},"url":{"type":"string","x-stream-index":"004"},"width":{"type":"string","x-stream-index":"005"}},"required":["frames","height","size","url","width"],"type":"object"},"ImageRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"min_confidence":{"format":"float","type":"number","x-stream-index":"004"},"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"Images":{"properties":{"fixed_height":{"$ref":"#/components/schemas/ImageData","x-stream-index":"001"},"fixed_height_downsampled":{"$ref":"#/components/schemas/ImageData","x-stream-index":"002"},"fixed_height_still":{"$ref":"#/components/schemas/ImageData","x-stream-index":"003"},"fixed_width":{"$ref":"#/components/schemas/ImageData","x-stream-index":"004"},"fixed_width_downsampled":{"$ref":"#/components/schemas/ImageData","x-stream-index":"005"},"fixed_width_still":{"$ref":"#/components/schemas/ImageData","x-stream-index":"006"},"original":{"$ref":"#/components/schemas/ImageData","x-stream-index":"007"}},"required":["fixed_height","fixed_height_downsampled","fixed_height_still","fixed_width","fixed_width_downsampled","fixed_width_still","original"],"type":"object"},"IndividualRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"IndividualRecordingSettingsResponse":{"properties":{"mode":{"type":"string","x-stream-index":"001"},"output_types":{"items":{"type":"string"},"type":"array","x-stream-index":"002"}},"required":["mode"],"type":"object"},"IngressAudioEncodingResponse":{"properties":{"bitrate":{"format":"int32","type":"integer","x-stream-index":"001"},"channels":{"format":"int32","type":"integer","x-stream-index":"002"},"enable_dtx":{"type":"boolean","x-stream-index":"003"}},"required":["bitrate","channels","enable_dtx"],"type":"object"},"IngressSettingsResponse":{"properties":{"audio_encoding_options":{"$ref":"#/components/schemas/IngressAudioEncodingResponse","x-stream-index":"002"},"enabled":{"type":"boolean","x-stream-index":"001"},"video_encoding_options":{"additionalProperties":{"$ref":"#/components/schemas/IngressVideoEncodingResponse"},"type":"object","x-stream-index":"003"}},"required":["enabled"],"type":"object"},"IngressSourceResponse":{"properties":{"fps":{"format":"int32","type":"integer","x-stream-index":"001"},"height":{"format":"int32","type":"integer","x-stream-index":"002"},"width":{"format":"int32","type":"integer","x-stream-index":"003"}},"required":["fps","height","width"],"type":"object"},"IngressVideoEncodingResponse":{"properties":{"layers":{"items":{"$ref":"#/components/schemas/IngressVideoLayerResponse"},"type":"array","x-stream-index":"001"},"source":{"$ref":"#/components/schemas/IngressSourceResponse","x-stream-index":"002"}},"required":["layers","source"],"type":"object"},"IngressVideoLayerResponse":{"properties":{"bitrate":{"format":"int32","type":"integer","x-stream-index":"001"},"codec":{"type":"string","x-stream-index":"002"},"frame_rate_limit":{"format":"int32","type":"integer","x-stream-index":"003"},"max_dimension":{"format":"int32","type":"integer","x-stream-index":"004"},"min_dimension":{"format":"int32","type":"integer","x-stream-index":"005"}},"required":["bitrate","codec","frame_rate_limit","max_dimension","min_dimension"],"type":"object"},"InsertActionLogRequest":{"description":"Request to insert a moderation action log entry","nullable":true,"properties":{"action_type":{"description":"Type of moderation action taken","title":"Action Type","type":"string","x-stream-index":"004"},"custom":{"additionalProperties":{},"description":"Custom metadata for the action log","title":"Custom","type":"object","x-stream-index":"005"},"entity_creator_id":{"description":"ID of the user who created the entity","title":"Entity Creator ID","type":"string","x-stream-index":"003"},"entity_id":{"description":"ID of the entity the action was taken on","title":"Entity ID","type":"string","x-stream-index":"002"},"entity_type":{"description":"Type of entity the action was taken on","title":"Entity Type","type":"string","x-stream-index":"001"},"reason":{"description":"Reason for the action","title":"Reason","type":"string","x-stream-index":"006"}},"required":["entity_type","entity_id","entity_creator_id","action_type"],"title":"Insert Action Log Request","type":"object"},"InsertActionLogResponse":{"description":"Response after inserting a moderation action log","nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"title":"Insert Action Log Response","type":"object"},"KeyframeRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"min_confidence":{"format":"float","type":"number","x-stream-index":"003"},"threshold":{"format":"int32","type":"integer","x-stream-index":"002"}},"type":"object"},"LLMConfig":{"properties":{"app_context":{"type":"string","x-stream-index":"005"},"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/LLMRule"},"type":"array","x-stream-index":"003"},"severity_descriptions":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"004"}},"type":"object"},"LLMRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove","keep"],"type":"string","x-stream-index":"003"},"description":{"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"},"severity_rules":{"items":{"$ref":"#/components/schemas/BodyguardSeverityRule"},"type":"array","x-stream-index":"004"}},"required":["label","description"],"type":"object"},"LabelThresholds":{"properties":{"block":{"description":"Threshold for automatic message block","format":"float","maximum":1,"minimum":0,"title":"Block","type":"number","x-stream-index":"002"},"flag":{"description":"Threshold for automatic message flag","format":"float","maximum":1,"minimum":0,"title":"Flag","type":"number","x-stream-index":"001"}},"type":"object"},"LayoutSettingsResponse":{"properties":{"detect_orientation":{"type":"boolean","x-stream-index":"004"},"external_app_url":{"type":"string","x-stream-index":"001"},"external_css_url":{"type":"string","x-stream-index":"002"},"name":{"type":"string","x-stream-index":"003"},"options":{"additionalProperties":{},"type":"object","x-stream-index":"005"}},"required":["external_app_url","external_css_url","name"],"type":"object"},"LimitsSettingsResponse":{"properties":{"max_duration_seconds":{"format":"int32","type":"integer","x-stream-index":"002"},"max_participants":{"format":"int32","type":"integer","x-stream-index":"003"},"max_participants_exclude_owner":{"type":"boolean","x-stream-index":"004"},"max_participants_exclude_roles":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"required":["max_participants_exclude_roles"],"type":"object"},"MarkReviewedRequestPayload":{"description":"Configuration for mark reviewed action","properties":{"content_to_mark_as_reviewed_limit":{"description":"Maximum content items to mark as reviewed","format":"int32","maximum":2500,"title":"Content Limit","type":"integer","x-stream-index":"002"},"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"003"},"disable_marking_content_as_reviewed":{"description":"Skip marking content as reviewed","title":"Disable Marking Content","type":"boolean","x-stream-index":"001"}},"title":"MarkReviewedRequest","type":"object"},"MessageResponse":{"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","x-stream-index":"015"},"cid":{"type":"string","x-stream-index":"001"},"command":{"type":"string","x-stream-index":"024"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"002"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"020"},"deleted_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"025"},"deleted_for_me":{"type":"boolean","x-stream-index":"026"},"deleted_reply_count":{"format":"int32","type":"integer","x-stream-index":"003"},"draft":{"$ref":"#/components/schemas/DraftResponse","x-stream-index":"038"},"html":{"type":"string","x-stream-index":"004"},"i18n":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"039"},"id":{"type":"string","x-stream-index":"005"},"image_labels":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","x-stream-index":"040"},"latest_reactions":{"items":{"$ref":"#/components/schemas/ReactionResponse"},"type":"array","x-stream-index":"016"},"member":{"$ref":"#/components/schemas/ChannelMemberResponse","x-stream-index":"041"},"mentioned_channel":{"type":"boolean","x-stream-index":"006"},"mentioned_group_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"035"},"mentioned_here":{"type":"boolean","x-stream-index":"007"},"mentioned_roles":{"items":{"type":"string"},"type":"array","x-stream-index":"036"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","x-stream-index":"017"},"message_text_updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"027"},"mml":{"type":"string","x-stream-index":"028"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","x-stream-index":"042"},"own_reactions":{"items":{"$ref":"#/components/schemas/ReactionResponse"},"type":"array","x-stream-index":"018"},"parent_id":{"type":"string","x-stream-index":"029"},"pin_expires":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"030"},"pinned":{"type":"boolean","x-stream-index":"008"},"pinned_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"031"},"pinned_by":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"043"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"044"},"poll_id":{"type":"string","x-stream-index":"032"},"quoted_message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"045"},"quoted_message_id":{"type":"string","x-stream-index":"033"},"reaction_counts":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"021"},"reaction_groups":{"additionalProperties":{"$ref":"#/components/schemas/ReactionGroupResponse"},"type":"object","x-stream-index":"046"},"reaction_scores":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"022"},"reminder":{"$ref":"#/components/schemas/ReminderResponseData","x-stream-index":"047"},"reply_count":{"format":"int32","type":"integer","x-stream-index":"009"},"restricted_visibility":{"items":{"type":"string"},"type":"array","x-stream-index":"019"},"shadowed":{"type":"boolean","x-stream-index":"010"},"shared_location":{"$ref":"#/components/schemas/SharedLocationResponseData","x-stream-index":"048"},"show_in_channel":{"type":"boolean","x-stream-index":"034"},"silent":{"type":"boolean","x-stream-index":"011"},"text":{"type":"string","x-stream-index":"012"},"thread_participants":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","x-stream-index":"037"},"type":{"type":"string","x-stream-index":"014"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"013"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"023"}},"required":["cid","created_at","deleted_reply_count","html","id","mentioned_channel","mentioned_here","pinned","reply_count","shadowed","silent","text","updated_at","type","attachments","latest_reactions","mentioned_users","own_reactions","restricted_visibility","custom","reaction_counts","reaction_scores","user"],"type":"object"},"ModerationActionConfigResponse":{"description":"Configuration for a moderation action","nullable":true,"properties":{"action":{"description":"The action to take","title":"Action","type":"string","x-stream-index":"003"},"custom":{"additionalProperties":{},"description":"Custom data for the action","title":"Custom","type":"object","x-stream-index":"006"},"description":{"description":"Description of what this action does","title":"Description","type":"string","x-stream-index":"005"},"entity_type":{"description":"Type of entity this action applies to","title":"Entity Type","type":"string","x-stream-index":"001"},"icon":{"description":"Icon for the dashboard","title":"Icon","type":"string","x-stream-index":"004"},"order":{"description":"Display order (lower numbers shown first)","format":"int32","title":"Order","type":"integer","x-stream-index":"002"},"queue_type":{"description":"Queue type this action config belongs to","title":"QueueType","type":"string","x-stream-index":"007"}},"required":["entity_type","order","action","icon","description"],"title":"ModerationActionConfig","type":"object"},"ModerationCheckCompletedEvent":{"description":"This event is sent when a moderation check is completed","nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"entity_id":{"description":"The ID of entity which was moderated","title":"EntityID","type":"string","x-stream-index":"002"},"entity_type":{"description":"The type of the entity which was moderated","title":"EntityType","type":"string","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"recommended_action":{"description":"The recommended action","title":"RecommendedAction","type":"string","x-stream-index":"004"},"review_queue_item_id":{"description":"The review queue item ID","title":"ReviewQueueItemID","type":"string","x-stream-index":"005"},"type":{"default":"moderation_check.completed","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom","entity_id","entity_type","recommended_action","review_queue_item_id"],"title":"ModerationCheckCompletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"ModerationConfig":{"properties":{"ai_image_config":{"$ref":"#/components/schemas/AIImageConfig","x-stream-index":"013"},"ai_image_lite_config":{"$ref":"#/components/schemas/BodyguardImageAnalysisConfig","x-stream-index":"012"},"ai_text_config":{"$ref":"#/components/schemas/AITextConfig","x-stream-index":"011"},"ai_video_config":{"$ref":"#/components/schemas/AIVideoConfig","x-stream-index":"014"},"async":{"type":"boolean","x-stream-index":"006"},"automod_platform_circumvention_config":{"$ref":"#/components/schemas/AutomodPlatformCircumventionConfig","x-stream-index":"008"},"automod_semantic_filters_config":{"$ref":"#/components/schemas/AutomodSemanticFiltersConfig","x-stream-index":"009"},"automod_toxicity_config":{"$ref":"#/components/schemas/AutomodToxicityConfig","x-stream-index":"007"},"block_list_config":{"$ref":"#/components/schemas/BlockListConfig","x-stream-index":"010"},"created_at":{"format":"date-time","type":"number","x-stream-index":"018"},"google_vision_config":{"$ref":"#/components/schemas/GoogleVisionConfig","x-stream-index":"015"},"key":{"type":"string","x-stream-index":"004"},"llm_config":{"$ref":"#/components/schemas/LLMConfig","x-stream-index":"017"},"supported_video_call_harm_types":{"items":{"type":"string"},"type":"array","x-stream-index":"021"},"team":{"type":"string","x-stream-index":"005"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"019"},"velocity_filter_config":{"$ref":"#/components/schemas/VelocityFilterConfig","x-stream-index":"016"},"video_call_rule_config":{"$ref":"#/components/schemas/VideoCallRuleConfig","x-stream-index":"020"}},"type":"object"},"ModerationCustomActionEvent":{"description":"This event is sent when a custom moderation action is executed","nullable":true,"properties":{"action_id":{"description":"The ID of the custom action that was executed","title":"ActionID","type":"string","x-stream-index":"002"},"action_options":{"additionalProperties":{},"description":"Additional options passed to the custom action","title":"ActionOptions","type":"object","x-stream-index":"003"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"message":{"$ref":"#/components/schemas/MessageResponse","description":"The message if the moderated content was a message","title":"Message","x-stream-index":"005"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"The review queue item the action was executed on","title":"ReviewQueueItem","x-stream-index":"004"},"type":{"default":"moderation.custom_action","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom","action_id","review_queue_item"],"title":"ModerationCustomActionEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"ModerationFlagResponse":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"015"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"010"},"entity_creator_id":{"type":"string","x-stream-index":"007"},"entity_id":{"type":"string","x-stream-index":"006"},"entity_type":{"type":"string","x-stream-index":"005"},"labels":{"items":{"type":"string"},"type":"array","x-stream-index":"011"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayloadResponse","x-stream-index":"008"},"reason":{"type":"string","x-stream-index":"009"},"result":{"items":{"additionalProperties":{},"type":"object"},"type":"array","x-stream-index":"012"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","x-stream-index":"014"},"review_queue_item_id":{"type":"string","x-stream-index":"013"},"type":{"type":"string","x-stream-index":"002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"016"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"004"},"user_id":{"type":"string","x-stream-index":"003"}},"required":["type","user_id","entity_type","entity_id","result","created_at","updated_at"],"type":"object"},"ModerationFlaggedEvent":{"description":"This event is sent when content is flagged for moderation","nullable":true,"properties":{"content_type":{"description":"The type of content that was flagged","title":"ContentType","type":"string","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"object_id":{"description":"The ID of the flagged content","title":"ObjectID","type":"string","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"moderation.flagged","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom","content_type","object_id"],"title":"ModerationFlaggedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"ModerationMarkReviewedEvent":{"description":"This event is sent when a moderation item is marked as reviewed","nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"003.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.007"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"The review queue item that was marked as reviewed","title":"ReviewQueueItem","x-stream-index":"001"},"message":{"$ref":"#/components/schemas/MessageResponse","description":"The message if the reviewed content was a message","title":"Message","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.004"},"type":{"default":"moderation.mark_reviewed","type":"string","x-stream-index":"003.002"}},"required":["item","type","created_at","custom"],"title":"ModerationMarkReviewedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"ModerationPayload":{"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"images":{"items":{"type":"string"},"maxItems":30,"type":"array","x-stream-index":"002"},"texts":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"videos":{"items":{"type":"string"},"type":"array","x-stream-index":"003"}},"type":"object"},"ModerationPayloadRequest":{"description":"Content payload for moderation","properties":{"custom":{"additionalProperties":{},"description":"Custom data for moderation","title":"Custom","type":"object","x-stream-index":"004"},"images":{"description":"Image URLs to moderate (max 30)","items":{"type":"string"},"maxItems":30,"title":"Images","type":"array","x-stream-index":"002"},"texts":{"description":"Text content to moderate","items":{"type":"string"},"title":"Texts","type":"array","x-stream-index":"001"},"videos":{"description":"Video URLs to moderate","items":{"type":"string"},"title":"Videos","type":"array","x-stream-index":"003"}},"title":"ModerationPayload","type":"object"},"ModerationPayloadResponse":{"description":"Content payload for moderation","properties":{"custom":{"additionalProperties":{},"description":"Custom data for moderation","title":"Custom","type":"object","x-stream-index":"004"},"images":{"description":"Image URLs to moderate","items":{"type":"string"},"title":"Images","type":"array","x-stream-index":"002"},"texts":{"description":"Text content to moderate","items":{"type":"string"},"title":"Texts","type":"array","x-stream-index":"001"},"videos":{"description":"Video URLs to moderate","items":{"type":"string"},"title":"Videos","type":"array","x-stream-index":"003"}},"title":"ModerationPayload","type":"object"},"ModerationRuleInfo":{"properties":{"description":{"type":"string","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001"},"name":{"type":"string","x-stream-index":"002"},"type":{"type":"string","x-stream-index":"003"}},"required":["id","name","type","description"],"type":"object"},"ModerationRuleV2Response":{"properties":{"action":{"$ref":"#/components/schemas/RuleBuilderAction","x-stream-index":"010"},"action_sequences":{"items":{"$ref":"#/components/schemas/CallRuleActionSequence"},"type":"array","x-stream-index":"011"},"conditions":{"items":{"$ref":"#/components/schemas/RuleBuilderCondition"},"type":"array","x-stream-index":"007"},"config_keys":{"items":{"type":"string"},"type":"array","x-stream-index":"004"},"cooldown_period":{"type":"string","x-stream-index":"012"},"created_at":{"format":"date-time","type":"number","x-stream-index":"014"},"description":{"type":"string","x-stream-index":"003"},"enabled":{"type":"boolean","x-stream-index":"013"},"groups":{"items":{"$ref":"#/components/schemas/RuleBuilderConditionGroup"},"type":"array","x-stream-index":"009"},"id":{"type":"string","x-stream-index":"001"},"logic":{"type":"string","x-stream-index":"008"},"name":{"type":"string","x-stream-index":"002"},"rule_type":{"type":"string","x-stream-index":"006"},"team":{"type":"string","x-stream-index":"005"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"015"}},"required":["id","name","description","config_keys","team","rule_type","enabled","created_at","updated_at"],"type":"object"},"ModerationRulesTriggeredEvent":{"description":"This event is sent automatically whenever a rule builder rule is triggered","nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"entity_id":{"description":"The ID of the entity that triggered the rule","title":"EntityID","type":"string","x-stream-index":"004"},"entity_type":{"description":"The type of the entity (call, user, message, etc.)","title":"EntityType","type":"string","x-stream-index":"005"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"review_queue_item_id":{"description":"The review queue item ID if applicable","title":"ReviewQueueItemID","type":"string","x-stream-index":"008"},"rule":{"$ref":"#/components/schemas/ModerationRuleInfo","description":"The rule that was triggered","title":"Rule","x-stream-index":"002"},"triggered_actions":{"description":"Array of action types that were triggered","items":{"type":"string"},"title":"TriggeredActions","type":"array","x-stream-index":"007"},"type":{"default":"moderation_rule.triggered","type":"string","x-stream-index":"001.002"},"user_id":{"description":"The ID of the user who triggered the rule","title":"UserID","type":"string","x-stream-index":"006"},"violation_number":{"description":"The violation number for call rules (optional)","format":"int32","title":"ViolationNumber","type":"integer","x-stream-index":"003"}},"required":["type","created_at","custom","rule","entity_id","entity_type","user_id","triggered_actions"],"title":"ModerationRulesTriggeredEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"ModerationV2Response":{"properties":{"action":{"type":"string","x-stream-index":"001"},"blocklist_matched":{"type":"string","x-stream-index":"003"},"blocklists_matched":{"items":{"type":"string"},"type":"array","x-stream-index":"006"},"image_harms":{"items":{"type":"string"},"type":"array","x-stream-index":"007"},"original_text":{"type":"string","x-stream-index":"002"},"platform_circumvented":{"type":"boolean","x-stream-index":"004"},"semantic_filter_matched":{"type":"string","x-stream-index":"005"},"text_harms":{"items":{"type":"string"},"type":"array","x-stream-index":"008"}},"required":["action","original_text"],"type":"object"},"MuteRequest":{"nullable":true,"properties":{"target_ids":{"description":"User IDs to mute (if multiple users)","items":{"type":"string"},"title":"Target IDs","type":"array","x-stream-index":"001"},"timeout":{"description":"Duration of mute in minutes","minimum":0,"title":"Timeout","type":"integer","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"003.002"},"user_id":{"type":"string","x-stream-index":"003.001"}},"required":["target_ids"],"title":"MuteRequest","type":"object"},"MuteResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"004.001"},"mutes":{"description":"Object with mutes (if multiple users were muted)","items":{"$ref":"#/components/schemas/UserMuteResponse"},"title":"Mutes","type":"array","x-stream-index":"001"},"non_existing_users":{"description":"A list of users that can't be found. Common cause for this is deleted users","items":{"type":"string"},"title":"Non Existing Users","type":"array","x-stream-index":"003"},"own_user":{"$ref":"#/components/schemas/OwnUserResponse","description":"Authorized user object with fresh mutes information","title":"Own User","x-stream-index":"002"}},"required":["duration"],"title":"MuteResponse","type":"object"},"NoiseCancellationSettings":{"properties":{"mode":{"type":"string","x-stream-index":"001"}},"required":["mode"],"type":"object"},"OCRRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"}},"required":["label","action"],"type":"object"},"OwnUserResponse":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.018"},"banned":{"type":"boolean","x-stream-index":"001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"016"},"channel_mutes":{"items":{"$ref":"#/components/schemas/ChannelMute"},"type":"array","x-stream-index":"007"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"001.016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.011"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"title":"Devices","type":"array","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001.001"},"image":{"type":"string","x-stream-index":"001.003"},"invisible":{"type":"boolean","x-stream-index":"005"},"language":{"type":"string","x-stream-index":"001.005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"001.014"},"latest_hidden_channels":{"items":{"type":"string"},"type":"array","x-stream-index":"013"},"mutes":{"items":{"$ref":"#/components/schemas/UserMuteResponse"},"type":"array","x-stream-index":"006"},"name":{"type":"string","x-stream-index":"001.002"},"online":{"type":"boolean","x-stream-index":"001.013"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"003"},"push_preferences":{"$ref":"#/components/schemas/PushPreferencesResponse","x-stream-index":"002"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"001.015"},"role":{"type":"string","x-stream-index":"001.006"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.008"},"total_unread_count":{"format":"int32","type":"integer","x-stream-index":"009"},"total_unread_count_by_team":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"010"},"unread_channels":{"format":"int32","type":"integer","x-stream-index":"011"},"unread_count":{"format":"int32","type":"integer","x-stream-index":"008"},"unread_threads":{"format":"int32","type":"integer","x-stream-index":"012"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","devices","invisible","mutes","channel_mutes","unread_count","total_unread_count","unread_channels","unread_threads"],"type":"object"},"PollOptionResponseData":{"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"001"},"text":{"type":"string","x-stream-index":"002"}},"required":["id","text","custom"],"type":"object"},"PollResponseData":{"properties":{"allow_answers":{"type":"boolean","x-stream-index":"001"},"allow_user_suggested_options":{"type":"boolean","x-stream-index":"002"},"answers_count":{"format":"int32","type":"integer","x-stream-index":"003"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"004"},"created_by":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"021"},"created_by_id":{"type":"string","x-stream-index":"005"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"016"},"description":{"type":"string","x-stream-index":"006"},"enforce_unique_vote":{"type":"boolean","x-stream-index":"007"},"id":{"type":"string","x-stream-index":"008"},"is_closed":{"type":"boolean","x-stream-index":"019"},"latest_answers":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array","x-stream-index":"013"},"latest_votes_by_option":{"additionalProperties":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array"},"type":"object","x-stream-index":"017"},"max_votes_allowed":{"format":"int32","type":"integer","x-stream-index":"020"},"name":{"type":"string","x-stream-index":"009"},"options":{"items":{"$ref":"#/components/schemas/PollOptionResponseData"},"type":"array","x-stream-index":"014"},"own_votes":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array","x-stream-index":"015"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"010"},"vote_count":{"format":"int32","type":"integer","x-stream-index":"011"},"vote_counts_by_option":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"018"},"voting_visibility":{"type":"string","x-stream-index":"012"}},"required":["allow_answers","allow_user_suggested_options","answers_count","created_at","created_by_id","description","enforce_unique_vote","id","name","updated_at","vote_count","voting_visibility","latest_answers","options","own_votes","custom","latest_votes_by_option","vote_counts_by_option"],"type":"object"},"PollVoteResponseData":{"properties":{"answer_text":{"type":"string","x-stream-index":"006"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"001"},"id":{"type":"string","x-stream-index":"002"},"is_answer":{"type":"boolean","x-stream-index":"007"},"option_id":{"type":"string","x-stream-index":"003"},"poll_id":{"type":"string","x-stream-index":"004"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"009"},"user_id":{"type":"string","x-stream-index":"008"}},"required":["created_at","id","option_id","poll_id","updated_at"],"type":"object"},"PrivacySettingsResponse":{"properties":{"delivery_receipts":{"$ref":"#/components/schemas/DeliveryReceiptsResponse","x-stream-index":"003"},"read_receipts":{"$ref":"#/components/schemas/ReadReceiptsResponse","x-stream-index":"002"},"typing_indicators":{"$ref":"#/components/schemas/TypingIndicatorsResponse","x-stream-index":"001"}},"type":"object"},"PushNotificationSettingsResponse":{"properties":{"disabled":{"type":"boolean","x-stream-index":"001"},"disabled_until":{"format":"date-time","type":"number","x-stream-index":"002"}},"type":"object"},"PushPreferencesResponse":{"properties":{"call_level":{"type":"string","x-stream-index":"003"},"chat_level":{"type":"string","x-stream-index":"001"},"chat_preferences":{"$ref":"#/components/schemas/ChatPreferencesResponse","x-stream-index":"002"},"disabled_until":{"format":"date-time","type":"number","x-stream-index":"006"},"feeds_level":{"type":"string","x-stream-index":"004"},"feeds_preferences":{"$ref":"#/components/schemas/FeedsPreferencesResponse","x-stream-index":"005"}},"type":"object"},"QueryAppealsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for appeals","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for appeals","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"004.002"},"user_id":{"type":"string","x-stream-index":"004.001"}},"type":"object"},"QueryAppealsResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"items":{"description":"List of Appeal Items","items":{"$ref":"#/components/schemas/AppealItemResponse"},"title":"Items","type":"array","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["items","duration"],"type":"object"},"QueryFeedModerationTemplate":{"properties":{"config":{"$ref":"#/components/schemas/FeedsModerationTemplateConfigPayload","description":"Configuration for the moderation template","title":"Config","x-stream-index":"002"},"created_at":{"description":"When the template was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"003"},"name":{"description":"Name of the moderation template","title":"Name","type":"string","x-stream-index":"001"},"updated_at":{"description":"When the template was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"004"}},"required":["name","created_at","updated_at"],"type":"object"},"QueryFeedModerationTemplatesResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"templates":{"description":"List of moderation templates","items":{"$ref":"#/components/schemas/QueryFeedModerationTemplate"},"title":"Templates","type":"array","x-stream-index":"001"}},"required":["templates","duration"],"type":"object"},"QueryModerationConfigsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for moderation configs","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the results","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"004.002"},"user_id":{"type":"string","x-stream-index":"004.001"}},"type":"object"},"QueryModerationConfigsResponse":{"nullable":true,"properties":{"configs":{"description":"List of moderation configurations","items":{"$ref":"#/components/schemas/ConfigResponse"},"title":"Configs","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["configs","duration"],"type":"object"},"QueryModerationFlagsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"items":{"$ref":"#/components/schemas/SortParamRequest"},"type":"array","x-stream-index":"002"}},"type":"object"},"QueryModerationFlagsResponse":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"flags":{"items":{"$ref":"#/components/schemas/ModerationFlagResponse"},"type":"array","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["flags","duration"],"title":"Response","type":"object"},"QueryModerationLogsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for moderation logs","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the results","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"004.002"},"user_id":{"type":"string","x-stream-index":"004.001"}},"type":"object"},"QueryModerationLogsResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"logs":{"description":"List of moderation action logs","items":{"$ref":"#/components/schemas/ActionLogResponse"},"title":"Logs","type":"array","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["logs","duration"],"type":"object"},"QueryModerationRulesRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for moderation rules","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the results","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"004.002"},"user_id":{"type":"string","x-stream-index":"004.001"}},"type":"object"},"QueryModerationRulesResponse":{"nullable":true,"properties":{"ai_image_label_definitions":{"description":"AI image label definitions with metadata for dashboard rendering","items":{"$ref":"#/components/schemas/AIImageLabelDefinition"},"title":"AIImageLabelDefinitions","type":"array","x-stream-index":"006"},"ai_image_subclassifications":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Stream L1 to leaf-level label name mapping for AI image rules","title":"AIImageSubclassifications","type":"object","x-stream-index":"007"},"closed_caption_labels":{"description":"Available harm labels for closed caption rules","items":{"type":"string"},"title":"ClosedCaptionLabels","type":"array","x-stream-index":"005"},"default_llm_labels":{"additionalProperties":{"type":"string"},"description":"Default LLM label descriptions","title":"DefaultLLMLabels","type":"object","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"009.001"},"keyframe_label_classifications":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"L1 to L2 mapping of keyframe harm label classifications","title":"KeyframeLabelClassifications","type":"object","x-stream-index":"004"},"keyframe_labels":{"description":"Deprecated: use keyframe_label_classifications instead. Available L1 harm labels for keyframe rules","items":{"type":"string"},"title":"KeyframeLabels","type":"array","x-stream-index":"003"},"next":{"type":"string","x-stream-index":"008.001"},"prev":{"type":"string","x-stream-index":"008.002"},"rules":{"description":"List of moderation rules","items":{"$ref":"#/components/schemas/ModerationRuleV2Response"},"title":"Rules","type":"array","x-stream-index":"001"}},"required":["rules","default_llm_labels","keyframe_labels","keyframe_label_classifications","closed_caption_labels","ai_image_label_definitions","ai_image_subclassifications","duration"],"type":"object"},"QueryReviewQueueRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for review queue items","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"007.001"},"lock_count":{"description":"Number of items to lock (1-25)","format":"int32","maximum":25,"minimum":1,"title":"Lock Count","type":"integer","x-stream-index":"005"},"lock_duration":{"description":"Duration for which items should be locked","title":"Lock Duration","type":"integer","x-stream-index":"004"},"lock_items":{"description":"Whether to lock items for review (true), unlock items (false), or just fetch (nil)","title":"Lock Items","type":"boolean","x-stream-index":"003"},"next":{"type":"string","x-stream-index":"007.002"},"prev":{"type":"string","x-stream-index":"007.003"},"sort":{"description":"Sorting parameters for the results","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"},"stats_only":{"description":"Whether to return only statistics","title":"Stats Only","type":"boolean","x-stream-index":"006"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"008.002"},"user_id":{"type":"string","x-stream-index":"008.001"}},"type":"object"},"QueryReviewQueueResponse":{"nullable":true,"properties":{"action_config":{"additionalProperties":{"items":{"$ref":"#/components/schemas/ModerationActionConfigResponse"},"type":"array"},"description":"Configuration for moderation actions","title":"Action Config","type":"object","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"006.001"},"filter_config":{"$ref":"#/components/schemas/FilterConfigResponse","description":"Configuration for filters in moderation review queue","title":"Filter Config","x-stream-index":"003"},"items":{"description":"List of review queue items","items":{"$ref":"#/components/schemas/ReviewQueueItemResponse"},"title":"Items","type":"array","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"005.001"},"prev":{"type":"string","x-stream-index":"005.002"},"stats":{"additionalProperties":{},"description":"Statistics about the review queue","title":"Stats","type":"object","x-stream-index":"004"}},"required":["items","action_config","stats","duration"],"type":"object"},"RTMPIngress":{"properties":{"address":{"type":"string","x-stream-index":"001"}},"required":["address"],"type":"object"},"RTMPSettingsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"},"layout":{"$ref":"#/components/schemas/LayoutSettingsResponse","x-stream-index":"003"},"quality":{"type":"string","x-stream-index":"002"}},"required":["enabled","quality","layout"],"type":"object"},"RawRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"RawRecordingSettingsResponse":{"properties":{"mode":{"type":"string","x-stream-index":"001"}},"required":["mode"],"type":"object"},"Reaction":{"properties":{"activity_id":{"type":"string","x-stream-index":"001.003"},"children_counts":{"additionalProperties":{},"type":"object","x-stream-index":"005"},"created_at":{"format":"date-time","type":"number","x-stream-index":"006"},"data":{"additionalProperties":{},"type":"object","x-stream-index":"001.005"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"008"},"id":{"type":"string","x-stream-index":"001.001"},"kind":{"type":"string","x-stream-index":"001.002"},"latest_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/Reaction"},"type":"array"},"type":"object","x-stream-index":"003"},"moderation":{"additionalProperties":{},"type":"object","x-stream-index":"010"},"own_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/Reaction"},"type":"array"},"type":"object","x-stream-index":"004"},"parent":{"type":"string","x-stream-index":"001.008"},"score":{"format":"float","type":"number","x-stream-index":"009"},"target_feeds":{"items":{"type":"string"},"type":"array","x-stream-index":"001.006"},"target_feeds_extra_data":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"007"},"user":{"$ref":"#/components/schemas/User","x-stream-index":"002"},"user_id":{"type":"string","x-stream-index":"001.004"}},"required":["kind","activity_id","user_id","created_at","updated_at"],"type":"object"},"ReactionGroupResponse":{"nullable":true,"properties":{"count":{"format":"int32","type":"integer","x-stream-index":"001"},"first_reaction_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"002"},"last_reaction_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"003"},"sum_scores":{"format":"int32","type":"integer","x-stream-index":"004"}},"required":["count","first_reaction_at","last_reaction_at","sum_scores"],"type":"object"},"ReactionResponse":{"properties":{"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"001"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"007"},"message_id":{"type":"string","x-stream-index":"002"},"score":{"format":"int32","type":"integer","x-stream-index":"003"},"type":{"type":"string","x-stream-index":"006"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"004"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"008"},"user_id":{"type":"string","x-stream-index":"005"}},"required":["created_at","message_id","score","updated_at","user_id","type","custom","user"],"type":"object"},"ReadReceiptsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"RecordSettingsResponse":{"properties":{"audio_only":{"type":"boolean","x-stream-index":"001"},"layout":{"$ref":"#/components/schemas/LayoutSettingsResponse","x-stream-index":"004"},"mode":{"type":"string","x-stream-index":"002"},"quality":{"type":"string","x-stream-index":"003"}},"required":["audio_only","mode","quality","layout"],"type":"object"},"RejectAppealRequestPayload":{"description":"Configuration for rejecting an appeal","properties":{"decision_reason":{"description":"Reason for rejecting the appeal","title":"Decision Reason","type":"string","x-stream-index":"001"}},"required":["decision_reason"],"title":"RejectAppealRequest","type":"object"},"ReminderResponseData":{"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"007"},"channel_cid":{"type":"string","x-stream-index":"001"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"002"},"message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"008"},"message_id":{"type":"string","x-stream-index":"003"},"remind_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"006"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"004"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"009"},"user_id":{"type":"string","x-stream-index":"005"}},"required":["channel_cid","created_at","message_id","updated_at","user_id"],"type":"object"},"RestoreActionRequestPayload":{"description":"Configuration for restore action","properties":{"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"001"}},"title":"RestoreActionRequest","type":"object"},"ReviewQueueItemNewEvent":{"description":"This event is sent when a new moderation review queue item is created","nullable":true,"properties":{"action":{"$ref":"#/components/schemas/ActionLogResponse","description":"The action log if any action was taken","title":"Action","x-stream-index":"004"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"flags":{"description":"The flags associated with this review queue item","items":{"$ref":"#/components/schemas/ModerationFlagResponse"},"title":"Flags","type":"array","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"The review queue item that was created","title":"ReviewQueueItem","x-stream-index":"002"},"type":{"default":"review_queue_item.new","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom"],"title":"ReviewQueueItemNewEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"ReviewQueueItemResponse":{"properties":{"actions":{"description":"Moderation actions taken","items":{"$ref":"#/components/schemas/ActionLogResponse"},"title":"Actions","type":"array","x-stream-index":"025"},"activity":{"$ref":"#/components/schemas/EnrichedActivity","x-stream-index":"017"},"ai_text_severity":{"description":"AI-determined text severity","title":"AI Text Severity","type":"string","x-stream-index":"014"},"appeal":{"$ref":"#/components/schemas/AppealItemResponse","description":"Appeal submitted for this item if it exists","title":"Appeal","x-stream-index":"026"},"assigned_to":{"$ref":"#/components/schemas/UserResponse","description":"Moderator assigned to review this item","title":"Assigned To","x-stream-index":"022"},"bans":{"description":"Associated ban records","items":{"$ref":"#/components/schemas/BanInfoResponse"},"title":"Bans","type":"array","x-stream-index":"023"},"call":{"$ref":"#/components/schemas/CallResponse","x-stream-index":"019"},"completed_at":{"description":"When the review was completed","format":"date-time","title":"Completed At","type":"number","x-stream-index":"009"},"config_key":{"type":"string","x-stream-index":"032"},"created_at":{"description":"When the item was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"002"},"entity_creator":{"$ref":"#/components/schemas/EntityCreatorResponse","description":"Details about who created the entity","title":"Entity Creator","x-stream-index":"020"},"entity_creator_id":{"description":"ID of who created the entity","title":"Entity Creator ID","type":"string","x-stream-index":"021"},"entity_id":{"description":"ID of the entity being reviewed","title":"Entity ID","type":"string","x-stream-index":"005"},"entity_type":{"description":"Type of entity being reviewed","title":"Entity Type","type":"string","x-stream-index":"004"},"escalated":{"description":"Whether the item has been escalated","title":"Escalated","type":"boolean","x-stream-index":"034"},"escalated_at":{"description":"When the item was escalated","format":"date-time","title":"Escalated At","type":"number","x-stream-index":"037"},"escalated_by":{"description":"ID of the moderator who escalated the item","title":"Escalated By","type":"string","x-stream-index":"036"},"escalation_metadata":{"$ref":"#/components/schemas/EscalationMetadata","description":"Escalation details including reason, notes, and priority","title":"Escalation Metadata","x-stream-index":"035"},"feeds_v2_activity":{"$ref":"#/components/schemas/EnrichedActivity","description":"Associated feed activity","title":"Feeds V2 Activity","x-stream-index":"027"},"feeds_v2_reaction":{"$ref":"#/components/schemas/Reaction","description":"Associated feed reaction","title":"Feeds V2 Reaction","x-stream-index":"028"},"feeds_v3_activity":{"$ref":"#/components/schemas/FeedsV3ActivityResponse","x-stream-index":"029"},"feeds_v3_comment":{"$ref":"#/components/schemas/FeedsV3CommentResponse","x-stream-index":"030"},"flags":{"description":"Associated flag records","items":{"$ref":"#/components/schemas/ModerationFlagResponse"},"title":"Flags","type":"array","x-stream-index":"024"},"flags_count":{"format":"int32","type":"integer","x-stream-index":"033"},"id":{"description":"Unique identifier of the review queue item","title":"ID","type":"string","x-stream-index":"001"},"languages":{"description":"Detected languages in the content","items":{"type":"string"},"title":"Languages","type":"array","x-stream-index":"012"},"latest_moderator_action":{"type":"string","x-stream-index":"015"},"message":{"$ref":"#/components/schemas/MessageResponse","description":"Associated message details","title":"Message","x-stream-index":"016"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayloadResponse","description":"Content being moderated","title":"Moderation Payload","x-stream-index":"006"},"reaction":{"$ref":"#/components/schemas/Reaction","x-stream-index":"018"},"recommended_action":{"description":"Suggested moderation action","title":"Recommended Action","type":"string","x-stream-index":"008"},"reviewed_at":{"description":"When the item was reviewed","format":"date-time","title":"Reviewed At","type":"number","x-stream-index":"010"},"reviewed_by":{"description":"ID of the moderator who reviewed the item","title":"Reviewed By","type":"string","x-stream-index":"011"},"severity":{"description":"Severity level of the content","format":"int32","title":"Severity","type":"integer","x-stream-index":"013"},"status":{"description":"Current status of the review","title":"Status","type":"string","x-stream-index":"007"},"teams":{"description":"Teams associated with this item","items":{"type":"string"},"title":"Teams","type":"array","x-stream-index":"031"},"updated_at":{"description":"When the item was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"003"}},"required":["id","created_at","updated_at","entity_type","entity_id","status","recommended_action","reviewed_by","languages","severity","ai_text_severity","latest_moderator_action","bans","flags","actions","flags_count","escalated"],"type":"object"},"ReviewQueueItemUpdatedEvent":{"description":"This event is sent when a moderation review queue item is updated","nullable":true,"properties":{"action":{"$ref":"#/components/schemas/ActionLogResponse","description":"The action log if any action was taken","title":"Action","x-stream-index":"004"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"flags":{"description":"The flags associated with this review queue item","items":{"$ref":"#/components/schemas/ModerationFlagResponse"},"title":"Flags","type":"array","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"The review queue item that was updated","title":"ReviewQueueItem","x-stream-index":"002"},"type":{"default":"review_queue_item.updated","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom"],"title":"ReviewQueueItemUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-ws-base-event-name":"VideoEvent"},"RingSettingsResponse":{"properties":{"auto_cancel_timeout_ms":{"format":"int32","type":"integer","x-stream-index":"001"},"incoming_call_timeout_ms":{"format":"int32","type":"integer","x-stream-index":"002"},"missed_call_timeout_ms":{"format":"int32","type":"integer","x-stream-index":"003"}},"required":["auto_cancel_timeout_ms","incoming_call_timeout_ms","missed_call_timeout_ms"],"type":"object"},"RuleBuilderAction":{"properties":{"ban_options":{"$ref":"#/components/schemas/BanOptions","x-stream-index":"002"},"call_options":{"$ref":"#/components/schemas/CallActionOptions","x-stream-index":"004"},"flag_user_options":{"$ref":"#/components/schemas/FlagUserOptions","x-stream-index":"003"},"skip_inbox":{"type":"boolean","x-stream-index":"005"},"type":{"enum":["ban_user","flag_user","flag_content","block_content","shadow_content","bounce_flag_content","bounce_content","bounce_remove_content","mute_video","mute_audio","blur","call_blur","end_call","kick_user","warning","call_warning","webhook_only"],"type":"string","x-stream-index":"001"}},"type":"object"},"RuleBuilderCondition":{"properties":{"call_custom_property_params":{"$ref":"#/components/schemas/CallCustomPropertyParameters","x-stream-index":"020"},"call_type_rule_params":{"$ref":"#/components/schemas/CallTypeRuleParameters","x-stream-index":"019"},"call_violation_count_params":{"$ref":"#/components/schemas/CallViolationCountParameters","x-stream-index":"021"},"closed_caption_rule_params":{"$ref":"#/components/schemas/ClosedCaptionRuleParameters","x-stream-index":"018"},"confidence":{"format":"float","type":"number","x-stream-index":"002"},"content_count_rule_params":{"$ref":"#/components/schemas/ContentCountRuleParameters","x-stream-index":"007"},"content_flag_count_rule_params":{"$ref":"#/components/schemas/FlagCountRuleParameters","x-stream-index":"009"},"image_content_params":{"$ref":"#/components/schemas/ImageContentParameters","x-stream-index":"012"},"image_rule_params":{"$ref":"#/components/schemas/ImageRuleParameters","x-stream-index":"004"},"keyframe_rule_params":{"$ref":"#/components/schemas/KeyframeRuleParameters","x-stream-index":"017"},"text_content_params":{"$ref":"#/components/schemas/TextContentParameters","x-stream-index":"011"},"text_rule_params":{"$ref":"#/components/schemas/TextRuleParameters","x-stream-index":"003"},"type":{"type":"string","x-stream-index":"001"},"user_created_within_params":{"$ref":"#/components/schemas/UserCreatedWithinParameters","x-stream-index":"014"},"user_custom_property_params":{"$ref":"#/components/schemas/UserCustomPropertyParameters","x-stream-index":"015"},"user_flag_count_rule_params":{"$ref":"#/components/schemas/FlagCountRuleParameters","x-stream-index":"008"},"user_identical_content_count_params":{"$ref":"#/components/schemas/UserIdenticalContentCountParameters","x-stream-index":"010"},"user_role_params":{"$ref":"#/components/schemas/UserRoleParameters","x-stream-index":"016"},"user_rule_params":{"$ref":"#/components/schemas/UserRuleParameters","x-stream-index":"006"},"video_content_params":{"$ref":"#/components/schemas/VideoContentParameters","x-stream-index":"013"},"video_rule_params":{"$ref":"#/components/schemas/VideoRuleParameters","x-stream-index":"005"}},"type":"object"},"RuleBuilderConditionGroup":{"properties":{"conditions":{"items":{"$ref":"#/components/schemas/RuleBuilderCondition"},"type":"array","x-stream-index":"002"},"logic":{"type":"string","x-stream-index":"001"}},"type":"object"},"RuleBuilderConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"rules":{"items":{"$ref":"#/components/schemas/RuleBuilderRule"},"type":"array","x-stream-index":"002"}},"type":"object"},"RuleBuilderRule":{"properties":{"action":{"$ref":"#/components/schemas/RuleBuilderAction","x-stream-index":"006"},"action_sequences":{"items":{"$ref":"#/components/schemas/CallRuleActionSequence"},"type":"array","x-stream-index":"007"},"conditions":{"items":{"$ref":"#/components/schemas/RuleBuilderCondition"},"type":"array","x-stream-index":"003"},"cooldown_period":{"type":"string","x-stream-index":"008"},"groups":{"items":{"$ref":"#/components/schemas/RuleBuilderConditionGroup"},"type":"array","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"logic":{"type":"string","x-stream-index":"004"},"rule_type":{"type":"string","x-stream-index":"002"}},"required":["rule_type"],"type":"object"},"SRTIngress":{"properties":{"address":{"type":"string","x-stream-index":"001"}},"required":["address"],"type":"object"},"ScreensharingSettingsResponse":{"properties":{"access_request_enabled":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"target_resolution":{"$ref":"#/components/schemas/TargetResolution","x-stream-index":"003"}},"required":["access_request_enabled","enabled"],"type":"object"},"SessionSettingsResponse":{"properties":{"inactivity_timeout_seconds":{"format":"int32","type":"integer","x-stream-index":"001"}},"required":["inactivity_timeout_seconds"],"type":"object"},"ShadowBlockActionRequestPayload":{"description":"Configuration for shadow block action","properties":{"reason":{"description":"Reason for shadow blocking","title":"Reason","type":"string","x-stream-index":"001"}},"title":"ShadowBlockActionRequest","type":"object"},"SharedLocationResponseData":{"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"010"},"channel_cid":{"type":"string","x-stream-index":"001"},"created_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"002"},"created_by_device_id":{"type":"string","x-stream-index":"003"},"end_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"009"},"latitude":{"format":"float","type":"number","x-stream-index":"004"},"longitude":{"format":"float","type":"number","x-stream-index":"005"},"message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"011"},"message_id":{"type":"string","x-stream-index":"006"},"updated_at":{"$ref":"#/components/schemas/Timestamp","x-stream-index":"007"},"user_id":{"type":"string","x-stream-index":"008"}},"required":["channel_cid","created_at","created_by_device_id","latitude","longitude","message_id","updated_at","user_id"],"type":"object"},"SortParamRequest":{"nullable":true,"properties":{"direction":{"description":"Direction of sorting, 1 for Ascending, -1 for Descending, default is 1. One of: -1, 1","format":"int32","title":"Direction","type":"integer","x-stream-index":"003"},"field":{"description":"Name of field to sort by","title":"Field","type":"string","x-stream-index":"001"},"type":{"description":"Type of field to sort by. Empty string or omitted means string type (default). One of: number, boolean","title":"Type","type":"string","x-stream-index":"002"}},"type":"object"},"SpeechSegmentConfig":{"properties":{"max_speech_caption_ms":{"format":"int32","type":"integer","x-stream-index":"001"},"silence_duration_ms":{"format":"int32","type":"integer","x-stream-index":"002"}},"type":"object"},"SubmitActionRequest":{"nullable":true,"properties":{"action_type":{"description":"Type of moderation action to perform. One of: mark_reviewed, delete_message, delete_activity, delete_comment, delete_reaction, ban, custom, unban, restore, delete_user, unblock, block, shadow_block, unmask, kick_user, end_call, escalate, de_escalate","enum":["flag","mark_reviewed","delete_message","delete_activity","delete_comment","delete_reaction","ban","custom","unban","restore","delete_user","unblock","block","shadow_block","unmask","kick_user","end_call","reject_appeal","escalate","de_escalate","bypass"],"title":"Action Type","type":"string","x-stream-index":"002"},"appeal_id":{"description":"UUID of the appeal to act on (required for reject_appeal, optional for other actions)","title":"Appeal ID","type":"string","x-stream-index":"003"},"ban":{"$ref":"#/components/schemas/BanActionRequestPayload","description":"Configuration for ban action","title":"Ban","x-stream-index":"010"},"block":{"$ref":"#/components/schemas/BlockActionRequestPayload","description":"Configuration for block action","title":"Block","x-stream-index":"015"},"bypass":{"$ref":"#/components/schemas/BypassActionRequest","description":"Configuration for bypass moderation action","title":"Bypass","x-stream-index":"019"},"custom":{"$ref":"#/components/schemas/CustomActionRequestPayload","description":"Configuration for custom action","title":"Custom","x-stream-index":"011"},"delete_activity":{"$ref":"#/components/schemas/DeleteActivityRequestPayload","description":"Configuration for activity deletion action","title":"Delete Activity","x-stream-index":"005"},"delete_comment":{"$ref":"#/components/schemas/DeleteCommentRequestPayload","description":"Configuration for comment deletion action","title":"Delete Comment","x-stream-index":"006"},"delete_message":{"$ref":"#/components/schemas/DeleteMessageRequestPayload","description":"Configuration for message deletion action","title":"Delete Message","x-stream-index":"004"},"delete_reaction":{"$ref":"#/components/schemas/DeleteReactionRequestPayload","description":"Configuration for reaction deletion action","title":"Delete Reaction","x-stream-index":"007"},"delete_user":{"$ref":"#/components/schemas/DeleteUserRequestPayload","description":"Configuration for user deletion action","title":"Delete User","x-stream-index":"008"},"escalate":{"$ref":"#/components/schemas/EscalatePayload","description":"Configuration for escalation action","title":"Escalate","x-stream-index":"022"},"flag":{"$ref":"#/components/schemas/FlagRequest","description":"Configuration for flag action","title":"Flag","x-stream-index":"021"},"item_id":{"description":"UUID of the review queue item to act on","title":"Item ID","type":"string","x-stream-index":"001"},"mark_reviewed":{"$ref":"#/components/schemas/MarkReviewedRequestPayload","description":"Configuration for marking item as reviewed","title":"Mark Reviewed","x-stream-index":"009"},"reject_appeal":{"$ref":"#/components/schemas/RejectAppealRequestPayload","description":"Configuration for rejecting an appeal","title":"Reject Appeal","x-stream-index":"020"},"restore":{"$ref":"#/components/schemas/RestoreActionRequestPayload","description":"Configuration for restore action","title":"Restore","x-stream-index":"013"},"shadow_block":{"$ref":"#/components/schemas/ShadowBlockActionRequestPayload","description":"Configuration for shadow block action","title":"Shadow Block","x-stream-index":"016"},"unban":{"$ref":"#/components/schemas/UnbanActionRequestPayload","description":"Configuration for unban action","title":"Unban","x-stream-index":"012"},"unblock":{"$ref":"#/components/schemas/UnblockActionRequestPayload","description":"Configuration for unblock action","title":"Unblock","x-stream-index":"014"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"023.002"},"user_id":{"type":"string","x-stream-index":"023.001"}},"required":["action_type"],"type":"object"},"SubmitActionResponse":{"nullable":true,"properties":{"appeal_item":{"$ref":"#/components/schemas/AppealItemResponse","description":"Updated Appeal item after action was performed","title":"Appeal Item","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"003.001"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Updated review queue item after action was performed","title":"Item","x-stream-index":"001"}},"required":["duration"],"type":"object"},"TargetResolution":{"properties":{"bitrate":{"format":"int32","type":"integer","x-stream-index":"001"},"height":{"format":"int32","type":"integer","x-stream-index":"002"},"width":{"format":"int32","type":"integer","x-stream-index":"003"}},"required":["bitrate","height","width"],"type":"object"},"TextContentParameters":{"properties":{"blocklist_match":{"items":{"type":"string"},"type":"array","x-stream-index":"005"},"contains_url":{"type":"boolean","x-stream-index":"003"},"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"label_operator":{"type":"string","x-stream-index":"006"},"llm_harm_labels":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"002"},"severity":{"type":"string","x-stream-index":"004"}},"type":"object"},"TextRuleParameters":{"properties":{"blocklist_match":{"items":{"type":"string"},"type":"array","x-stream-index":"007"},"contains_url":{"type":"boolean","x-stream-index":"005"},"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"llm_harm_labels":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"004"},"semantic_filter_min_threshold":{"format":"float","type":"number","x-stream-index":"009"},"semantic_filter_names":{"items":{"type":"string"},"type":"array","x-stream-index":"008"},"severity":{"type":"string","x-stream-index":"006"},"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"Thresholds":{"description":"Sets thresholds for AI moderation","properties":{"explicit":{"$ref":"#/components/schemas/LabelThresholds","description":"Thresholds for explicit messages","title":"LabelThresholds","x-stream-index":"001"},"spam":{"$ref":"#/components/schemas/LabelThresholds","description":"Thresholds for spam","title":"LabelThresholds","x-stream-index":"002"},"toxic":{"$ref":"#/components/schemas/LabelThresholds","description":"Thresholds for toxic messages","title":"LabelThresholds","x-stream-index":"003"}},"title":"Auto moderation thresholds","type":"object"},"ThumbnailResponse":{"properties":{"image_url":{"type":"string","x-stream-index":"001"}},"required":["image_url"],"type":"object"},"ThumbnailsSettingsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"required":["enabled"],"type":"object"},"Time":{"type":"object"},"Timestamp":{"properties":{"Time":{"format":"date-time","type":"number","writeOnly":true,"x-stream-index":"001"}},"type":"object"},"TranscriptionSettingsResponse":{"properties":{"closed_caption_mode":{"type":"string","x-stream-index":"001"},"language":{"type":"string","x-stream-index":"002"},"mode":{"type":"string","x-stream-index":"003"},"speech_segment_config":{"$ref":"#/components/schemas/SpeechSegmentConfig","x-stream-index":"004"},"translation":{"$ref":"#/components/schemas/TranslationSettings","x-stream-index":"005"}},"required":["closed_caption_mode","language","mode"],"type":"object"},"TranslationSettings":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"},"languages":{"items":{"type":"string"},"type":"array","x-stream-index":"002"}},"required":["enabled","languages"],"type":"object"},"TriggeredRuleResponse":{"properties":{"actions":{"description":"Action types resolved from the rule's action sequence","items":{"type":"string"},"title":"Actions","type":"array","x-stream-index":"001"},"call_options":{"$ref":"#/components/schemas/CallActionOptions","description":"Options for call actions (mute settings, warning text, kick reason)","title":"Call Options","x-stream-index":"002"},"rule_id":{"description":"ID of the moderation rule that triggered","title":"Rule ID","type":"string","x-stream-index":"003"},"rule_name":{"description":"Name of the moderation rule that triggered","title":"Rule Name","type":"string","x-stream-index":"004"},"violation_number":{"description":"Violation count for action sequence rules (1-based)","format":"int32","title":"Violation Number","type":"integer","x-stream-index":"005"}},"required":["actions","rule_id"],"type":"object"},"TypingIndicatorsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"UnbanActionRequestPayload":{"description":"Configuration for unban moderation action","properties":{"channel_cid":{"description":"Channel CID for channel-specific unban","title":"Channel CID","type":"string","x-stream-index":"001"},"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"002"},"remove_future_channels_ban":{"description":"Also remove the future channels ban for this user","title":"Remove Future Channels Ban","type":"boolean","x-stream-index":"003"}},"title":"UnbanActionRequest","type":"object"},"UnbanRequest":{"nullable":true,"properties":{"unbanned_by":{"$ref":"#/components/schemas/UserRequest","description":"Details about the user performing the unban","title":"Unbanned By","x-stream-index":"005"},"unbanned_by_id":{"description":"ID of the user performing the unban","title":"Unbanned By ID","type":"string","x-stream-index":"004"}},"type":"object"},"UnbanResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"UnblockActionRequestPayload":{"description":"Configuration for unblock action","properties":{"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"001"}},"title":"UnblockActionRequest","type":"object"},"UnmuteRequest":{"nullable":true,"properties":{"target_ids":{"description":"User IDs to unmute","items":{"type":"string"},"title":"Target IDs","type":"array","x-stream-index":"001"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"002.002"},"user_id":{"type":"string","x-stream-index":"002.001"}},"required":["target_ids"],"title":"UnmuteRequest","type":"object"},"UnmuteResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"non_existing_users":{"description":"A list of users that can't be found. Common cause for this is deleted users","items":{"type":"string"},"title":"Non Existing Users","type":"array","x-stream-index":"001"}},"required":["duration"],"title":"UnmuteResponse","type":"object"},"UpsertConfigRequest":{"nullable":true,"properties":{"ai_image_config":{"$ref":"#/components/schemas/AIImageConfig","description":"Configuration for AI image analysis","title":"AI Image Config","x-stream-index":"011"},"ai_text_config":{"$ref":"#/components/schemas/AITextConfig","description":"Configuration for AI text analysis","title":"AI Text Config","x-stream-index":"008"},"ai_video_config":{"$ref":"#/components/schemas/AIVideoConfig","description":"Configuration for AI video analysis","title":"AI Video Config","x-stream-index":"012"},"async":{"description":"Whether moderation should be performed asynchronously","title":"Async","type":"boolean","x-stream-index":"003"},"automod_platform_circumvention_config":{"$ref":"#/components/schemas/AutomodPlatformCircumventionConfig","description":"Configuration for platform circumvention detection","title":"Automod Platform Circumvention Config","x-stream-index":"005"},"automod_semantic_filters_config":{"$ref":"#/components/schemas/AutomodSemanticFiltersConfig","description":"Configuration for semantic filtering","title":"Automod Semantic Filters Config","x-stream-index":"006"},"automod_toxicity_config":{"$ref":"#/components/schemas/AutomodToxicityConfig","description":"Configuration for toxicity detection","title":"Automod Toxicity Config","x-stream-index":"004"},"aws_rekognition_config":{"$ref":"#/components/schemas/AIImageConfig","x-stream-index":"016"},"block_list_config":{"$ref":"#/components/schemas/BlockListConfig","description":"Configuration for block list filtering","title":"Block List Config","x-stream-index":"007"},"bodyguard_config":{"$ref":"#/components/schemas/AITextConfig","x-stream-index":"015"},"google_vision_config":{"$ref":"#/components/schemas/GoogleVisionConfig","description":"Configuration for Google Vision integration","title":"Google Vision Config","x-stream-index":"010"},"key":{"description":"Unique identifier for the moderation configuration","title":"Key","type":"string","x-stream-index":"001"},"llm_config":{"$ref":"#/components/schemas/LLMConfig","description":"Configuration for customer-configured LLM moderation","title":"LLM Config","x-stream-index":"009"},"rule_builder_config":{"$ref":"#/components/schemas/RuleBuilderConfig","description":"Configuration for custom rule builder (max 3 rules, max 5 conditions per rule)","title":"Rule Builder Config","x-stream-index":"014"},"team":{"description":"Team associated with the configuration","maxLength":128,"minLength":1,"title":"Team","type":"string","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"018.002"},"user_id":{"description":"Optional user ID to associate with the audit log entry","title":"User ID","type":"string","x-stream-index":"018.001"},"velocity_filter_config":{"$ref":"#/components/schemas/VelocityFilterConfig","description":"Configuration for velocity-based filtering","title":"Velocity Filter Config","x-stream-index":"013"},"video_call_rule_config":{"$ref":"#/components/schemas/VideoCallRuleConfig","x-stream-index":"017"}},"required":["key"],"type":"object"},"UpsertConfigResponse":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/ConfigResponse","description":"The created or updated moderation configuration","title":"Config","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["duration"],"type":"object"},"UpsertModerationRuleRequest":{"nullable":true,"properties":{"action":{"$ref":"#/components/schemas/RuleBuilderAction","description":"Action for user/content rules","title":"Action","x-stream-index":"010"},"action_sequences":{"description":"Escalation sequences for call rules","items":{"$ref":"#/components/schemas/CallRuleActionSequence"},"title":"Action Sequences","type":"array","x-stream-index":"011"},"conditions":{"description":"Flat list of conditions (legacy)","items":{"$ref":"#/components/schemas/RuleBuilderCondition"},"title":"Conditions","type":"array","x-stream-index":"007"},"config_keys":{"description":"List of config keys this rule applies to","items":{"type":"string"},"title":"Config Keys","type":"array","x-stream-index":"004"},"cooldown_period":{"description":"Duration before rule can trigger again (e.g. 24h, 7d)","title":"Cooldown Period","type":"string","x-stream-index":"012"},"description":{"description":"Optional description of the rule","title":"Description","type":"string","x-stream-index":"003"},"enabled":{"description":"Whether the rule is active","title":"Enabled","type":"boolean","x-stream-index":"013"},"groups":{"description":"Nested condition groups","items":{"$ref":"#/components/schemas/RuleBuilderConditionGroup"},"title":"Groups","type":"array","x-stream-index":"009"},"logic":{"description":"Logical operator between conditions/groups: AND or OR","title":"Logic","type":"string","x-stream-index":"008"},"name":{"description":"Unique rule name","title":"Name","type":"string","x-stream-index":"001"},"rule_type":{"description":"Type of rule: user, content, or call","title":"Rule Type","type":"string","x-stream-index":"006"},"team":{"description":"Team scope for the rule","title":"Team","type":"string","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserRequest","x-stream-index":"002.002"},"user_id":{"description":"Optional user ID to associate with the audit log entry","title":"User ID","type":"string","x-stream-index":"002.001"}},"required":["name","rule_type"],"type":"object"},"UpsertModerationRuleResponse":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001.001"},"rule":{"$ref":"#/components/schemas/ModerationRuleV2Response","x-stream-index":"002"}},"required":["duration"],"title":"Response","type":"object"},"UpsertModerationTemplateRequest":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/FeedsModerationTemplateConfigPayload","description":"Configuration for the moderation template","title":"Config","x-stream-index":"002"},"name":{"description":"Name of the moderation template","title":"Name","type":"string","x-stream-index":"001"}},"required":["name","config"],"type":"object"},"UpsertModerationTemplateResponse":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/FeedsModerationTemplateConfigPayload","description":"Configuration for the moderation template","title":"Config","x-stream-index":"002"},"created_at":{"description":"When the template was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"003"},"duration":{"type":"string","x-stream-index":"005.001"},"name":{"description":"Name of the moderation template","title":"Name","type":"string","x-stream-index":"001"},"updated_at":{"description":"When the template was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"004"}},"required":["name","created_at","updated_at","duration"],"type":"object"},"User":{"properties":{"data":{"additionalProperties":{},"type":"object","x-stream-index":"002"},"id":{"type":"string","x-stream-index":"001"}},"required":["id"],"type":"object"},"UserCreatedWithinParameters":{"properties":{"max_age":{"type":"string","x-stream-index":"001"}},"type":"object"},"UserCustomPropertyParameters":{"properties":{"operator":{"type":"string","x-stream-index":"002"},"property_key":{"type":"string","x-stream-index":"001"}},"type":"object"},"UserIdenticalContentCountParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"UserMuteResponse":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"004"},"expires":{"format":"date-time","type":"number","x-stream-index":"003"},"target":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"001"}},"required":["created_at","updated_at"],"type":"object"},"UserRequest":{"description":"User request object","properties":{"custom":{"additionalProperties":{},"description":"Custom user data","title":"Custom","type":"object","x-stream-index":"004"},"id":{"description":"User ID","title":"ID","type":"string","x-stream-index":"001"},"image":{"description":"User's profile image URL","title":"Image","type":"string","x-stream-index":"003"},"invisible":{"type":"boolean","x-stream-index":"006"},"language":{"type":"string","x-stream-index":"005"},"name":{"description":"Optional name of user","title":"Name","type":"string","x-stream-index":"002"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"007"},"role":{"description":"User's global role","title":"Role","type":"string","x-stream-index":"008"},"teams":{"description":"List of teams the user belongs to","items":{"type":"string"},"title":"Teams","type":"array","x-stream-index":"010"},"teams_role":{"additionalProperties":{"type":"string"},"description":"Map of team-specific roles for the user","title":"TeamsRole","type":"object","x-stream-index":"009"}},"required":["id"],"title":"UserRequest","type":"object"},"UserResponse":{"description":"User response object","properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.018"},"ban_expires":{"description":"Date when ban expires","format":"date-time","title":"Ban expires","type":"number","x-stream-index":"004"},"banned":{"description":"Whether a user is banned or not","title":"Banned","type":"boolean","x-stream-index":"001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"001.017"},"bypass_moderation":{"type":"boolean","x-stream-index":"003"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"description":"Custom data for this object","title":"Custom data","type":"object","x-stream-index":"001.004"},"deactivated_at":{"description":"Date of deactivation","format":"date-time","title":"Deactivated at","type":"number","x-stream-index":"001.016"},"deleted_at":{"description":"Date/time of deletion","format":"date-time","title":"Deleted at","type":"number","x-stream-index":"001.011"},"devices":{"description":"List of devices user is using","items":{"$ref":"#/components/schemas/DeviceResponse"},"title":"Devices","type":"array","x-stream-index":"007"},"id":{"description":"Unique user identifier","title":"ID","type":"string","x-stream-index":"001.001"},"image":{"title":"Image","type":"string","x-stream-index":"001.003"},"invisible":{"type":"boolean","x-stream-index":"008"},"language":{"description":"Preferred language of a user","title":"Language","type":"string","x-stream-index":"001.005"},"last_active":{"description":"Date of last activity","format":"date-time","title":"Last active","type":"number","x-stream-index":"001.014"},"name":{"description":"Optional name of user","title":"Name","type":"string","x-stream-index":"001.002"},"online":{"description":"Whether a user online or not","title":"Online","type":"boolean","x-stream-index":"001.013"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","description":"User privacy settings","title":"Privacy settings","x-stream-index":"006"},"push_notifications":{"$ref":"#/components/schemas/PushNotificationSettingsResponse","description":"User push notification settings","title":"Push notifications","x-stream-index":"005"},"revoke_tokens_issued_before":{"description":"Revocation date for tokens","format":"date-time","title":"Revoke tokens issued before","type":"number","x-stream-index":"001.015"},"role":{"description":"Determines the set of user permissions","title":"Role","type":"string","x-stream-index":"001.006"},"shadow_banned":{"description":"Whether a user is shadow banned","title":"Shadow banned","type":"boolean","x-stream-index":"002"},"teams":{"description":"List of teams user is a part of","items":{"type":"string"},"title":"Teams","type":"array","x-stream-index":"001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.008"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","blocked_user_ids","shadow_banned","invisible"],"title":"UserResponse","type":"object"},"UserRoleParameters":{"properties":{"operator":{"type":"string","x-stream-index":"001"},"role":{"type":"string","x-stream-index":"002"}},"type":"object"},"UserRuleParameters":{"properties":{"max_age":{"type":"string","x-stream-index":"001"}},"type":"object"},"VelocityFilterConfig":{"properties":{"advanced_filters":{"type":"boolean","x-stream-index":"007"},"async":{"type":"boolean","x-stream-index":"001"},"cascading_actions":{"type":"boolean","x-stream-index":"004"},"cids_per_user":{"format":"int32","type":"integer","x-stream-index":"006"},"enabled":{"type":"boolean","x-stream-index":"002"},"first_message_only":{"type":"boolean","x-stream-index":"005"},"rules":{"items":{"$ref":"#/components/schemas/VelocityFilterConfigRule"},"type":"array","x-stream-index":"003"}},"type":"object"},"VelocityFilterConfigRule":{"properties":{"action":{"enum":["flag","shadow","remove","ban"],"type":"string","x-stream-index":"001"},"ban_duration":{"format":"int32","type":"integer","x-stream-index":"002"},"cascading_action":{"enum":["flag","shadow","remove","ban"],"type":"string","x-stream-index":"006"},"cascading_threshold":{"format":"int64","type":"integer","x-stream-index":"005"},"check_message_context":{"type":"boolean","x-stream-index":"009"},"fast_spam_threshold":{"format":"int32","type":"integer","x-stream-index":"007"},"fast_spam_ttl":{"format":"int32","type":"integer","x-stream-index":"010"},"ip_ban":{"type":"boolean","x-stream-index":"004"},"probation_period":{"format":"int32","type":"integer","x-stream-index":"014"},"shadow_ban":{"type":"boolean","x-stream-index":"003"},"slow_spam_ban_duration":{"format":"int32","type":"integer","x-stream-index":"012"},"slow_spam_threshold":{"format":"int32","type":"integer","x-stream-index":"008"},"slow_spam_ttl":{"format":"int32","type":"integer","x-stream-index":"011"},"url_only":{"type":"boolean","x-stream-index":"013"}},"required":["action"],"type":"object"},"VideoCallRuleConfig":{"properties":{"flag_all_labels":{"type":"boolean","x-stream-index":"002"},"flagged_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"rules":{"items":{"$ref":"#/components/schemas/HarmConfig"},"type":"array","x-stream-index":"001"}},"type":"object"},"VideoContentParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"label_operator":{"type":"string","x-stream-index":"002"}},"type":"object"},"VideoEndCallRequestPayload":{"description":"Configuration for ending video call","title":"VideoEndCallRequest","type":"object"},"VideoKickUserRequestPayload":{"description":"Configuration for kicking user from video call","title":"VideoKickUserRequest","type":"object"},"VideoRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"VideoSettingsResponse":{"properties":{"access_request_enabled":{"type":"boolean","x-stream-index":"001"},"camera_default_on":{"type":"boolean","x-stream-index":"002"},"camera_facing":{"type":"string","x-stream-index":"003"},"enabled":{"type":"boolean","x-stream-index":"004"},"target_resolution":{"$ref":"#/components/schemas/TargetResolution","x-stream-index":"005"}},"required":["access_request_enabled","camera_default_on","camera_facing","enabled","target_resolution"],"type":"object"},"WHEvent":{"description":"The discriminator object for all webhook events, it maps events' payload to the final type","discriminator":{"mapping":{"appeal.accepted":"#/components/schemas/AppealAcceptedEvent","appeal.created":"#/components/schemas/AppealCreatedEvent","appeal.rejected":"#/components/schemas/AppealRejectedEvent","export.bulk_image_moderation.error":"#/components/schemas/AsyncExportErrorEvent","export.bulk_image_moderation.success":"#/components/schemas/AsyncBulkImageModerationEvent","export.moderation_logs.error":"#/components/schemas/AsyncExportErrorEvent","export.moderation_logs.success":"#/components/schemas/AsyncExportModerationLogsEvent","moderation.custom_action":"#/components/schemas/ModerationCustomActionEvent","moderation.flagged":"#/components/schemas/ModerationFlaggedEvent","moderation.mark_reviewed":"#/components/schemas/ModerationMarkReviewedEvent","moderation_check.completed":"#/components/schemas/ModerationCheckCompletedEvent","moderation_rule.triggered":"#/components/schemas/ModerationRulesTriggeredEvent","review_queue_item.new":"#/components/schemas/ReviewQueueItemNewEvent","review_queue_item.updated":"#/components/schemas/ReviewQueueItemUpdatedEvent"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/AppealAcceptedEvent"},{"$ref":"#/components/schemas/AppealCreatedEvent"},{"$ref":"#/components/schemas/AppealRejectedEvent"},{"$ref":"#/components/schemas/AsyncBulkImageModerationEvent"},{"$ref":"#/components/schemas/AsyncExportErrorEvent"},{"$ref":"#/components/schemas/AsyncExportErrorEvent"},{"$ref":"#/components/schemas/AsyncExportModerationLogsEvent"},{"$ref":"#/components/schemas/ModerationCheckCompletedEvent"},{"$ref":"#/components/schemas/ModerationCustomActionEvent"},{"$ref":"#/components/schemas/ModerationFlaggedEvent"},{"$ref":"#/components/schemas/ModerationMarkReviewedEvent"},{"$ref":"#/components/schemas/ModerationRulesTriggeredEvent"},{"$ref":"#/components/schemas/ReviewQueueItemNewEvent"},{"$ref":"#/components/schemas/ReviewQueueItemUpdatedEvent"}]},"WHIPIngress":{"properties":{"address":{"type":"string","x-stream-index":"001"}},"required":["address"],"type":"object"}},"securitySchemes":{"JWT":{"description":"JWT should be always provided when stream-auth-type=jwt.\n\nUsing JWT auth request could be authenticated as user or as server-side.\n\nWhen using user authentication permission checking is going to be applied to requests based on the user that is\nperforming a request.\n\nThe `authorization` header should be a JWT string signed using the secret attached to the API key used to perform\nrequests.\n\n**WARNING** all client-side official SDK do not ship with token generation; this is to make sure that the API secret is not\nshared with an untrusted party such as a browser or a iOS/Android application. Tokens **must** be generated server-side.\nIf you wish, you can configure your application to ignore authentication (see `disable_auth_check`)\nThe JWT string must include only the user_id claim and can include any built-in JWT claim such as iat, exp as well.\n","in":"header","name":"Authorization","type":"apiKey"},"api_key":{"description":"Application API key should be always set in order to authenticate the request.","in":"query","name":"api_key","type":"apiKey"},"stream-auth-type":{"description":"Stream-Auth-Type should be always set in order to authenticate the request. Possible\nvalues: `jwt` or `anonymous`.\n\n`jwt` allows you to authenticate as a user. With this auth type you should also provide valid JWT in Authorization\nheader.\n\n`anonymous` allows you to authenticate as anonymous user. Please note that most advanced features are not available\nto anonymous users.","in":"header","name":"Stream-Auth-Type","type":"apiKey"}}},"info":{"title":"Stream API","version":"v226.0.0"},"openapi":"3.0.3","paths":{"/api/v2/moderation/action_logs":{"post":{"description":"Insert a moderation action log entry. Server-side only. Used by product services to log moderation-related actions.\n","operationId":"insert_action_log","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsertActionLogRequest"}}},"description":"Insert Action Log Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsertActionLogResponse"}}},"description":"Insert Action Log Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Insert moderation action log","tags":["product:moderation"]}},"/api/v2/moderation/appeal":{"post":{"description":"Appeal against the moderation decision\n","operationId":"appeal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppealRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppealResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Appeal against the moderation decision","tags":["product:moderation"]}},"/api/v2/moderation/appeal/{id}":{"get":{"description":"Retrieve a specific appeal item by its ID\n","operationId":"get_appeal","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"Unique identifier of the appeal item to retrieve","title":"ID","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAppealResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get appeal item","tags":["product:moderation"]}},"/api/v2/moderation/appeals":{"post":{"description":"Query Appeals\n","operationId":"query_appeals","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryAppealsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryAppealsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query Appeals","tags":["product:moderation"]}},"/api/v2/moderation/ban":{"post":{"description":"Ban a user from a channel or the entire app\n","operationId":"ban","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Ban","tags":["product:moderation"]}},"/api/v2/moderation/bulk_image_moderation":{"post":{"description":"Moderate multiple images in bulk using a CSV file\n","operationId":"bulk_image_moderation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkImageModerationRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkImageModerationResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Bulk image moderation","tags":["product:moderation"]}},"/api/v2/moderation/bypass":{"post":{"description":"Enable or disable moderation bypass for a user. This endpoint is server-side only.\n","operationId":"bypass","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BypassRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BypassResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Bypass Moderation","tags":["product:moderation"]}},"/api/v2/moderation/check":{"post":{"description":"Run moderation checks on the provided content\n","operationId":"check","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Check","tags":["product:moderation"]}},"/api/v2/moderation/check_s3_access":{"post":{"description":"Verifies that the configured IAM role ARN can access private S3 images for moderation. Optionally accepts a stream+s3:// URL to check access to a specific object.\n","operationId":"check_s3_access","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckS3AccessRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckS3AccessResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Check S3 image access","tags":["product:moderation"]}},"/api/v2/moderation/config":{"post":{"description":"Create a new moderation configuration or update an existing one. Configure settings for content filtering, AI analysis, toxicity detection, and other moderation features.\n","operationId":"upsert_config","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertConfigRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertConfigResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create or update moderation configuration","tags":["product:moderation"]}},"/api/v2/moderation/config/{key}":{"delete":{"description":"Delete a specific moderation policy by its name\n","operationId":"delete_config","parameters":[{"in":"path","name":"key","required":true,"schema":{"description":"Key of the moderation configuration to delete","title":"Key","type":"string","x-stream-index":"001"}},{"in":"query","name":"team","schema":{"description":"Team associated with the configuration","title":"Team","type":"string","x-stream-index":"002"}},{"in":"query","name":"user_id","schema":{"description":"Optional user ID to associate with the audit log entry","title":"User ID","type":"string","writeOnly":true,"x-stream-index":"003.001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteModerationConfigResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a moderation policy","tags":["product:moderation"]},"get":{"description":"Retrieve a specific moderation configuration by its key and team. This configuration contains settings for various moderation features like toxicity detection, AI analysis, and filtering rules.\n","operationId":"get_config","parameters":[{"in":"path","name":"key","required":true,"schema":{"description":"Key of the moderation configuration to retrieve","title":"Key","type":"string","x-stream-index":"001"}},{"in":"query","name":"team","schema":{"description":"Team associated with the configuration","title":"Team","type":"string","x-stream-index":"002"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetConfigResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get moderation configuration","tags":["product:moderation"]}},"/api/v2/moderation/configs":{"post":{"description":"Search and filter moderation configurations across your application. This endpoint is designed for building moderation dashboards and managing multiple configuration sets.\n","operationId":"query_moderation_configs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationConfigsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationConfigsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query moderation configurations","tags":["product:moderation"]}},"/api/v2/moderation/custom_check":{"post":{"description":"Custom check, add your own AI model reports to the review queue\n","operationId":"custom_check","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomCheckRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomCheckResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Custom check endpoint","tags":["product:moderation"]}},"/api/v2/moderation/feeds_moderation_template":{"delete":{"description":"Delete a specific moderation template by its name\n","operationId":"V2DeleteTemplate","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteModerationTemplateResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a moderation template","tags":["product:moderation"]},"get":{"description":"Retrieve a list of feed moderation templates that define preset moderation rules and configurations. Limited to 100 templates per request.\n","operationId":"V2QueryTemplates","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFeedModerationTemplatesResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query feed moderation templates","tags":["product:moderation"]},"post":{"description":"Upsert feeds template for moderation\n","operationId":"V2UpsertTemplate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertModerationTemplateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertModerationTemplateResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upsert feeds template","tags":["product:moderation"]}},"/api/v2/moderation/flag":{"post":{"description":"Flag any type of content (messages, users, channels, activities) for moderation review. Supports custom content types and additional metadata for flagged content.\n","operationId":"flag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Flag content for moderation","tags":["product:moderation"]}},"/api/v2/moderation/flag_count":{"post":{"description":"Returns the number of moderation flags created against a specific user's content. Optionally filter by entity type.\n","operationId":"get_flag_count","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFlagCountRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFlagCountResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get flag count for a user","tags":["product:moderation"]}},"/api/v2/moderation/flags":{"post":{"description":"Query flags associated with moderation items. This is used for building a moderation dashboard.\n","operationId":"query_moderation_flags","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationFlagsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationFlagsResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query moderation flags","tags":["product:moderation"]}},"/api/v2/moderation/logs":{"post":{"description":"Search and filter moderation action logs with support for pagination. View the history of moderation actions taken, including who performed them and when.\n","operationId":"query_moderation_logs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationLogsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationLogsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query moderation action logs","tags":["product:moderation"]}},"/api/v2/moderation/moderation_rule":{"post":{"description":"Create or update a moderation rule that can apply app-wide or to specific moderation configs\n","operationId":"upsert_moderation_rule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertModerationRuleRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertModerationRuleResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upsert moderation rule","tags":["product:moderation"]}},"/api/v2/moderation/moderation_rule/{id}":{"delete":{"description":"Delete an existing moderation rule\n","operationId":"delete_moderation_rule","parameters":[{"in":"query","name":"user_id","schema":{"description":"Optional user ID to associate with the audit log entry","title":"User ID","type":"string","writeOnly":true,"x-stream-index":"001.001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteModerationRuleResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete moderation rule","tags":["product:moderation"]},"get":{"description":"Get a specific moderation rule by ID\n","operationId":"get_moderation_rule","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetModerationRuleResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get moderation rule","tags":["product:moderation"]}},"/api/v2/moderation/moderation_rules":{"post":{"description":"Search and filter moderation rules across your application. This endpoint is designed for building moderation dashboards and managing multiple rule sets.\n","operationId":"query_moderation_rules","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationRulesRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationRulesResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query moderation rules","tags":["product:moderation"]}},"/api/v2/moderation/mute":{"post":{"description":"Mute a user. Mutes are generally not visible to the user you mute, while block is something you notice.\n","operationId":"mute","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteRequest"}}},"description":"MuteRequest","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteResponse"}}},"description":"MuteResponse"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Mute","tags":["product:moderation"]}},"/api/v2/moderation/review_queue":{"post":{"description":"Query review queue items allows you to filter the review queue items. This is used for building a moderation dashboard.\n","operationId":"query_review_queue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryReviewQueueRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryReviewQueueResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query review queue items","tags":["product:moderation"]}},"/api/v2/moderation/review_queue/{id}":{"get":{"description":"Retrieve a specific review queue item by its ID\n","operationId":"get_review_queue_item","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"Unique identifier of the review queue item to retrieve","title":"ID","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReviewQueueItemResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get review queue item","tags":["product:moderation"]}},"/api/v2/moderation/submit_action":{"post":{"description":"Take action on flagged content, such as marking content as safe, deleting content, banning users, or executing custom moderation actions. Supports various action types with configurable parameters.\n","operationId":"submit_action","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitActionRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitActionResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Submit moderation action","tags":["product:moderation"]}},"/api/v2/moderation/unban":{"post":{"description":"Unban a user from a channel or globally.\n","operationId":"unban","parameters":[{"in":"query","name":"target_user_id","required":true,"schema":{"description":"ID of the user to unban","title":"Target User ID","type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"channel_cid","schema":{"description":"Channel where the unban applies","title":"Channel CID","type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"created_by","schema":{"description":"ID of the user who created the ban","title":"Created By","type":"string","writeOnly":true,"x-stream-index":"003"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnbanRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnbanResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Unban","tags":["product:moderation"]}},"/api/v2/moderation/unmute":{"post":{"description":"Unmute a user\n","operationId":"unmute","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteRequest"}}},"description":"UnmuteRequest","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteResponse"}}},"description":"UnmuteResponse"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Unmute a user","tags":["product:moderation"]}}},"security":[{"JWT":[],"api_key":[],"stream-auth-type":[]},{"api_key":[],"stream-auth-type":[]}],"servers":[{"description":"Stream API","url":"https://chat.stream-io-api.com"}]}