unofficial-streamio-mcp-server

v0.6.0
unofficial-streamio-mcp-server Checked 4 days ago Published 25 days ago

Unofficial MCP server for Stream.io Chat, Video, Users, Moderation and App APIs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

chat_create_token Create user token

Mint a Stream user JWT. Clients present this to connect to chat and to join calls. The user must already exist (see chat_upsert_users). Treat the token as a credential — it grants that user's access until it expires.

ParameterTypeDescription
user_id *stringUser ID the token is for
validity_in_secondsintegerToken lifetime in seconds (default: 3600, i.e. 1 hour)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

auth_create_call_token Create call-scoped token

Mint a Stream JWT scoped to specific calls. The token grants access only to the listed calls, optionally with an elevated call role such as 'host'. For an unscoped token covering all of chat and video, use chat_create_token instead.

ParameterTypeDescription
call_cids *arrayCall CIDs the token grants access to, e.g. ['default:standup-2026-09-01']
user_id *stringUser ID the token is for
rolestringCall role granted by the token, e.g. 'host', 'speaker', 'admin'
validity_in_secondsintegerToken lifetime in seconds (default: 3600, i.e. 1 hour)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_upsert_users Create or update users

Create or update users. This is a full upsert — fields you omit are cleared. For targeted edits use users_update_partial. Users must exist before they can be added to channels or calls.

ParameterTypeDescription
users *arrayUsers to create or update (max 100)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_users Query users

Search and filter users. Common filters: {id: {$in: ['alice','bob']}}, {role: {$eq: 'admin'}}, {name: {$autocomplete: 'ali'}}, {banned: true}, {last_active: {$gt: '2026-08-01T00:00:00Z'}}. Stream rejects any operator on `deactivated_at`, so pass `deactivated_only: true` to enumerate deactivated users.

ParameterTypeDescription
after_idstringResume a `deactivated_only` scan from this user id (the previous `scan.next_id`)
deactivated_onlybooleanReturn only deactivated users. Stream cannot filter on `deactivated_at`, so this SCANS: it pages the app by ascending user id (up to 25 pages of 100) and keeps the deactivated rows. The `scan` block i…
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
include_deactivated_usersbooleanInclude deactivated users alongside active ones. It cannot isolate them — use `deactivated_only` for that.
limitintegerMax results to return (default: 10, max: 100)
offsetintegerNumber of results to skip (max: 1000)
presencebooleanInclude online/presence state
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_update_partial Partially update users

Change specific fields on users without clearing the rest. `set` overwrites fields, `unset` removes them.

ParameterTypeDescription
users *arrayPartial updates, one per user
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_deactivate Deactivate user

Deactivate a user. They can no longer connect, but their data is retained and they can be reactivated.

ParameterTypeDescription
user_id *stringUser ID to deactivate
created_by_idstringActing user ID
mark_messages_deletedbooleanAlso mark their messages deleted
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_reactivate Reactivate user

Reactivate a previously deactivated user, optionally restoring their messages.

ParameterTypeDescription
user_id *stringUser ID to reactivate
created_by_idstringActing user ID
namestringSet a new display name on reactivation
restore_messagesbooleanRestore messages deleted at deactivation
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_delete Delete users

Delete users asynchronously. Returns a task id — poll it with app_get_task. Choose 'soft' (recoverable), 'pruning' (removes content, keeps the id) or 'hard' (irreversible) per data category.

ParameterTypeDescription
user_ids *arrayUser IDs to delete
callsstringHow to delete their calls
conversationsstringHow to delete their channels
messagesstringHow to delete their messages
new_channel_owner_idstringReassign their channels to this user instead of deleting
userstringHow to delete the user record. Default: soft.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_restore Restore deleted users

Restore soft-deleted users. Hard-deleted or pruned users cannot be restored.

ParameterTypeDescription
user_ids *arrayUser IDs to restore
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_create_guest Create guest user

Create a guest user and return a token for them. Guests get the 'guest' role and limited permissions. Guest creation must be enabled on the app.

ParameterTypeDescription
id *stringGuest user ID
customobjectCustom key/value data stored on the object
imagestringAvatar URL
namestringDisplay name
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_block Block user (user-to-user)

One user blocks another, hiding the blocked user's messages from them. This is a personal block, not a moderation ban — use moderation_ban_user for that.

ParameterTypeDescription
blocked_user_id *stringUser being blocked
user_id *stringUser doing the blocking
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_unblock Unblock user (user-to-user)

Remove a user-to-user block, so the blocked user's messages become visible to the blocker again.

ParameterTypeDescription
blocked_user_id *stringUser being unblocked
user_id *stringUser who did the blocking
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_get_blocked List blocked users

List the users a given user has blocked.

ParameterTypeDescription
user_id *stringUser whose block list to read
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_export Export user data

Export one user's data — their profile, channels and messages.

ParameterTypeDescription
user_id *stringUser ID to export
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_list_devices List user devices

List all push notification devices registered for a user, including device tokens and push providers.

ParameterTypeDescription
user_id *stringUser ID whose registered devices to list
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_create_device Register user device

Register a push notification device token for a user with an APN, Firebase, Huawei, or Xiaomi push provider.

ParameterTypeDescription
id *stringDevice push token or unique device identifier
push_provider *stringPush notification provider type
user_id *stringUser ID to register the device for
push_provider_namestringNamed push provider configuration on the app
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.
voip_tokenbooleanWhether the token is for Apple VoIP push notifications

users_delete_device Delete user device

Remove a registered push notification device token from a user so it no longer receives pushes.

ParameterTypeDescription
id *stringDevice push token or device ID to remove
user_id *stringUser ID who owns the device
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_list_groups List user groups

List user groups in the application with cursor pagination and optional team scoping.

ParameterTypeDescription
id_gtstringCursor: return groups with ID greater than this value
limitintegerMax results to return (default: 25, max: 100)
team_idstringTeam ID to scope the user groups query
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_get_group Get user group

Retrieve a user group by ID, including its name, description, and current members.

ParameterTypeDescription
id *stringUser group ID
team_idstringTeam ID when the group is scoped to a team
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_create_group Create user group

Create a new user group with an optional custom ID, description, team scope, and initial member IDs.

ParameterTypeDescription
name *stringHuman-readable name of the user group
descriptionstringDescription of the user group
idstringCustom group ID (a UUID is generated if omitted)
member_idsarrayInitial user IDs to add as group members
team_idstringTeam ID to scope the group to a team
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_update_group Update user group

Update a user group's name or description. At least one of name or description must be provided.

ParameterTypeDescription
id *stringUser group ID to update
descriptionstringNew description for the user group
namestringNew name for the user group
team_idstringTeam ID when the group is scoped to a team
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_delete_group Delete user group

Permanently delete a user group by ID, optionally scoped to a specific team.

ParameterTypeDescription
id *stringUser group ID to delete
team_idstringTeam ID when the group is scoped to a team
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_add_group_members Add user group members

Add one or more users to a user group, optionally granting them group admin privileges.

ParameterTypeDescription
id *stringUser group ID
member_ids *arrayUser IDs to add to the group
as_adminbooleanWhether to add the members as group admins
team_idstringTeam ID when the group is scoped to a team
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_remove_group_members Remove user group members

Remove one or more users from a user group by their user IDs.

ParameterTypeDescription
id *stringUser group ID
member_ids *arrayUser IDs to remove from the group
team_idstringTeam ID when the group is scoped to a team
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_deactivate_batch Deactivate users in batch

Deactivate multiple users asynchronously in a single batch operation, optionally marking their messages or channels deleted. Returns a task_id to poll with app_get_task.

ParameterTypeDescription
user_ids *arrayUser IDs to deactivate (max 100)
created_by_idstringID of the user performing the deactivation
mark_channels_deletedbooleanMark channels created by these users as deleted
mark_messages_deletedbooleanMark messages sent by these users as deleted
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

users_reactivate_batch Reactivate users in batch

Reactivate multiple previously deactivated users asynchronously in a single batch operation, optionally restoring their messages or channels. Returns a task_id to poll with app_get_task.

ParameterTypeDescription
user_ids *arrayUser IDs to reactivate (max 100)
created_by_idstringID of the user performing the reactivation
restore_channelsbooleanRestore channels that were marked deleted on deactivation
restore_messagesbooleanRestore messages that were marked deleted on deactivation
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_channel Create or get chat channel

Create a chat channel, or return it if it already exists. Provide `id` for a named channel. Omit `id` to create a distinct channel keyed by its member list (requires at least 2 members). Built-in types: messaging, team, livestream, commerce, gaming.

ParameterTypeDescription
created_by_id *stringUser ID of the channel creator
type *stringChannel type (e.g. 'messaging', 'team')
customobjectCustom key/value data stored on the object
idstringChannel ID. Omit to create a distinct channel keyed by members.
membersarrayMembers to add. Accepts user IDs or {user_id, role} objects. Max 100.
namestringChannel display name. Stored as custom data (`custom.name`).
teamstringTeam the channel belongs to (multi-tenant apps)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_channels Query channels

Search and filter chat channels. Common filters: {type: {$eq: 'messaging'}}, {members: {$in: ['user-id']}}, {last_message_at: {$gt: '2026-01-01T00:00:00Z'}}. Returns channel metadata only by default — raise `message_limit` to include messages, or use chat_get_channel for one channel's history.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 10, max: 30)
member_limitintegerMax results to return (default: 10, max: 100)
message_limitintegerMax results to return (default: 0, max: 300)
offsetintegerNumber of results to skip (max: 1000)
sortarraySort parameters, applied in order
user_idstringQuery as this user — applies their permissions and populates read/unread state
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_channel Update channel members and roles

Add or remove channel members, promote or demote moderators, assign channel roles, and send invites. For changing channel data such as the name, use chat_update_channel_data.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
add_membersarrayMembers to add — user IDs or {user_id, role} objects
add_moderatorsarrayUser IDs to promote to moderator
assign_rolesarraySet a channel role on existing members: [{user_id, role}]
cooldownintegerSlow mode: seconds a user must wait between messages (0 disables)
demote_moderatorsarrayUser IDs to demote from moderator
hide_historybooleanHide existing history from newly added members
invitesarrayUser IDs to invite (they must accept before joining)
remove_membersarrayUser IDs to remove
user_idstringActing user — attributed as the author of the resulting system message
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_add_members Add channel members

Add members to a channel. The users must already exist (see chat_upsert_users). Convenience wrapper over chat_update_channel.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
member_ids *arrayUser IDs to add as members
hide_historybooleanHide existing history from the new members
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_remove_members Remove channel members

Remove members from a channel. Convenience wrapper over chat_update_channel.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
member_ids *arrayUser IDs to remove
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_channel_data Update channel data

Partially update a channel's data. `set` adds or overwrites fields (e.g. {name: 'New Name', image: 'https://…'}), `unset` removes them. Only the listed fields change.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
setobjectFields to set, e.g. {name: 'Support', frozen: true}
unsetarrayField names to remove
user_idstringActing user ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_channel Get channel state and messages

Fetch a channel's state: its data, members, and most recent messages. This is the primary way to READ chat history. Page backwards through history with `before_message_id` (pass the oldest message id you already have). Strictly a read: an unknown channel id returns a 404 rather than creating the channel — use chat_create_channel for that.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
around_message_idstringReturn messages centred on this message ID
before_message_idstringReturn messages older than this message ID (pagination)
member_limitintegerMax results to return (default: 30, max: 100)
message_limitintegerMax results to return (default: 25, max: 300)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_channel Delete channel

Delete a channel. Soft delete by default (recoverable, id stays taken). `hard_delete: true` permanently removes the channel and all its messages and frees the id.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
hard_deletebooleanPermanently delete the channel and all messages. Irreversible. Default: false.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_truncate_channel Truncate channel

Remove all messages from a channel while keeping the channel and its members. Optionally post a system message explaining the truncation — that message needs an author, so `user_id` is required with it. `truncated_at` must be later than any previous truncation of the same channel.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
hard_deletebooleanPermanently remove messages rather than soft-deleting
system_messagestringSystem message to post after truncating. Requires `user_id` — it is its author.
truncated_atstringISO-8601 timestamp — only truncate messages older than this
user_idstringActing user ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_members Query channel members

Search and filter the members of a channel. Common filters: {name: {$autocomplete: 'ali'}}, {channel_role: {$eq: 'channel_moderator'}}, {banned: true}.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
offsetintegerNumber of results to skip (max: 1000)
sortarraySort parameters, applied in order
user_idstringQuery as this user
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_member Update channel member

Partially update one member's custom data on a channel. `set` adds or overwrites fields, `unset` removes them.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
user_id *stringThe member to update
setobjectMember fields to set
unsetarrayMember field names to remove
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_mute_channel Mute channels for a user

Mute one or more channels for a user, suppressing their push notifications.

ParameterTypeDescription
channel_cids *arrayChannel CIDs, e.g. ['messaging:general']
user_id *stringUser to mute the channels for
expirationintegerMute duration in milliseconds. Omit for indefinite.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_unmute_channel Unmute channels for a user

Remove a user's mute on one or more channels.

ParameterTypeDescription
channel_cids *arrayChannel CIDs to unmute
user_id *stringUser whose mute should be removed
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_hide_channel Hide channel for a user

Hide a channel from one user's channel list. It reappears when a new message arrives unless the channel type is configured otherwise.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
user_id *stringUser to hide the channel for
clear_historybooleanAlso clear this user's message history for the channel
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_show_channel Show hidden channel

Un-hide a previously hidden channel for a user.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
user_id *stringUser to show the channel for
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_send_event Send custom channel event

Broadcast a custom real-time event to everyone watching a channel. Not persisted as a message — use for typing indicators, presence signals, or app-specific pings.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
event_type *stringCustom event type, e.g. 'order_shipped'. Letters, numbers, _ and - only.
user_id *stringUser the event is attributed to
customobjectCustom key/value data stored on the object
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_send_message Send message

Send a message to a channel on behalf of a user. Set `parent_id` to reply in a thread. Supports attachments, mentions and markdown text.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
text *stringMessage text. Supports markdown and URL enrichment.
user_id *stringUser ID the message is sent as
attachmentsarrayAttachments (max 30)
customobjectCustom key/value data stored on the object
mentioned_usersarrayUser IDs mentioned in the text (max 25)
parent_idstringParent message ID — makes this a thread reply
pinnedbooleanPin the message to the channel
poll_idstringID of a poll created with chat_create_poll to attach to this message
quoted_message_idstringMessage ID this message quotes
show_in_channelbooleanFor thread replies, also show the reply in the main channel
silentbooleanSend without bumping unread counts or notifications
skip_pushbooleanDo not send a push notification
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_message Delete message

Delete a message. Soft delete by default — the message is marked deleted but retained. `hard: true` removes it permanently and cannot be undone.

ParameterTypeDescription
message_id *stringMessage ID to delete
deleted_bystringUser ID credited with the deletion
hardbooleanPermanently remove. Irreversible. Default: false.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_message Get message

Fetch a single message by ID, including its attachments, reactions and thread metadata.

ParameterTypeDescription
message_id *stringMessage ID
show_deleted_messagebooleanInclude the message even if soft-deleted
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_many_messages Get several messages

Fetch several messages from one channel by ID in a single call.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
message_ids *arrayMessage IDs to fetch
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_search_messages Search messages

Full-text search across messages. `filter_conditions` scopes which channels to search (required — e.g. {members: {$in: ['user-id']}} or {type: 'messaging'}). Provide `query` for full-text search, or `message_filter_conditions` for structured matching such as {text: {$autocomplete: 'refund'}}.

ParameterTypeDescription
filter_conditions *objectChannel filter that scopes the search, e.g. {members: {$in: ['alice']}}
limitintegerMax results to return (default: 20, max: 100)
message_filter_conditionsobjectStructured message filter, e.g. {text: {$autocomplete: 'refund'}}
nextstringCursor from a previous response's `next` field
offsetintegerNumber of results to skip (max: 1000)
querystringFull-text search term
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_message Update message

Replace a message's contents. This is a full update — fields you omit are cleared. For targeted edits use chat_update_message_partial.

ParameterTypeDescription
message_id *stringMessage ID to update
text *stringNew message text
user_id *stringUser the message belongs to
attachmentsarrayReplacement attachments
customobjectCustom key/value data stored on the object
mentioned_usersarrayReplacement mentioned user IDs (max 25)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_message_partial Partially update message

Change specific fields on a message without touching the rest. `set` overwrites fields (e.g. {text: '…', pinned: true}), `unset` removes them.

ParameterTypeDescription
message_id *stringMessage ID to update
setobjectFields to set, e.g. {text: 'edited'}
unsetarrayField names to remove
user_idstringActing user ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_undelete_message Undelete message

Restore a soft-deleted message. Hard-deleted messages cannot be restored.

ParameterTypeDescription
message_id *stringMessage ID to restore
undeleted_by *stringUser ID performing the restore
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_replies Get thread replies

Fetch the replies in a message thread. Page backwards with `before_message_id` (the oldest reply id you already have).

ParameterTypeDescription
parent_message_id *stringThe thread's parent message ID
before_message_idstringReturn replies older than this message ID
limitintegerMax results to return (default: 25, max: 300)
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_pinned_messages Get pinned messages

List the pinned messages in a channel. Returns 404 if the channel does not exist; never creates one.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
limitintegerMax results to return (default: 25, max: 100)
user_idstringQuery as this user
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_translate_message Translate message

Translate a message into another language. The translation is stored on the message under `i18n`.

ParameterTypeDescription
language *stringTarget language code, e.g. 'es', 'fr', 'hi', 'zh', 'pt'.
message_id *stringMessage ID to translate
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_send_reaction Add reaction

Add a reaction to a message on behalf of a user.

ParameterTypeDescription
message_id *stringMessage ID to react to
type *stringReaction type, e.g. 'like', 'love', 'haha'
user_id *stringUser adding the reaction
enforce_uniquebooleanReplace this user's existing reaction on the message
scoreintegerReaction weight, for cumulative reactions
skip_pushbooleanDo not send a push notification
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_reaction Remove reaction

Remove a user's reaction from a message.

ParameterTypeDescription
message_id *stringMessage ID
type *stringReaction type to remove
user_id *stringUser whose reaction is removed
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_reactions Get message reactions

List the reactions on a message.

ParameterTypeDescription
message_id *stringMessage ID
limitintegerMax results to return (default: 50, max: 300)
offsetintegerNumber of results to skip (max: 1000)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_mark_read Mark channel read

Mark a channel as read for a user, up to a specific message if `message_id` is given.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
user_id *stringUser to mark the channel read for
message_idstringMark read up to this message
thread_idstringMark a specific thread read
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_mark_unread Mark channel unread

Mark a channel unread for a user from a given message onwards.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
message_id *stringMark unread from this message onwards
user_id *stringUser to mark the channel unread for
thread_idstringMark a specific thread unread
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_unread_counts Get unread counts

Get a user's unread message and channel counts across the app.

ParameterTypeDescription
user_id *stringUser to get unread counts for
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_threads Query threads

List message threads a user participates in, most recently active first.

ParameterTypeDescription
user_id *stringUser whose threads to list
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 10, max: 25)
nextstringCursor from a previous response's `next` field
reply_limitintegerMax results to return (default: 2, max: 10)
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_thread Get thread

Fetch one thread by its parent message ID, with its replies and participants.

ParameterTypeDescription
parent_message_id *stringThe thread's parent message ID
participant_limitintegerMax results to return (default: 10, max: 100)
reply_limitintegerMax results to return (default: 10, max: 25)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_poll Create poll

Create a poll that can be attached to a chat message, with voting options, visibility rules, and vote limits.

ParameterTypeDescription
name *stringPoll question or title
user_id *stringUser ID creating the poll
allow_answersbooleanWhether users can submit free-text answers
allow_user_suggested_optionsbooleanWhether users can suggest new options on the poll
customobjectCustom key/value data stored on the object
descriptionstringAdditional description or instructions for the poll
enforce_unique_votebooleanWhether each user is restricted to a single vote
idstringPoll ID to use instead of a generated UUID, e.g. to make creation retry-safe
is_closedbooleanWhether the poll is closed to new votes
max_votes_allowedintegerMaximum number of votes a single user can cast
optionsarrayInitial voting options for the poll
teamstringTeam the poll belongs to (multi-tenant apps)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.
voting_visibilitystringWhether votes are anonymous or publicly attributed

chat_get_poll Get poll

Retrieve a poll by ID, including its voting options, vote counts, and configuration settings.

ParameterTypeDescription
poll_id *stringPoll ID to retrieve
user_idstringUser ID to scope the poll view
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_poll_partial Partially update poll

Partially update a poll's fields using set and unset operations without replacing the entire poll.

ParameterTypeDescription
poll_id *stringPoll ID to update
user_id *stringUser ID performing the update
setobjectFields to set on the poll, e.g. {is_closed: true}
unsetarrayField names to remove from the poll
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_poll Delete poll

Delete a poll by ID, removing the poll and its associated options and votes.

ParameterTypeDescription
poll_id *stringPoll ID to delete
user_id *stringUser ID performing the deletion
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_polls Query polls

Search and filter polls across the application with sorting and cursor pagination.

ParameterTypeDescription
user_id *stringUser ID executing the query
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_poll_option Create poll option

Add a new voting option to an existing poll, with optional custom metadata.

ParameterTypeDescription
poll_id *stringPoll ID to add the option to
text *stringOption text displayed to voters
user_id *stringUser ID creating the option
customobjectCustom key/value data stored on the object
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_poll_option Delete poll option

Remove a voting option from a poll by the poll ID and option ID.

ParameterTypeDescription
option_id *stringOption ID to delete
poll_id *stringPoll ID that owns the option
user_id *stringUser ID performing the deletion
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_cast_poll_vote Cast poll vote

Cast a vote for an option or submit an answer text on a poll attached to a chat message.

ParameterTypeDescription
message_id *stringMessage ID that the poll is attached to
poll_id *stringPoll ID to vote on
user_id *stringUser ID casting the vote
answer_textstringFree-text answer when the poll allows answers
option_idstringOption ID to vote for
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_poll_vote Delete poll vote

Remove a previously cast vote from a poll on a chat message by vote ID.

ParameterTypeDescription
message_id *stringMessage ID that the poll is attached to
poll_id *stringPoll ID the vote belongs to
user_id *stringUser ID who owns the vote
vote_id *stringVote ID to remove
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_poll_votes Query poll votes

Search and filter votes cast on a poll with sorting and cursor pagination.

ParameterTypeDescription
poll_id *stringPoll ID whose votes to query
user_id *stringUser ID executing the query
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_reminder Create message reminder

Create a reminder (or, without remind_at, a bookmark) for a user on a specific chat message. Reminders must be enabled on the channel (channel type setting, or channel config_overrides.user_message_reminders); Stream delivers timed notifications through Push v3.

ParameterTypeDescription
message_id *stringMessage ID to set a reminder for
user_id *stringUser ID who will receive the reminder
expires_atstringWhen Stream should drop the reminder or bookmark automatically (ISO 8601)
remind_atstringWhen to trigger the reminder (ISO 8601)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_reminder Update message reminder

Update the trigger or expiry timestamp of an existing user reminder on a chat message. Reminders must be enabled on the channel (channel type setting, or channel config_overrides.user_message_reminders); Stream delivers timed notifications through Push v3.

ParameterTypeDescription
message_id *stringMessage ID of the reminder to update
user_id *stringUser ID who owns the reminder
expires_atstringWhen Stream should drop the reminder or bookmark automatically (ISO 8601)
remind_atstringUpdated reminder timestamp (ISO 8601)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_reminder Delete message reminder

Delete a user's reminder on a specific chat message so it will no longer fire. Reminders must be enabled on the channel (channel type setting, or channel config_overrides.user_message_reminders); Stream delivers timed notifications through Push v3.

ParameterTypeDescription
message_id *stringMessage ID whose reminder to delete
user_id *stringUser ID who owns the reminder
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_reminders Query message reminders

Search and filter message reminders across the application with sorting and cursor pagination. Requires Push v3.

ParameterTypeDescription
user_id *stringUser ID whose reminders to query
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_draft Get message draft

Retrieve a user's saved draft message in a channel or message thread.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
user_id *stringUser ID who owns the draft
parent_idstringParent message ID when fetching a thread reply draft
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_draft Delete message draft

Delete a user's saved draft message in a channel or message thread.

ParameterTypeDescription
channel_id *stringChannel ID
channel_type *stringChannel type (e.g. 'messaging', 'team', 'livestream')
user_id *stringUser ID who owns the draft
parent_idstringParent message ID when deleting a thread reply draft
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_drafts Query message drafts

List and filter a user's saved draft messages across channels and threads.

ParameterTypeDescription
user_id *stringUser ID whose drafts to query
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_list_channel_types List channel types

List the app's channel types with their key feature flags. Returns a summary — use chat_get_channel_type for one type's full configuration and permission grants.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_channel_type Get channel type

Get one channel type's full configuration, including its permission grants.

ParameterTypeDescription
name *stringChannel type name, e.g. 'messaging'
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_channel_type Create channel type

Create a custom channel type. `automod`, `automod_behavior` and `max_message_length` are required by Stream. Read an existing type with chat_get_channel_type first to see sensible values.

ParameterTypeDescription
automod *stringAutomod mode. Use 'disabled' unless you have moderation configured.
automod_behavior *stringWhat automod does on a match
max_message_length *integerMaximum message length in characters (Stream's default is 5000)
name *stringUnique channel type name
grantsobjectPermission grants keyed by role, e.g. {channel_member: ['read-channel']}
settingsobjectAdditional settings, e.g. {typing_events: true, read_events: true, replies: true, reactions: true, uploads: true, message_retention: 'infinite'}
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_channel_type Update channel type

Update a channel type's settings or permission grants. Applies to every channel of that type, app-wide. Stream requires `automod`, `automod_behavior` and `max_message_length` on every update — read the current values with chat_get_channel_type and pass them back unchanged if you are not changing them.

ParameterTypeDescription
automod *stringAutomod mode
automod_behavior *stringWhat automod does on a match
max_message_length *integerMaximum message length in characters
name *stringChannel type name
grantsobjectPermission grants keyed by role
settingsobjectOther settings to change, e.g. {typing_events: false, replies: true}
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_channel_type Delete channel type

Delete a custom channel type. Fails if any channel of that type still exists. Built-in types cannot be deleted.

ParameterTypeDescription
name *stringChannel type name to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_export_channels Export channels

Start an asynchronous export of one or more channels and their messages. Returns a task id — poll it with app_get_task to get the download URL.

ParameterTypeDescription
channel_cids *arrayChannel CIDs to export, e.g. ['messaging:general']
clear_deleted_message_textbooleanBlank out deleted message text
include_truncated_messagesbooleanInclude messages removed by a truncate
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_list_commands List slash commands

List all built-in and custom slash commands registered in the Stream application.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_command Get slash command

Retrieve the configuration of a single custom or built-in slash command by name.

ParameterTypeDescription
name *stringSlash command name, e.g. 'giphy' or 'ticket'
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_command Create slash command

Register a new custom slash command that can be enabled on channel types.

ParameterTypeDescription
description *stringHuman-readable description shown in command autocomplete
name *stringUnique command name without leading slash, e.g. 'ticket'
argsstringArguments usage hint shown in autocomplete, e.g. '[text]'
setstringCommand group or set name used for organizing commands
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_update_command Update slash command

Replace an existing custom slash command's configuration (full update: omitting args or set resets them to empty strings).

ParameterTypeDescription
description *stringUpdated description shown in command autocomplete
name *stringCommand name to update
argsstringUpdated arguments usage hint, e.g. '[text]'
setstringUpdated command group or set name
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_command Delete slash command

Delete a custom slash command by name. Built-in commands cannot be deleted.

ParameterTypeDescription
name *stringCustom command name to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_push_templates Get push notification templates

Retrieve push notification payload templates configured for a push provider type. Requires Push v3 configured on the application.

ParameterTypeDescription
push_provider_type *stringPush notification provider type
push_provider_namestringNamed push provider configuration
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_upsert_push_template Create or update push template

Create or update a push notification payload template for a specific event and push provider. Requires Push v3 configured on the application.

ParameterTypeDescription
event_type *stringChat event type that triggers the push notification
push_provider_type *stringPush notification provider type
enable_pushbooleanWhether push notifications are enabled for this event type
push_provider_namestringNamed push provider configuration
templatestringPush payload template string (Handlebars syntax)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_channels_batch Delete channels in batch

Delete multiple chat channels asynchronously in a single batch operation by their channel CIDs. Returns a task ID to poll with app_get_task.

ParameterTypeDescription
cids *arrayChannel CIDs to delete, e.g. ['messaging:general'] (max 100)
hard_deletebooleanPermanently remove channels and all their messages
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_unread_counts_batch Get unread counts in batch

Fetch unread message and channel counts for multiple users in a single batch request.

ParameterTypeDescription
user_ids *arrayUser IDs to fetch unread counts for (max 100)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_query_message_history Query message edit history

Query the version history of edited messages across channels using filter conditions and cursor pagination.

ParameterTypeDescription
filter *objectFilter conditions for message history, e.g. {message_id: 'm1'}
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_retention_policies Get chat retention policies

List the app's chat data-retention policies (old-messages, inactive-channels) with their max_age_hours and when each was enabled. An empty list means nothing is auto-deleted.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_retention_policy_runs Get chat retention policy runs

History of retention cleanup runs: per day and policy, how many messages and channels were hard-deleted. Use it to confirm what a retention policy actually removed.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_set_retention_policy Set chat retention policy

Enable or update a chat retention policy. Matching data is HARD-DELETED and cannot be recovered; cleanup starts after a 24-hour grace period and runs in the background. Stream emails every admin on the team when a policy is enabled or updated. Setting an existing policy again replaces its max_age_hours.

ParameterTypeDescription
max_age_hours *integerDelete data older than this many hours. Stream accepts 24 to 87600 (10 years).
policy *stringold-messages deletes messages older than max_age_hours; inactive-channels deletes channels whose latest of created_at, updated_at and last_message_at is older than max_age_hours
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_delete_retention_policy Delete chat retention policy

Turn off a chat retention policy so Stream stops auto-deleting that kind of data. Data already deleted is not restored. Succeeds even when the policy is not set.

ParameterTypeDescription
policy *stringold-messages deletes messages older than max_age_hours; inactive-channels deletes channels whose latest of created_at, updated_at and last_message_at is older than max_age_hours
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_import_url Create import upload URL

Step 1 of a chat data import: get a short-lived presigned upload_url to PUT the import JSON file to, and the path to pass to chat_create_import once it is uploaded. Creates nothing in the app by itself.

ParameterTypeDescription
filenamestringName for the uploaded file, e.g. import.json
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_create_import Start chat data import

Step 2 of a chat data import: start importing an uploaded file (path from chat_create_import_url, max 300 MB). insert skips items that already exist. upsert is NOT a partial update: for existing items, fields missing from the file are reset to their defaults and custom data is replaced (blocked users are merged). Imports never delete data. Runs asynchronously — follow it with chat_get_import; Stream advises allowing up to 7 days for a full migration.

ParameterTypeDescription
mode *stringinsert: skip existing items. upsert: replace existing items (destructive).
path *stringThe path returned by chat_create_import_url
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_list_imports List chat data imports

List the app's chat data imports with their state and state history.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

chat_get_import Get chat data import

Get one chat data import's state and its state-transition history — use it to follow an import started with chat_create_import.

ParameterTypeDescription
id *stringImport task ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_ban_user Ban user

Ban a user app-wide, or from one channel when `channel_cid` is given. A shadow ban lets the user keep posting while hiding their messages from everyone else.

ParameterTypeDescription
banned_by_id *stringModerator performing the ban
target_user_id *stringUser ID to ban
ban_from_future_channelsbooleanAlso ban the user from every channel banned_by_id creates from now on. moderation_unban_user does not lift this part; see moderation_query_future_channel_bans.
channel_cidstringBan from this channel only, e.g. 'messaging:general'. Omit for an app-wide ban.
delete_messagesstringAlso delete the user's existing messages
ip_banbooleanAlso ban the user's IP address
reasonstringReason recorded with the ban
shadowbooleanShadow ban — the user can still post, but only they see their messages
timeoutintegerBan duration in minutes. Omit for a permanent ban.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_unban_user Unban user

Lift a ban. Pass the same `channel_cid` that was used to ban, or omit it to lift an app-wide ban. `banned_by_id` selects which ban to lift when a user was banned by several moderators.

ParameterTypeDescription
target_user_id *stringUser ID to unban
banned_by_idstringModerator who created the ban being lifted. Only needed to disambiguate between bans by different moderators.
channel_cidstringChannel the ban was applied to. Omit for an app-wide unban.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_flag_message Flag content for review

Flag a message (or other entity) for moderator review. The flag lands in the review queue — see moderation_query_review_queue.

ParameterTypeDescription
entity_id *stringID of the entity to flag (a message ID for messages)
user_id *stringUser raising the flag
customobjectCustom key/value data stored on the object
entity_creator_idstringUser who created the flagged entity
entity_typestringType of entity being flagged
reasonstringReason for the flag, e.g. 'spam', 'hate'
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_banned_users Query banned users

List current bans. Common filters: {user_id: {$eq: 'alice'}}, {channel_cid: {$eq: 'messaging:general'}}, {banned_by_id: {$eq: 'mod'}}.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_future_channel_bans Query future channel bans

List future-channel bans: a user banned with ban_from_future_channels is blocked from every channel the banning user creates later. Pass user_id (the banning user) to see whom they banned, or target_user_id to see who banned that user — one is required. moderation_unban_user does NOT lift a future-channel ban (verified). Stream's review-queue unban action has an option for it: moderation_submit_action with payload {unban: {remove_future_channels_ban: true}}.

ParameterTypeDescription
exclude_expired_bansbooleanLeave out bans that have expired
include_totalbooleanAlso return the total number of matching bans (capped at 100000)
limitintegerBans to return
offsetintegerBans to skip
target_user_idstringThe banned user: list who banned them
user_idstringThe banning user: list whom they banned
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_mute_user Mute user

Mute one or more users on behalf of another user. Muted users' messages are hidden from the muting user only.

ParameterTypeDescription
target_ids *arrayUser IDs to mute
user_id *stringUser doing the muting
timeoutintegerMute duration in minutes. Omit for indefinite.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_unmute_user Unmute user

Remove a user-level mute, so the muted user's messages become visible again to the user who muted them.

ParameterTypeDescription
target_ids *arrayUser IDs to unmute
user_id *stringUser who created the mute
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_flags Query moderation flags

List moderation flags. Common filters: {entity_type: {$eq: 'stream:chat:v1:message'}}, {reporter_id: {$eq: 'alice'}}, {reviewed: false}.

ParameterTypeDescription
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_review_queue Query review queue

List items awaiting moderator review. Common filters: {entity_type: {$eq: 'stream:chat:v1:message'}}, {status: {$in: ['pending', 'flagged']}} for items still awaiting review (Stream accepts unknown filter fields silently, so a misspelt field returns an empty list rather than an error). Act on an item with moderation_submit_action.

ParameterTypeDescription
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
stats_onlybooleanReturn only aggregate counts, not the items
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_submit_action Act on a review queue item

Resolve a review queue item: mark it reviewed, delete the content, ban or unban the user, and so on. Get `item_id` from moderation_query_review_queue. Action-specific options go in `payload`, keyed by the action type (e.g. {ban: {timeout: 60, reason: 'spam'}}).

ParameterTypeDescription
action_type *stringAction to take on the item
item_id *stringReview queue item ID
payloadobjectAction-specific options, keyed by action type, e.g. {ban: {timeout: 60, reason: 'spam'}} or {delete_message: {hard_delete: true}}
user_idstringModerator performing the action
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_check Check content against moderation policy

Run text through the app's moderation policy without posting it, returning the recommended action. Useful for pre-screening user-generated content.

ParameterTypeDescription
entity_creator_id *stringUser who authored the content
entity_id *stringAn ID for the content being checked
text *stringThe text to check
config_keystringModeration config to check against
entity_typestringType of entity being checked
test_modebooleanEvaluate without recording a moderation result
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_logs Query moderation logs

List moderation actions taken on the app — who did what, to whom, and when.

ParameterTypeDescription
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_list_blocklists List blocklists

List the app's word blocklists, including Stream's built-in lists. Blocklists are attached to a channel type to take effect.

ParameterTypeDescription
teamstringRestrict to a team (multi-tenant apps)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_blocklist Get blocklist

Get one blocklist and its words.

ParameterTypeDescription
name *stringBlocklist name
teamstringTeam the blocklist belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_create_blocklist Create blocklist

Create a word blocklist. Attach it to a channel type with chat_update_channel_type to enforce it.

ParameterTypeDescription
name *stringUnique blocklist name
words *arrayWords or patterns to block
is_leet_check_enabledbooleanAlso match leetspeak substitutions
is_plural_check_enabledbooleanAlso match plural forms
is_substring_matching_enabledbooleanMatch the words anywhere inside a longer word
teamstringTeam the blocklist belongs to
typestringHow the entries are interpreted. Default: word.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_update_blocklist Update blocklist

Update a blocklist. `words` replaces the entire list — read the current words with moderation_get_blocklist first if you are adding to it.

ParameterTypeDescription
name *stringBlocklist name
is_leet_check_enabledbooleanAlso match leetspeak substitutions
is_plural_check_enabledbooleanAlso match plural forms
is_substring_matching_enabledbooleanMatch the words anywhere inside a longer word
teamstringTeam the blocklist belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.
wordsarrayReplacement word list

moderation_delete_blocklist Delete blocklist

Delete a custom blocklist. Stream's built-in lists cannot be deleted.

ParameterTypeDescription
name *stringBlocklist name to delete
teamstringTeam the blocklist belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_configs Query moderation configs

List moderation policy configurations with optional filtering, sorting and cursor pagination. Each row shows the config's key, team, timestamps and which policy sections are set; read one config's sections with moderation_get_config.

ParameterTypeDescription
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_config Get moderation config

Get a single moderation policy configuration by its key and optional team.

ParameterTypeDescription
key *stringModeration config key, e.g. 'default' or 'messaging:default'
teamstringTeam the moderation config belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_upsert_config Upsert moderation config

Create or replace a moderation policy configuration for text, image, video, audio, blocklists, LLM, circumvention, semantic filters, flood or toxicity. This is a full replace — any section you omit is cleared on an existing key, so read it with moderation_get_config first and send every section you want to keep.

moderation_delete_config Delete moderation config

Delete a moderation policy configuration by its key and optional team.

ParameterTypeDescription
key *stringModeration config key to delete
teamstringTeam the moderation config belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_rules Query moderation rules

List custom moderation rules with optional filtering, sorting and cursor pagination.

ParameterTypeDescription
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_rule Get moderation rule

Get a single moderation rule by its unique ID, including its conditions and actions.

ParameterTypeDescription
id *stringModeration rule ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_upsert_rule Upsert moderation rule

Create or replace a moderation rule with conditions, target config keys and automated actions. Upserting an existing rule overwrites it — read it with moderation_get_rule first when editing.

moderation_delete_rule Delete moderation rule

Delete a custom moderation rule by its unique ID.

ParameterTypeDescription
id *stringModeration rule ID to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_review_queue_item Get review queue item

Get a single moderation review queue item by ID, including its flags and moderation payload.

ParameterTypeDescription
id *stringReview queue item ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_appeal Submit moderation appeal

Submit an appeal against a moderation decision on a message, user or other entity.

ParameterTypeDescription
appeal_reason *stringExplanation for why the moderation action should be overturned
entity_id *stringID of the moderated entity being appealed
entity_type *stringEntity type, e.g. 'stream:chat:v1:message' or 'stream:user'
user_id *stringUser ID submitting the appeal
channel_cidstringChannel CID associated with the appeal (only used for channel-ban appeals), e.g. 'messaging:general'
review_queue_item_idstringReview queue item ID associated with the moderation action
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_appeal Get moderation appeal

Get a single moderation appeal by its unique ID, including its status and history.

ParameterTypeDescription
id *stringAppeal ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_query_appeals Query moderation appeals

List moderation appeals with optional filtering, sorting and cursor pagination.

ParameterTypeDescription
filterobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_flag_count Get flag count for a user

Count how many flags a user's content has received, optionally for one entity type. A quick repeat-offender check before moderation_query_flags; returns 0 for users with no flags.

ParameterTypeDescription
entity_creator_id *stringUser ID whose content was flagged
entity_typestringEntity type filter, e.g. stream:chat:v1:message or stream:user
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_list_policy_test_sets List policy test sets

List the app's moderation policy test sets (Stream "Evaluations"): fixed batches of content re-run through a policy to see how a rule change would decide them. Each set shows its latest run.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_policy_test_set Get policy test set

Get a policy test set with its rows, its last 10 runs (newest first) and baseline_run_id — the first completed run, which later runs are scored against.

ParameterTypeDescription
id *stringPolicy test set ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_create_policy_test_set Create policy test set

Create a policy test set to dry-run a moderation policy before changing it with moderation_upsert_config or moderation_upsert_rule. Pass either rows (your own content with expected labels/actions) or seed (sample up to 1000 recent production items) — exactly one. Set text is frozen, so later runs stay comparable. Run it with moderation_start_policy_test_run.

ParameterTypeDescription
name *stringSet name, unique within the app
config_keystringModeration config key every row runs against. Omit to replay each row under the policy it originally ran under (seeded sets).
modestringExecution target: check (the moderation check pipeline) or labels (the Labels API). Default: labels when the org has the Labels API enabled, else check. check-mode runs need an AI provider (LLM or Bod…
rowsarrayContent to test (max 1000). Mutually exclusive with seed.
seedobjectSample production content instead of passing rows. Fails if nothing matches. Mutually exclusive with rows.
teamstringTeam scope for the config (multi-tenant apps)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_delete_policy_test_set Delete policy test set

Permanently delete a policy test set and all its runs and results. Stream refuses while a run is pending or running.

ParameterTypeDescription
id *stringPolicy test set ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_start_policy_test_run Start policy test run

Run a policy test set through its policy's current configuration. Each row is a real moderation call, billed at production rates. Asynchronous: returns a pending run — poll moderation_get_policy_test_run until it finishes (Terminal statuses are completed, error and cancelled). Only one run per set may be in progress, and the first completed run becomes the baseline later runs are scored against.

ParameterTypeDescription
id *stringPolicy test set ID
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

moderation_get_policy_test_run Get policy test run

Get a policy test run's status, progress (rows_completed / rows_total) and, once finished, per-row results: expected vs actual labels and action, passed, and failure_reason (label_mismatch, action_mismatch, provider_error, policy_not_found). Terminal statuses are completed, error and cancelled; results are absent until then. metrics totals appear on runs after the baseline.

ParameterTypeDescription
id *stringPolicy test run ID
only_failedbooleanReturn only rows that failed or could not be scored (passed is not true)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_create_call Create or get call

Create a video/audio call, or return it if it already exists. Built-in types: 'default' (group call), 'livestream' (broadcast), 'audio_room', 'development'. Users still need a token to join — mint one with auth_create_call_token.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
created_by_id *stringUser ID of the call creator
customobjectCustom key/value data stored on the object
membersarrayInitial members — user IDs or {user_id, role} objects
notifybooleanSend a notification to the members without ringing
ringbooleanRing the members (triggers incoming-call notifications)
settings_overrideobjectCall settings to override, e.g. {recording: {mode: 'available', quality: '1080p'}, audio: {mic_default_on: true}, backstage: {enabled: true}, screensharing: {enabled: false}}
starts_atstringISO-8601 scheduled start time, e.g. '2026-09-01T15:00:00Z'
teamstringTeam the call belongs to (multi-tenant apps)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_call Get call

Get a call's current state: settings, members, session, ingress (RTMP/SRT) addresses and egress (HLS) URLs.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
members_limitintegerMax results to return (default: 25, max: 100)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_update_call Update call

Update a call's settings, custom data or scheduled start time. Settings are merged, so only the keys you pass change.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
customobjectCustom key/value data stored on the object
settings_overrideobjectCall settings to override, e.g. {recording: {mode: 'available', quality: '1080p'}, audio: {mic_default_on: true}, backstage: {enabled: true}, screensharing: {enabled: false}}
starts_atstringISO-8601 scheduled start time, e.g. '2026-09-01T15:00:00Z'
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_end_call End call

End an active call and disconnect every participant. The call object remains and can be rejoined unless deleted.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_calls Query calls

Search and filter calls. Common filters: {ongoing: {$eq: true}} for live calls, {backstage: {$eq: false}}, {created_by_user_id: {$eq: 'alice'}}, {starts_at: {$gt: '2026-09-01T00:00:00Z'}} for upcoming. Page with the returned `next` cursor.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 10, max: 25)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_delete_call Delete call

Delete a call. Soft delete by default. `hard: true` permanently removes the call and its recordings and frees the id.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
hardbooleanPermanently delete. Irreversible. Default: false.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_go_live Go live

Take a call out of backstage and make it live for viewers. Can start recording, HLS broadcasting, transcription and closed captions in the same call. Backstage must be enabled first, on the call type or per call via video_update_call `settings_override: {backstage: {enabled: true}}` — otherwise Stream rejects this with "backstage is not enabled for call types <type>" (it is off on the built-in `default` type).

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
recording_storage_namestringExternal storage name for recordings
start_closed_captionbooleanAlso start closed captions
start_hlsbooleanAlso start HLS broadcasting
start_recordingbooleanAlso start recording
start_transcriptionbooleanAlso start transcription
transcription_storage_namestringExternal storage name for transcriptions
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_live Stop live

Put a live call back into backstage. By default this also stops recording, HLS, transcription and RTMP broadcasts — pass the matching `continue_*` flag to keep one running. Needs backstage enabled on the call or its type, same as video_go_live.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
continue_closed_captionbooleanKeep closed captions running
continue_hlsbooleanKeep HLS broadcasting running
continue_recordingbooleanKeep recording running
continue_rtmp_broadcastsbooleanKeep RTMP broadcasts running
continue_transcriptionbooleanKeep transcription running
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_ring_call Ring call members

Send an incoming-call ring to the call's members, triggering their ringing UI and push notifications.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
member_idsarrayRestrict the ring to these member IDs. Omit to ring all members.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.
videobooleanRing as a video call rather than audio-only

video_send_call_event Send custom call event

Broadcast a custom real-time event to everyone in a call, e.g. {custom: {'render-animation': 'balloons'}}.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
custom *objectEvent payload
user_id *stringUser the event is attributed to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_call_report Get call report

Get quality and participation statistics for a finished call session — participants, duration, latency and jitter. Richer than video_query_call_stats but retained only for a limited window, after which Stream answers "call report data expired"; use video_query_call_stats for durations older than that. Stream empties `session.participants` once a session ends, so that list being empty is Stream's own behaviour, not compaction.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session_idstringSpecific session ID. Omit for the latest session.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_call_stats Query call stats

Query aggregated call quality statistics across calls — one row per call session, with `call_duration_seconds`. This is the bulk, non-expiring source of session durations: it reaches back to the app's first call, where video_get_call_report expires. Filter by {call_cid: {$eq: 'default:my-call'}}. A time range needs an explicit $and of single-operator expressions, because Stream rejects two operators on one field: {$and: [{created_at: {$gt: '2026-06-01T00:00:00Z'}}, {created_at: {$lt: '2026-09-01T00:00:00Z'}}]}.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 10, max: 25)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_edges List edge servers

List Stream's video edge servers and their current latency and health.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_update_call_members Update call members

Add, update the role of, or remove members on a call. Adding a member does not admit them — they still need a token.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
remove_membersarrayUser IDs to remove
update_membersarrayMembers to add or update — user IDs or {user_id, role} objects
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_call_members Query call members

Search and filter the members of a call. Common filters: {role: {$eq: 'host'}}, {user_id: {$in: ['alice','bob']}}.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_block_user Block user from call

Block a user from a call. They are removed if currently connected and cannot rejoin until unblocked.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
user_id *stringUser ID to block
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_unblock_user Unblock user from call

Remove a call-level block, allowing the user to rejoin.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
user_id *stringUser ID to unblock
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_mute_users Mute users in call

Mute participants in a call. Pass `user_ids` for specific people or `mute_all_users: true` for everyone. Audio is muted unless you explicitly set `audio: false`.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
muted_by_id *stringModerator performing the mute
audiobooleanMute audio. Default: true.
mute_all_usersbooleanMute every user in the call
screensharebooleanStop screensharing. Default: false.
screenshare_audiobooleanMute screenshare audio. Default: false.
user_idsarrayUser IDs to mute
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.
videobooleanMute video. Default: false.

video_query_call_participants Query call participants

List users connected to a call's active session, filtered by user ID or by which tracks they are publishing. Unlike members, participants are people actually in the call right now — this reports the CURRENTLY LIVE session only, so a call whose session has ended returns an empty list; use video_get_call_report for a session that is over. Stream requires at least one filter, so pass `user_ids` and/or `published_tracks`.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
limitintegerMax results to return (default: 25, max: 100)
published_tracksarrayRestrict to participants publishing these track types
user_idsarrayRestrict to these user IDs
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_kick_user Kick user from call

Disconnect a user from the active call session. Unlike blocking, they may rejoin unless `block` is set.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
user_id *stringUser ID to kick
blockbooleanAlso block them from rejoining
kicked_by_idstringModerator performing the kick
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_update_user_permissions Grant or revoke call permissions

Grant or revoke a user's per-call capabilities. Common permissions: 'send-audio', 'send-video', 'screenshare'.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
user_id *stringUser whose permissions change
grant_permissionsarrayPermissions to grant
revoke_permissionsarrayPermissions to revoke
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_pin Pin participant video

Pin a participant's video for everyone in the call session. Requires the session ID from video_get_call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session_id *stringCall session ID (from video_get_call → call.session.id)
user_id *stringUser whose video is pinned
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_unpin Unpin participant video

Remove a server-side video pin.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session_id *stringCall session ID
user_id *stringUser whose pin is removed
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_start_recording Start recording

Start recording a call. The call must have an active session with at least one participant, and its recording mode must not be 'disabled' (set it with video_update_call).

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
recording_external_storagestringName of a configured external storage target
recording_typestringRecording layout: 'composite' (all participants in one file, the usual choice), 'individual' (one file per participant), 'raw' (unprocessed tracks). Default: composite.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_recording Stop recording

Stop an in-progress recording. `recording_type` must match the type that was started.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
recording_typestringRecording layout: 'composite' (all participants in one file, the usual choice), 'individual' (one file per participant), 'raw' (unprocessed tracks). Default: composite.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_list_recordings List recordings

List a call's recordings, with their session ids, filenames and download URLs.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_start_transcription Start transcription

Start transcribing a call. The call must have an active session, and transcription must be enabled on the call type.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
enable_closed_captionsbooleanAlso emit live closed captions
languagestringSpoken language in the call, e.g. 'en', 'es', 'fr', 'hi', 'ja'. Use 'auto' to detect. Default: auto.
transcription_external_storagestringName of a configured external storage target
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_transcription Stop transcription

Stop an in-progress transcription.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
stop_closed_captionsbooleanAlso stop closed captions
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_list_transcriptions List transcriptions

List a call's transcriptions, with their session ids, filenames and download URLs.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_delete_recording Delete recording

Permanently delete one recording. Get `session` and `filename` from video_list_recordings.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
filename *stringRecording filename
session *stringCall session ID the recording belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_delete_transcription Delete transcription

Permanently delete one transcription. Get `session` and `filename` from video_list_transcriptions.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
filename *stringTranscription filename
session *stringCall session ID the transcription belongs to
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_start_closed_captions Start closed captions

Start live closed captions on an active call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
enable_transcriptionbooleanAlso store a transcription
external_storagestringExternal storage name
languagestringSpoken language in the call, e.g. 'en', 'es', 'fr', 'hi', 'ja'. Use 'auto' to detect. Default: auto.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_closed_captions Stop closed captions

Stop live closed captions on a call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
stop_transcriptionbooleanAlso stop the transcription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_start_hls_broadcasting Start HLS broadcast

Start HLS broadcasting for a livestream call. The playlist URL appears on the call's `egress.hls` field (see video_get_call).

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_hls_broadcasting Stop HLS broadcast

Stop HLS broadcasting for a call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_start_rtmp_broadcasts Start RTMP broadcasts

Restream a call to external RTMP endpoints such as YouTube Live or Twitch. Each broadcast needs a unique `name` and a `stream_url`.

ParameterTypeDescription
broadcasts *arrayRTMP destinations
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_rtmp_broadcast Stop one RTMP broadcast

Stop a single named RTMP broadcast on a call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
name *stringName the broadcast was started with
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_all_rtmp_broadcasts Stop all RTMP broadcasts

Stop every RTMP broadcast running on a call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_list_call_types List call types

List the app's call types with their headline settings. Returns a summary — use video_get_call_type for one type's full settings and permission grants.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_call_type Get call type

Get one call type's configuration and its permission grants. Composite-layout styling options and the ingress encoder ladder are summarised rather than listed — pass verbose:true for those values.

ParameterTypeDescription
name *stringCall type name, e.g. 'default'
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_create_call_type Create call type

Create a custom call type. A call type's name is immutable once created, and existing calls keep the type they were created with.

ParameterTypeDescription
name *stringUnique call type name
external_storagestringDefault external storage name
grantsobjectPermission grants keyed by role, e.g. {host: ['join-call','send-audio','send-video'], user: ['join-call']}
settingsobjectCall settings, e.g. {audio: {mic_default_on: true}, video: {camera_default_on: true}, recording: {mode: 'available'}, backstage: {enabled: false}, transcription: {mode: 'available'}}
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_update_call_type Update call type

Update a call type's default settings or permission grants. Applies app-wide to every call of that type.

ParameterTypeDescription
name *stringCall type name
external_storagestringDefault external storage name
grantsobjectPermission grants keyed by role, e.g. {host: ['join-call','send-audio','send-video'], user: ['join-call']}
settingsobjectCall settings, e.g. {audio: {mic_default_on: true}, video: {camera_default_on: true}, recording: {mode: 'available'}, backstage: {enabled: false}, transcription: {mode: 'available'}}
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_delete_call_type Delete call type

Delete a custom call type. Fails if calls of that type still exist. Built-in types cannot be deleted.

ParameterTypeDescription
name *stringCall type name to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_active_calls_status Get active calls status

Get a real-time summary of currently active calls and participant counts across the application.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_aggregate_call_stats Query aggregate call stats

Query application-wide aggregated call statistics and quality reports over a YYYY-MM-DD date range.

ParameterTypeDescription
fromstringStart date of the reporting window in YYYY-MM-DD format
report_typesarraySpecific aggregate report types to include (defaults to all available report types when omitted)
tostringEnd date of the reporting window in YYYY-MM-DD format
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_call_session_stats Query call session stats

Query per-session call statistics and quality metrics with optional filtering, sorting and pagination.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_call_participant_stats Query call participant stats

Query per-participant quality and connection statistics for a specific call session.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session *stringCall session ID
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_participant_stats_timeline Get participant stats timeline

Get the chronological timeline of events and quality metrics for a participant in a call session.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session *stringCall session ID
user *stringUser ID of the participant
user_session *stringParticipant's user session ID
end_timestringISO-8601 end timestamp to filter timeline events
severityarrayFilter timeline events by severity levels, e.g. ['warning', 'error']
start_timestringISO-8601 start timestamp to filter timeline events
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_user_feedback Query call user feedback

Query user ratings and feedback submitted for calls, with optional filtering, sorting and pagination.

ParameterTypeDescription
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
fullbooleanInclude full call and session details with each feedback entry
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
sortarraySort parameters, applied in order
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_start_frame_recording Start frame recording

Start capturing periodic video frames from an active call for moderation or analysis.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
recording_external_storagestringName of a configured external storage target for recorded frames
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_stop_frame_recording Stop frame recording

Stop an in-progress periodic video frame recording on a call.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_send_closed_caption Send closed caption

Send a live closed caption segment to an active call on behalf of a speaker.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
speaker_id *stringIdentifier of the speaker
text *stringClosed caption text
user_id *stringUser ID attributed to the caption
languagestringLanguage code of the caption text
translatedbooleanWhether the caption text is a translation of the original speech
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_list_sip_trunks List SIP trunks

List all inbound SIP trunks configured for the application.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_create_sip_trunk Create SIP trunk

Create an inbound SIP trunk with associated phone numbers and optional IP allowlist.

ParameterTypeDescription
name *stringName of the SIP trunk
numbers *arrayPhone numbers associated with this SIP trunk
allowed_ipsarrayAllowed IPv4/IPv6 addresses or CIDR blocks
passwordstringPassword for SIP trunk authentication
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_update_sip_trunk Update SIP trunk

Replace an existing inbound SIP trunk's name, phone numbers, allowed IPs or password.

ParameterTypeDescription
id *stringSIP trunk ID to update
name *stringUpdated name of the SIP trunk
numbers *arrayUpdated phone numbers associated with this SIP trunk
allowed_ipsarrayUpdated allowed IPv4/IPv6 addresses or CIDR blocks
passwordstringUpdated password for SIP trunk authentication
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_delete_sip_trunk Delete SIP trunk

Permanently delete an inbound SIP trunk by its unique ID.

ParameterTypeDescription
id *stringSIP trunk ID to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_list_sip_routing_rules List SIP routing rules

List all inbound SIP routing rules that map incoming calls to Stream video calls.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_create_sip_routing_rule Create SIP routing rule

Create an inbound SIP routing rule that routes calls from SIP trunks to Stream video calls via direct or PIN routing. Requires at least one of direct_routing_configs or pin_routing_configs.

ParameterTypeDescription
caller_configs *objectCaller user creation and mapping configuration for routed SIP calls
name *stringName of the SIP inbound routing rule
trunk_ids *arraySIP trunk IDs this routing rule applies to
call_configsobjectOptional custom data configuration for the routed Stream call
called_numbersarrayDialed phone numbers matched by this rule
caller_numbersarrayCaller phone numbers matched by this rule
direct_routing_configsobjectDirect routing configuration mapping inbound SIP calls to a target call
pin_protection_configsobjectPIN protection settings for inbound SIP calls
pin_routing_configsobjectPIN-based routing configuration for inbound SIP calls
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_update_sip_routing_rule Update SIP routing rule

Replace an inbound SIP routing rule by ID. This is a full replace: any field you omit (called_numbers, caller_numbers, call_configs, direct_routing_configs, pin_routing_configs, pin_protection_configs) is cleared, so read the rule with video_list_sip_routing_rules first and send everything you want to keep. Requires at least one of direct_routing_configs or pin_routing_configs.

ParameterTypeDescription
caller_configs *objectCaller user creation and mapping configuration for routed SIP calls
id *stringSIP routing rule ID to replace
name *stringName of the SIP inbound routing rule
trunk_ids *arraySIP trunk IDs this routing rule applies to
call_configsobjectOptional custom data configuration for the routed Stream call
called_numbersarrayDialed phone numbers matched by this rule
caller_numbersarrayCaller phone numbers matched by this rule
direct_routing_configsobjectDirect routing configuration mapping inbound SIP calls to a target call
pin_protection_configsobjectPIN protection settings for inbound SIP calls
pin_routing_configsobjectPIN-based routing configuration for inbound SIP calls
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_delete_sip_routing_rule Delete SIP routing rule

Permanently delete an inbound SIP routing rule by its unique ID.

ParameterTypeDescription
id *stringSIP routing rule ID to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_call_participant_sessions Query call participant sessions

Attendance for one call session: who joined, when they joined and left, how long they stayed and whether they published, plus session totals. Data exists only once participants have connected media; a call nobody joined returns not found.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session *stringCall session ID (current_session_id or session.id from video_get_call)
filter_conditionsobjectFilter object using Stream query syntax. Operators: $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $exists, $and, $or, $autocomplete, $contains.
limitintegerMax results to return (default: 25, max: 100)
nextstringCursor from a previous response's `next` field
prevstringCursor from a previous response's `prev` field
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_participant_session_metrics Get participant session metrics

Connection and media metrics for one participant's session in a call: client details, publisher/subscriber role and per-track publish metrics. Find the user_session_id with video_query_call_participant_sessions. Returns not found until the participant has published stats.

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
session *stringCall session ID
user *stringUser ID of the participant
user_session *stringThe participant's user_session_id
sincestringOnly include metrics from this time (ISO 8601)
untilstringOnly include metrics up to this time (ISO 8601)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_query_call_ring_attempts Query call ring attempts

Ringing diagnostics for a call, newest first: who rang whom, the attempt's outcome and how it settled, and each target's state and push/websocket deliveries. Use it to answer "why didn't their phone ring".

ParameterTypeDescription
call_id *stringCall ID
call_type *stringCall type: 'default', 'livestream', 'audio_room', 'development', or a custom type
call_session_idstringLimit to one call session. Omit to read every session of the call.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

video_get_daily_digest Get video daily digest

The app's video daily digest: per-call-session participant counts and broadcast rollups for one UTC day. Defaults to the previous UTC day. A day not yet processed comes back with status "pending" and retry_after (seconds) instead of data.

ParameterTypeDescription
datestringUTC day as YYYY-MM-DD (default: the previous UTC day)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_get_settings Get app settings

Read the Stream app's configuration: enabled features, permission version, webhook URLs, push providers, file upload rules and channel/call type summaries.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_update_settings Update app settings

Update the Stream app's configuration. Changes are global and take effect immediately — read the current settings with app_get_settings first. Pass only the keys you intend to change, e.g. {webhook_url: 'https://…'} or {multi_tenant_enabled: true}.

ParameterTypeDescription
settings *objectSettings to change, e.g. {webhook_url: 'https://example.com/hook', webhook_events: ['message.new'], async_url_enrich_enabled: true}
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_get_rate_limits Get rate limits

Read the app's current API rate limits and remaining quota. With no `endpoints`, only the endpoints with quota already consumed are listed, out of ~230. Naming endpoints returns their ceilings whether or not any quota has been used. Note that video endpoints are almost absent from this endpoint — of 233 server-side entries only DeleteCall and VideoConnect are video — so a video ceiling has to be read from the `metadata.rateLimit` any video tool returns.

ParameterTypeDescription
endpointsstringComma-separated endpoint names to narrow the result, e.g. 'QueryChannels,SendMessage'. Names Stream does not recognise come back under `unmatched_endpoints` rather than being dropped silently.
server_sidebooleanInclude server-side limits (default: true)
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_get_task Get async task status

Poll an asynchronous task started by chat_export_channels or users_delete. Returns its status and, once complete, the result or download URL.

ParameterTypeDescription
task_id *stringTask ID returned by the operation
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_list_roles List roles

List all built-in and custom roles defined in the Stream application.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_create_role Create custom role

Create a new custom role in the Stream application that can be assigned to users or members.

ParameterTypeDescription
name *stringName of the custom role to create
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_delete_role Delete custom role

Delete a custom role from the Stream application by its name. Built-in roles cannot be deleted.

ParameterTypeDescription
name *stringName of the custom role to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_list_permissions List permissions

List all available permissions in the Stream application that can be granted to roles.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_get_permission Get permission

Retrieve details of a specific permission by its ID, including its condition and action definition.

ParameterTypeDescription
id *stringPermission ID to retrieve
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_list_push_providers List push providers

List all configured push notification providers (APN, Firebase, Huawei, or Xiaomi) on the app.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_upsert_push_provider Create or update push provider

Create or replace a named push notification provider configuration (APN, Firebase, Huawei, or Xiaomi).

ParameterTypeDescription
name *stringUnique name for this push provider configuration
type *stringPush notification provider type
apn_auth_keystringAPNs .p8 authentication key content
apn_auth_typestringAPNs authentication: token (.p8 key via apn_auth_key, apn_key_id, apn_team_id) or certificate (.p12 via apn_p12_cert)
apn_developmentbooleanWhether to use the APNs development/sandbox environment
apn_hoststringOverride the APNs host, e.g. https://api.sandbox.push.apple.com
apn_key_idstringAPNs key ID
apn_p12_certstringBase64 of a password-less APNs .p12 certificate, for apn_auth_type certificate. Stream rejects AES-encrypted .p12 files; with OpenSSL 3 export using `openssl pkcs12 -export -legacy`.
apn_team_idstringApple developer team ID
apn_topicstringAPNs bundle identifier / topic
descriptionstringHuman-readable description of the push provider
disabled_atstringISO-8601 timestamp if the provider is disabled
disabled_reasonstringReason the push provider was disabled
firebase_credentialsstringFirebase service account credentials JSON string
huawei_app_idstringHuawei Push Kit application ID
huawei_app_secretstringHuawei Push Kit application secret
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.
xiaomi_app_secretstringXiaomi Push application secret
xiaomi_package_namestringXiaomi application package name

app_delete_push_provider Delete push provider

Delete a named push notification provider configuration from the Stream application.

ParameterTypeDescription
name *stringPush provider name to delete
type *stringPush notification provider type
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_check_push Check push notifications

Test push notification delivery and template rendering for a user or message across configured push providers. Delivers real push notifications to the user's devices unless skip_devices is true.

ParameterTypeDescription
user_id *stringUser ID whose devices to test push delivery against (required by Stream)
event_typestringEvent type to render push template for
message_idstringMessage ID to render and test push payload for
push_provider_namestringNamed push provider configuration to test
push_provider_typestringPush notification provider type
skip_devicesbooleanSkip device lookup and only validate template rendering
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_verify_webhook Verify webhook signature

Verify the HMAC-SHA256 X-Signature header of an incoming Stream webhook payload against the app's API secret.

ParameterTypeDescription
raw_body *stringRaw HTTP request body string signed by Stream
signature *stringHex signature from the X-Signature HTTP header
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_list_external_storage List external storage

List all external storage buckets (S3, GCS, Azure Blob) configured on the Stream application.

ParameterTypeDescription
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_create_external_storage Create external storage

Register an external cloud storage bucket (AWS S3, Google Cloud Storage, or Azure Blob) for recordings and exports.

ParameterTypeDescription
bucket *stringBucket or container name on the storage provider
name *stringUnique name for the external storage configuration
storage_type *stringCloud storage provider type: s3, gcs, or abs
aws_s3objectAmazon S3 region and optional credentials (omit s3_api_key and s3_secret to use IAM role authentication)
azure_blobobjectAzure Blob Storage account credentials
gcs_credentialsstringGoogle Cloud Storage service account JSON credentials string
pathstringKey prefix path inside the bucket for stored files
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_update_external_storage Update external storage

Replace an existing external cloud storage configuration (AWS S3, GCS, or Azure Blob) by name.

ParameterTypeDescription
bucket *stringBucket or container name on the storage provider
name *stringUnique name for the external storage configuration
storage_type *stringCloud storage provider type: s3, gcs, or abs
aws_s3objectAmazon S3 region and optional credentials (omit s3_api_key and s3_secret to use IAM role authentication)
azure_blobobjectAzure Blob Storage account credentials
gcs_credentialsstringGoogle Cloud Storage service account JSON credentials string
pathstringKey prefix path inside the bucket for stored files
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_delete_external_storage Delete external storage

Delete an external cloud storage configuration from the Stream application by its name.

ParameterTypeDescription
name *stringName of the external storage configuration to delete
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_check_external_storage Check external storage

Test connectivity and write permissions for a configured external storage bucket by its name.

ParameterTypeDescription
name *stringName of the external storage configuration to test
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_check_sqs Check SQS webhook target

Test that Stream can publish to an AWS SQS queue by sending it a test message. Pass sqs_url with sqs_key/sqs_secret to test a queue before saving it, or nothing to test the queue saved on the app. Returns status "ok" or "error"; on error, `error` carries the provider's message (e.g. InvalidClientTokenId, topic not found). Credentials are never echoed back.

ParameterTypeDescription
sqs_keystringAWS access key ID
sqs_secretstringAWS secret access key
sqs_urlstringQueue URL, e.g. https://sqs.us-east-1.amazonaws.com/123/queue
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_check_sns Check SNS webhook target

Test that Stream can publish to an AWS SNS topic by sending it a test message. Pass sns_topic_arn with sns_key/sns_secret to test a topic before saving it, or nothing to test the topic saved on the app. Returns status "ok" or "error"; on error, `error` carries the provider's message (e.g. InvalidClientTokenId, topic not found). Credentials are never echoed back.

ParameterTypeDescription
sns_keystringAWS access key ID
sns_secretstringAWS secret access key
sns_topic_arnstringTopic ARN, e.g. arn:aws:sns:us-east-1:123:topic
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_check_gcp_pubsub Check Google Pub/Sub webhook target

Test that Stream can publish to a Google Cloud Pub/Sub topic by sending it a test message. Returns status "ok" or "error"; on error, `error` carries the provider's message (e.g. InvalidClientTokenId, topic not found). Credentials are never echoed back.

ParameterTypeDescription
gcp_pubsub_topic *stringFully qualified topic: projects/{project}/topics/{topic}
gcp_pubsub_event_based_ordering_key_enabledbooleanPublish with an ordering key through the regional endpoint, as an ordered hook would
gcp_pubsub_regionstringGCP region for the regional endpoint; required when ordering is enabled
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.

app_query_team_usage_stats Query team usage stats

Chat usage per team (multi-tenant apps): messages, users, engaged users, concurrent connections, translations and image moderations. Pass month for monthly totals, or start_date + end_date for a daily breakdown — not both. Team "" means users with no team.

ParameterTypeDescription
end_datestringRange end as YYYY-MM-DD (with start_date)
limitintegerTeams per page (default 30, max 30)
monthstringMonth as YYYY-MM, for aggregated monthly values
nextstringCursor from a previous page
start_datestringRange start as YYYY-MM-DD (with end_date)
teamstringOne team ID; "" selects users without a team. Cannot be combined with next.
verbosebooleanReturn the full raw Stream response instead of the compacted view. Only use when the compacted result is missing a field you need — raw responses are large.