Skip to content

Commit 0c8ed17

Browse files
Stream CI Botstream-ci-zz
andauthored
chore: update OpenAPI specs to v241.6.1 (#2269)
Co-authored-by: GH Action CI Stream <ci@stream.io>
1 parent 1190ad5 commit 0c8ed17

58 files changed

Lines changed: 5584 additions & 205 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎openapi/chat-openapi-clientside.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/chat-openapi-clientside.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19115,9 +19115,10 @@ components:
1911519115
type: apiKey
1911619116
info:
1911719117
title: Stream API
19118-
version: v241.6.0
19118+
version: v241.6.1
1911919119
x-stream-breaking-changes:
1912019120
go:
19121+
- AI-1473 (2026-10-20)
1912119122
- CHA-3441 (2026-10-08)
1912219123
- CHA-5080 (2026-10-16)
1912319124
- CHA-5081 (2026-10-16)
@@ -19134,6 +19135,7 @@ info:
1913419135
- MOD2-1482 (2026-10-02)
1913519136
- MOD2-789 (2026-10-05)
1913619137
wire:
19138+
- AI-1473 (2026-10-20)
1913719139
- AI-1616 (2026-10-27)
1913819140
- AI-1617 (2026-10-22)
1913919141
- AI-2210 (2026-10-28)

‎openapi/chat-openapi.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/chat-openapi.yaml‎

Lines changed: 110 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,96 @@ components:
247247
- duration
248248
title: AddUserGroupMembersResponse
249249
type: object
250+
AgentReviewSettingsPayload:
251+
description: Settings for the moderation agent reviewer, which reviews moderation
252+
outcomes and proposes or applies an action.
253+
properties:
254+
agent_config_id:
255+
description: The app's Accelerate agent config with role agent_moderator.
256+
title: Agent config ID
257+
type: string
258+
x-stream-index: "005"
259+
auto_act_min_confidence:
260+
description: Minimum verdict confidence (0-1) for auto_act to apply an action.
261+
Defaults to 0.9.
262+
format: double
263+
title: Auto act min confidence
264+
type: number
265+
x-stream-index: "008"
266+
context_days:
267+
description: Days of the user's moderation history given to the agent. Defaults
268+
to 7, at most 30.
269+
format: int32
270+
title: Context days
271+
type: integer
272+
x-stream-index: "006"
273+
context_messages:
274+
description: 'Surrounding items given to the agent on each side of the reviewed
275+
one: chat messages, Feeds comments, or the author''s other Feeds activities.
276+
Defaults to 20, at most 100.'
277+
format: int32
278+
title: Context messages
279+
type: integer
280+
x-stream-index: "007"
281+
enabled:
282+
description: Turns the agent reviewer on. It only runs when agent_config_id
283+
is set too.
284+
title: Enabled
285+
type: boolean
286+
x-stream-index: "001"
287+
max_concurrency:
288+
description: Maximum reviews in flight for the app. Defaults to 10, at most
289+
100.
290+
format: int32
291+
title: Max concurrency
292+
type: integer
293+
x-stream-index: "009"
294+
mode:
295+
description: approve_first records the verdict for a moderator to approve;
296+
auto_act applies it when its confidence reaches auto_act_min_confidence;
297+
export_only changes nothing on the review queue and only exports each
298+
verdict for evaluation. Defaults to approve_first.
299+
enum:
300+
- approve_first
301+
- auto_act
302+
- export_only
303+
title: Mode
304+
type: string
305+
x-stream-index: "002"
306+
review_images:
307+
description: Sends the images of the content under review to the agent,
308+
so it can judge them alongside the text. The agent config must run on
309+
a model that sees images. Defaults to false.
310+
title: Review images
311+
type: boolean
312+
x-stream-index: "010"
313+
rule_ids:
314+
description: 'Moderation rule IDs: only items flagged by one of these rules
315+
are reviewed, and items flagged only by other sources are left to moderators.
316+
Empty reviews every flagged item. Only used with scope flagged; at most
317+
100.'
318+
items:
319+
type: string
320+
title: Rule IDs
321+
type: array
322+
x-stream-index: "011"
323+
sample_rate:
324+
description: Fraction (0-1) of checks reviewed with scope all_checks. Defaults
325+
to 1.
326+
format: double
327+
title: Sample rate
328+
type: number
329+
x-stream-index: "004"
330+
scope:
331+
description: 'Which checks are reviewed: flagged ones only, or all_checks
332+
sampled by sample_rate. Defaults to flagged.'
333+
enum:
334+
- flagged
335+
- all_checks
336+
title: Scope
337+
type: string
338+
x-stream-index: "003"
339+
type: object
250340
AppDefaults:
251341
description: Request limit defaults applied by the server when the corresponding
252342
field is omitted.
@@ -274,6 +364,12 @@ components:
274364
type: integer
275365
type: object
276366
x-stream-index: "063"
367+
agent_review:
368+
$ref: '#/components/schemas/AgentReviewSettingsPayload'
369+
description: The app's own moderation agent reviewer settings, as Update
370+
App writes them. Fields left unset inherit the organization value.
371+
title: Agent review
372+
x-stream-index: "069"
277373
allow_multi_user_devices:
278374
type: boolean
279375
x-stream-index: "018"
@@ -340,6 +436,14 @@ components:
340436
disable_permissions_checks:
341437
type: boolean
342438
x-stream-index: "014"
439+
effective_agent_review:
440+
$ref: '#/components/schemas/AgentReviewSettingsPayload'
441+
description: 'The agent reviewer settings the app runs with: the organization
442+
settings overlaid with the app''s own, with defaults applied. enabled
443+
is true only when an agent_config_id is set too. Omitted when neither
444+
the app nor its organization uses the agent reviewer.'
445+
title: Effective agent review
446+
x-stream-index: "070"
343447
enforce_unique_usernames:
344448
type: string
345449
x-stream-index: "027"
@@ -22703,6 +22807,9 @@ components:
2270322807
type: integer
2270422808
type: object
2270522809
x-stream-index: "001.057"
22810+
agent_review:
22811+
$ref: '#/components/schemas/AgentReviewSettingsPayload'
22812+
x-stream-index: "003"
2270622813
allowed_flag_reasons:
2270722814
items:
2270822815
type: string
@@ -26863,9 +26970,10 @@ components:
2686326970
type: apiKey
2686426971
info:
2686526972
title: Stream API
26866-
version: v241.6.0
26973+
version: v241.6.1
2686726974
x-stream-breaking-changes:
2686826975
go:
26976+
- AI-1473 (2026-10-20)
2686926977
- CHA-3441 (2026-10-08)
2687026978
- CHA-5080 (2026-10-16)
2687126979
- CHA-5081 (2026-10-16)
@@ -26882,6 +26990,7 @@ info:
2688226990
- MOD2-1482 (2026-10-02)
2688326991
- MOD2-789 (2026-10-05)
2688426992
wire:
26993+
- AI-1473 (2026-10-20)
2688526994
- CHA-0 (2026-04-14)
2688626995
- CHA-2563 (2026-03-24)
2688726996
- CHA-3037 (2026-08-06)

‎openapi/clientside-api.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)