---
title: "Search threads"
method: GET
path: "/channels/{channel_id}/threads/search"
tags: ["Channels"]
---

# Search threads

`GET /channels/{channel_id}/threads/search`

## Request

- Base URL: `https://web.fluxer.app/api/v1`
- URL: `https://web.fluxer.app/api/v1/channels/{channel_id}/threads/search`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`

Returns threads of the channel that match the search. Requires the read message history permission. While the search index of the guild is being built, responds with 202 and a body that says when to retry.

## Path parameters

- `channel_id` union, required: The ID of the channel
  - string, snowflake
  - integer

## Query parameters

- `name` string: Text to look for in thread names (max 100 characters)
- `slop` string: Accepted for compatibility and ignored (max 100, default 2)
- `tag` SnowflakeType[]: Tag IDs to filter by (max 20)
  - union
    - string, snowflake
    - integer
- `tag_setting` 'match_some' | 'match_all': How posts are filtered when searching by several tags
- `archived` string: Whether to return only archived or only active threads (default both)
- `sort_by` 'last_message_time' | 'archive_time' | 'relevance' | 'creation_time': The sorting algorithm to use
- `sort_order` 'asc' | 'desc': The direction to sort
- `limit` string: Max number of threads to return (1-25, default 25)
- `offset` string: Number of threads to skip (max 9975)
- `max_id` union: Get threads before this thread ID
  - string, snowflake
  - integer
- `min_id` union: Get threads after this thread ID
  - string, snowflake
  - integer

## Response `200`

Success

- union
  - ThreadSearchResponse
    - `threads` ThreadChannelResponse[], required: The threads that match the search
      - `id` string, snowflake, required: The unique identifier (snowflake) for this channel
      - `guild_id` string, snowflake: The ID of the guild this channel belongs to
      - `name` string, nullable: The name of the channel
      - `topic` string, nullable: The topic of the channel
      - `url` string, uri, nullable: The URL associated with the channel
      - `icon` string, nullable: The icon hash of the channel (for group DMs)
      - `owner_id` string, snowflake, nullable
      - `type` 0 | 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 15 | 16 | 998 | 999, required: The type of the channel
      - `position` integer: The sorting position of the channel
      - `parent_id` string, snowflake, nullable
      - `bitrate` integer, nullable
      - `user_limit` integer, nullable
      - `voice_connection_limit` integer, nullable
      - `rtc_region` string, nullable: The voice region ID for the voice channel
      - `rtc_p2p` boolean: Whether calls in the voice channel connect participants directly instead of through a voice server
      - `last_message_id` string, snowflake, nullable
      - `last_pin_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the last pinned message was pinned
      - `permission_overwrites` ChannelOverwriteResponse[]: The permission overwrites for this channel
        - `id` string, snowflake, required: The unique identifier for the role or user this overwrite applies to
        - `type` 0 | 1, required: The type of entity the overwrite applies to
        - `allow` string, int64, required: The bitwise value of allowed permissions
        - `deny` string, int64, required: The bitwise value of denied permissions
      - `recipients` UserPartialResponse[]: The recipients of the DM channel
        - `id` string, snowflake, required: The unique identifier (snowflake) for this user
        - `username` string, required: The username of the user, not unique across the platform
        - `discriminator` string, required: The four-digit discriminator tag of the user
        - `global_name` string, nullable, required: The display name of the user, if set
        - `avatar` string, nullable, required: The hash of the user avatar image
        - `avatar_color` integer, nullable, required
        - `bot` boolean: Whether the user is a bot account
        - `system` boolean: Whether the user is an official system user
        - `flags` integer, required: The public flags on the user account
        - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
      - `nsfw` boolean: Whether the channel is marked as NSFW (effective value, walking channel → category → guild)
      - `nsfw_override` boolean, nullable: Per-channel adult-content override; null means inherit from parent category and then guild. Categories use this same field as their own override.
      - `content_warning_level` 0 | 1: Channel-level content warning override (0=inherit, 1=force-warn)
      - `content_warning_text` string, nullable: Custom channel content warning text (max 200 characters); null inherits from parent or guild
      - `rate_limit_per_user` integer: The slowmode rate limit in seconds
      - `nicks` object: Custom nicknames for users in this channel (for group DMs)
      - `flags` integer: Channel flags
      - `thread_metadata` ThreadMetadataResponse: Thread-specific fields
        - `archived` boolean, required: Whether the thread is archived
        - `auto_archive_duration` integer, required: Minutes of inactivity before the thread stops showing in the channel list
        - `archive_timestamp` string, date-time, required: When the archive status of the thread last changed
        - `locked` boolean, required: Whether only moderators can interact with the thread
        - `invitable` boolean: Whether non-moderators can add other non-moderators (private threads)
        - `create_timestamp` string, date-time, required: When the thread was created
      - `applied_tags` SnowflakeStringType[]: IDs of the tags applied to a forum or media post
      - `message_count` integer: Messages in the thread, excluding the starter and deleted messages
      - `total_message_sent` integer: Messages ever sent in the thread, never decremented
      - `member_count` integer: Approximate number of thread members, capped at 50
      - `member_ids_preview` SnowflakeStringType[]: IDs of the most recently joined members of a forum or media post, newest first
      - `member` ThreadMemberResponse: The thread member object for the current user
        - `id` string, snowflake: The ID of the thread
        - `user_id` string, snowflake: The ID of the user
        - `join_timestamp` string, date-time, required: When the user last joined the thread
        - `flags` integer, required: Thread member flags
        - `muted` boolean: Whether the user has muted the thread (current user only)
        - `mute_config` object, nullable: The mute configuration for the thread (current user only)
          - `end_time` string, nullable, required: ISO8601 timestamp of when the mute expires
          - `selected_time_window` integer, required: The selected mute duration in seconds
        - `member` GuildMemberResponse: The guild member object for the user
          - `user` UserPartialResponse, required: The user this guild member represents
            - `id` string, snowflake, required: The unique identifier (snowflake) for this user
            - `username` string, required: The username of the user, not unique across the platform
            - `discriminator` string, required: The four-digit discriminator tag of the user
            - `global_name` string, nullable, required: The display name of the user, if set
            - `avatar` string, nullable, required: The hash of the user avatar image
            - `avatar_color` integer, nullable, required
            - `bot` boolean: Whether the user is a bot account
            - `system` boolean: Whether the user is an official system user
            - `flags` integer, required: The public flags on the user account
            - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
          - `nick` string, nullable: The nickname of the member in this guild
          - `avatar` string, nullable: The hash of the member guild-specific avatar
          - `banner` string, nullable: The hash of the member guild-specific banner
          - `accent_color` integer, nullable
          - `roles` string[], required: Array of role IDs the member has
          - `joined_at` string, date-time, required: ISO8601 timestamp of when the user joined the guild
          - `mute` boolean, required: Whether the member is muted in voice channels
          - `deaf` boolean, required: Whether the member is deafened in voice channels
          - `communication_disabled_until` string, date-time, nullable: ISO8601 timestamp until which the member is timed out
          - `profile_flags` integer, nullable: Member profile flags
          - `mention_flags` 0 | 1 | 2, nullable: Reply mention preference
      - `default_auto_archive_duration` integer, nullable
      - `default_thread_rate_limit_per_user` integer: Slowmode copied onto new threads
      - `available_tags` ForumTagResponse[]: Tags that can be applied to posts
        - `id` string, snowflake, required: The ID of the tag
        - `name` string, required: The name of the tag
        - `moderated` boolean, required: Whether only moderators can add or remove this tag
        - `emoji_id` string, snowflake, nullable, required
        - `emoji_name` string, nullable, required: The unicode character of the emoji
      - `default_reaction_emoji` DefaultReactionEmojiResponse, nullable
        - `emoji_id` string, snowflake, nullable, required
        - `emoji_name` string, nullable, required: The unicode character of the emoji
      - `default_sort_order` integer, nullable
      - `default_forum_layout` integer: Default layout for forum posts
      - `default_tag_setting` 'match_some' | 'match_all': Default tag search setting
    - `members` ThreadMemberResponse[], required: A thread member object for each returned thread the user joined
      - `id` string, snowflake: The ID of the thread
      - `user_id` string, snowflake: The ID of the user
      - `join_timestamp` string, date-time, required: When the user last joined the thread
      - `flags` integer, required: Thread member flags
      - `muted` boolean: Whether the user has muted the thread (current user only)
      - `mute_config` object, nullable: The mute configuration for the thread (current user only)
        - `end_time` string, nullable, required: ISO8601 timestamp of when the mute expires
        - `selected_time_window` integer, required: The selected mute duration in seconds
      - `member` GuildMemberResponse: The guild member object for the user
        - `user` UserPartialResponse, required: The user this guild member represents
          - `id` string, snowflake, required: The unique identifier (snowflake) for this user
          - `username` string, required: The username of the user, not unique across the platform
          - `discriminator` string, required: The four-digit discriminator tag of the user
          - `global_name` string, nullable, required: The display name of the user, if set
          - `avatar` string, nullable, required: The hash of the user avatar image
          - `avatar_color` integer, nullable, required
          - `bot` boolean: Whether the user is a bot account
          - `system` boolean: Whether the user is an official system user
          - `flags` integer, required: The public flags on the user account
          - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
        - `nick` string, nullable: The nickname of the member in this guild
        - `avatar` string, nullable: The hash of the member guild-specific avatar
        - `banner` string, nullable: The hash of the member guild-specific banner
        - `accent_color` integer, nullable
        - `roles` string[], required: Array of role IDs the member has
        - `joined_at` string, date-time, required: ISO8601 timestamp of when the user joined the guild
        - `mute` boolean, required: Whether the member is muted in voice channels
        - `deaf` boolean, required: Whether the member is deafened in voice channels
        - `communication_disabled_until` string, date-time, nullable: ISO8601 timestamp until which the member is timed out
        - `profile_flags` integer, nullable: Member profile flags
        - `mention_flags` 0 | 1 | 2, nullable: Reply mention preference
    - `has_more` boolean, required: Whether more threads could be returned by a later request
    - `total_results` integer, required: The total number of threads that match the search
    - `first_messages` MessageResponseSchema[]: The first message of each returned post, in forum and media channels only
      - `id` string, snowflake, required: The unique identifier (snowflake) for this message
      - `channel_id` string, snowflake, required: The ID of the channel this message was sent in
      - `author` UserPartialResponse, required: The author of the message
        - `id` string, snowflake, required: The unique identifier (snowflake) for this user
        - `username` string, required: The username of the user, not unique across the platform
        - `discriminator` string, required: The four-digit discriminator tag of the user
        - `global_name` string, nullable, required: The display name of the user, if set
        - `avatar` string, nullable, required: The hash of the user avatar image
        - `avatar_color` integer, nullable, required
        - `bot` boolean: Whether the user is a bot account
        - `system` boolean: Whether the user is an official system user
        - `flags` integer, required: The public flags on the user account
        - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
      - `webhook_id` string, snowflake, nullable
      - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 18 | 19 | 21, required: The type of message
      - `flags` integer, required: The bitwise flags for this message
      - `content` string, required: The text content of the message
      - `timestamp` string, date-time, required: The ISO 8601 timestamp of when the message was created
      - `edited_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the message was last edited
      - `pinned` boolean, required: Whether the message is pinned
      - `mention_everyone` boolean, required: Whether the message mentions @everyone
      - `tts` boolean, required: Whether the message was sent as text-to-speech
      - `mentions` UserPartialResponse[], required: The users mentioned in the message
        - `id` string, snowflake, required: The unique identifier (snowflake) for this user
        - `username` string, required: The username of the user, not unique across the platform
        - `discriminator` string, required: The four-digit discriminator tag of the user
        - `global_name` string, nullable, required: The display name of the user, if set
        - `avatar` string, nullable, required: The hash of the user avatar image
        - `avatar_color` integer, nullable, required
        - `bot` boolean: Whether the user is a bot account
        - `system` boolean: Whether the user is an official system user
        - `flags` integer, required: The public flags on the user account
        - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
      - `mention_roles` string[], required: The role IDs mentioned in the message
      - `mention_channels` MessageChannelMentionResponse[], nullable: Channels mentioned in the message that are visible to @everyone
        - `id` string, snowflake, required: The ID of the mentioned channel
        - `name` string, required: The name of the mentioned channel
        - `type` integer, required: The type of the mentioned channel
      - `users` UserPartialResponse[], nullable: Users referenced from non-notifying content, embed, and snapshot text, included for client-side resolution
        - `id` string, snowflake, required: The unique identifier (snowflake) for this user
        - `username` string, required: The username of the user, not unique across the platform
        - `discriminator` string, required: The four-digit discriminator tag of the user
        - `global_name` string, nullable, required: The display name of the user, if set
        - `avatar` string, nullable, required: The hash of the user avatar image
        - `avatar_color` integer, nullable, required
        - `bot` boolean: Whether the user is a bot account
        - `system` boolean: Whether the user is an official system user
        - `flags` integer, required: The public flags on the user account
        - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
      - `embeds` MessageEmbedResponse[], nullable: The embeds attached to the message
        - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
        - `url` string, uri, nullable: The URL of the embed
        - `title` string, nullable: The title of the embed
        - `color` integer, nullable
        - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
        - `description` string, nullable: The description of the embed
        - `author` EmbedAuthorResponse, nullable
          - `name` string, required: The name of the author
          - `url` string, uri, nullable: The URL of the author
          - `icon_url` string, uri, nullable: The URL of the author icon
          - `proxy_icon_url` string, uri, nullable: The proxied URL of the author icon
        - `image` EmbedMediaResponse, nullable
          - `url` string, required: The URL of the media
          - `proxy_url` string, uri, nullable: The proxied URL of the media
          - `content_type` string, nullable: The MIME type of the media
          - `content_hash` string, nullable: The hash of the media content
          - `width` integer, nullable
          - `height` integer, nullable
          - `description` string, nullable: The description of the media
          - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
          - `duration` integer, nullable
          - `flags` integer, required: The bitwise flags for this media
        - `thumbnail` EmbedMediaResponse, nullable
          - `url` string, required: The URL of the media
          - `proxy_url` string, uri, nullable: The proxied URL of the media
          - `content_type` string, nullable: The MIME type of the media
          - `content_hash` string, nullable: The hash of the media content
          - `width` integer, nullable
          - `height` integer, nullable
          - `description` string, nullable: The description of the media
          - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
          - `duration` integer, nullable
          - `flags` integer, required: The bitwise flags for this media
        - `footer` EmbedFooterResponse, nullable
          - `text` string, required: The footer text
          - `icon_url` string, uri, nullable: The URL of the footer icon
          - `proxy_icon_url` string, uri, nullable: The proxied URL of the footer icon
        - `fields` EmbedFieldResponse[], nullable: The fields of the embed
          - `name` string, required: The name of the field
          - `value` string, required: The value of the field
          - `inline` boolean, required: Whether the field should be displayed inline
        - `provider` EmbedProviderResponse, nullable
          - `name` string, required: The name of the provider
          - `url` string, uri, nullable: The URL of the provider
        - `video` EmbedMediaResponse, nullable
          - `url` string, required: The URL of the media
          - `proxy_url` string, uri, nullable: The proxied URL of the media
          - `content_type` string, nullable: The MIME type of the media
          - `content_hash` string, nullable: The hash of the media content
          - `width` integer, nullable
          - `height` integer, nullable
          - `description` string, nullable: The description of the media
          - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
          - `duration` integer, nullable
          - `flags` integer, required: The bitwise flags for this media
        - `audio` EmbedMediaResponse, nullable
          - `url` string, required: The URL of the media
          - `proxy_url` string, uri, nullable: The proxied URL of the media
          - `content_type` string, nullable: The MIME type of the media
          - `content_hash` string, nullable: The hash of the media content
          - `width` integer, nullable
          - `height` integer, nullable
          - `description` string, nullable: The description of the media
          - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
          - `duration` integer, nullable
          - `flags` integer, required: The bitwise flags for this media
        - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
        - `html_width` integer, nullable
        - `html_height` integer, nullable
        - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
        - `children` MessageEmbedChildResponse[], nullable: Internal nested embeds generated by unfurlers
          - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
          - `url` string, uri, nullable: The URL of the embed
          - `title` string, nullable: The title of the embed
          - `color` integer, nullable
          - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
          - `description` string, nullable: The description of the embed
          - `author` EmbedAuthorResponse, nullable
            - `name` string, required: The name of the author
            - `url` string, uri, nullable: The URL of the author
            - `icon_url` string, uri, nullable: The URL of the author icon
            - `proxy_icon_url` string, uri, nullable: The proxied URL of the author icon
          - `image` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `thumbnail` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `footer` EmbedFooterResponse, nullable
            - `text` string, required: The footer text
            - `icon_url` string, uri, nullable: The URL of the footer icon
            - `proxy_icon_url` string, uri, nullable: The proxied URL of the footer icon
          - `fields` EmbedFieldResponse[], nullable: The fields of the embed
            - `name` string, required: The name of the field
            - `value` string, required: The value of the field
            - `inline` boolean, required: Whether the field should be displayed inline
          - `provider` EmbedProviderResponse, nullable
            - `name` string, required: The name of the provider
            - `url` string, uri, nullable: The URL of the provider
          - `video` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `audio` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
          - `html_width` integer, nullable
          - `html_height` integer, nullable
          - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
      - `attachments` MessageAttachmentResponse[], nullable: The files attached to the message
        - `id` string, snowflake, required: The unique identifier for this attachment
        - `filename` string, required: The name of the attached file
        - `title` string, nullable: The title of the attachment
        - `description` string, nullable: The description of the attachment
        - `content_type` string, nullable: The MIME type of the attachment
        - `content_hash` string, nullable: The hash of the attachment content
        - `size` integer, required: The size of the attachment in bytes
        - `url` string, nullable: The URL of the attachment
        - `proxy_url` string, nullable: The proxied URL of the attachment
        - `width` integer, nullable
        - `height` integer, nullable
        - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
        - `flags` integer, required: The bitwise flags for this attachment
        - `nsfw` boolean, nullable: Whether the attachment is flagged as NSFW
        - `duration` integer, nullable
        - `waveform` string, nullable: The base64 encoded audio waveform data
        - `expires_at` string, nullable: The ISO 8601 timestamp when the attachment URL expires
        - `expired` boolean, nullable: Whether the attachment URL has expired
      - `stickers` MessageStickerResponse[], nullable: The stickers sent with the message
        - `id` string, snowflake, required: The unique identifier of the sticker
        - `name` string, required: The name of the sticker
        - `animated` boolean, required: Whether the sticker is animated
      - `reactions` MessageReactionResponse[], nullable: The reactions on the message
        - `emoji` object, required: The emoji used for the reaction
          - `id` string, snowflake, nullable
          - `name` string, required: The name of the emoji (or Unicode character for standard emojis)
          - `animated` boolean, nullable: Whether the emoji is animated
        - `count` integer, required: The total number of times this reaction has been used
        - `me` boolean, nullable: Whether the current user has reacted with this emoji
      - `message_reference` object, nullable: Reference data for replies or forwards
        - `channel_id` string, snowflake, required: The ID of the channel containing the referenced message
        - `message_id` string, snowflake, nullable
        - `guild_id` string, snowflake, nullable
        - `type` 0 | 1, required: The type of message reference
      - `message_snapshots` MessageSnapshotResponse[], nullable: Snapshots of forwarded messages
        - `content` string, nullable: The text content of the snapshot
        - `timestamp` string, date-time, required: The ISO 8601 timestamp of when the original message was created
        - `edited_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the original message was last edited
        - `mentions` string[], nullable: The user IDs mentioned in the snapshot
        - `mention_roles` string[], nullable: The role IDs mentioned in the snapshot
        - `mention_channels` MessageChannelMentionResponse[], nullable: Channels mentioned in the snapshot that are visible to @everyone
          - `id` string, snowflake, required: The ID of the mentioned channel
          - `name` string, required: The name of the mentioned channel
          - `type` integer, required: The type of the mentioned channel
        - `embeds` MessageEmbedResponse[], nullable: The embeds included in the snapshot
          - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
          - `url` string, uri, nullable: The URL of the embed
          - `title` string, nullable: The title of the embed
          - `color` integer, nullable
          - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
          - `description` string, nullable: The description of the embed
          - `author` EmbedAuthorResponse, nullable
            - `name` string, required: The name of the author
            - `url` string, uri, nullable: The URL of the author
            - `icon_url` string, uri, nullable: The URL of the author icon
            - `proxy_icon_url` string, uri, nullable: The proxied URL of the author icon
          - `image` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `thumbnail` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `footer` EmbedFooterResponse, nullable
            - `text` string, required: The footer text
            - `icon_url` string, uri, nullable: The URL of the footer icon
            - `proxy_icon_url` string, uri, nullable: The proxied URL of the footer icon
          - `fields` EmbedFieldResponse[], nullable: The fields of the embed
            - `name` string, required: The name of the field
            - `value` string, required: The value of the field
            - `inline` boolean, required: Whether the field should be displayed inline
          - `provider` EmbedProviderResponse, nullable
            - `name` string, required: The name of the provider
            - `url` string, uri, nullable: The URL of the provider
          - `video` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `audio` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
          - `html_width` integer, nullable
          - `html_height` integer, nullable
          - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
          - `children` MessageEmbedChildResponse[], nullable: Internal nested embeds generated by unfurlers
            - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
            - `url` string, uri, nullable: The URL of the embed
            - `title` string, nullable: The title of the embed
            - `color` integer, nullable
            - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
            - `description` string, nullable: The description of the embed
            - `author` EmbedAuthorResponse, nullable
              - …
            - `image` EmbedMediaResponse, nullable
              - …
            - `thumbnail` EmbedMediaResponse, nullable
              - …
            - `footer` EmbedFooterResponse, nullable
              - …
            - `fields` EmbedFieldResponse[], nullable: The fields of the embed
              - …
            - `provider` EmbedProviderResponse, nullable
              - …
            - `video` EmbedMediaResponse, nullable
              - …
            - `audio` EmbedMediaResponse, nullable
              - …
            - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
            - `html_width` integer, nullable
            - `html_height` integer, nullable
            - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
        - `attachments` MessageAttachmentResponse[], nullable: The attachments included in the snapshot
          - `id` string, snowflake, required: The unique identifier for this attachment
          - `filename` string, required: The name of the attached file
          - `title` string, nullable: The title of the attachment
          - `description` string, nullable: The description of the attachment
          - `content_type` string, nullable: The MIME type of the attachment
          - `content_hash` string, nullable: The hash of the attachment content
          - `size` integer, required: The size of the attachment in bytes
          - `url` string, nullable: The URL of the attachment
          - `proxy_url` string, nullable: The proxied URL of the attachment
          - `width` integer, nullable
          - `height` integer, nullable
          - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
          - `flags` integer, required: The bitwise flags for this attachment
          - `nsfw` boolean, nullable: Whether the attachment is flagged as NSFW
          - `duration` integer, nullable
          - `waveform` string, nullable: The base64 encoded audio waveform data
          - `expires_at` string, nullable: The ISO 8601 timestamp when the attachment URL expires
          - `expired` boolean, nullable: Whether the attachment URL has expired
        - `stickers` MessageStickerResponse[], nullable: The stickers included in the snapshot
          - `id` string, snowflake, required: The unique identifier of the sticker
          - `name` string, required: The name of the sticker
          - `animated` boolean, required: Whether the sticker is animated
        - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 18 | 19 | 21, required: The type of message
        - `flags` integer, required: The bitwise flags of the original message
      - `nonce` string, nullable: A client-provided value for message deduplication
      - `call` object, nullable: Call information if this message represents a call
        - `participants` string[], required: The user IDs of participants in the call
        - `ended_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the call ended
      - `thread` ThreadChannelResponse: The thread started from this message, when the viewer can see threads
        - `id` string, snowflake, required: The unique identifier (snowflake) for this channel
        - `guild_id` string, snowflake: The ID of the guild this channel belongs to
        - `name` string, nullable: The name of the channel
        - `topic` string, nullable: The topic of the channel
        - `url` string, uri, nullable: The URL associated with the channel
        - `icon` string, nullable: The icon hash of the channel (for group DMs)
        - `owner_id` string, snowflake, nullable
        - `type` 0 | 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 15 | 16 | 998 | 999, required: The type of the channel
        - `position` integer: The sorting position of the channel
        - `parent_id` string, snowflake, nullable
        - `bitrate` integer, nullable
        - `user_limit` integer, nullable
        - `voice_connection_limit` integer, nullable
        - `rtc_region` string, nullable: The voice region ID for the voice channel
        - `rtc_p2p` boolean: Whether calls in the voice channel connect participants directly instead of through a voice server
        - `last_message_id` string, snowflake, nullable
        - `last_pin_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the last pinned message was pinned
        - `permission_overwrites` ChannelOverwriteResponse[]: The permission overwrites for this channel
          - `id` string, snowflake, required: The unique identifier for the role or user this overwrite applies to
          - `type` 0 | 1, required: The type of entity the overwrite applies to
          - `allow` string, int64, required: The bitwise value of allowed permissions
          - `deny` string, int64, required: The bitwise value of denied permissions
        - `recipients` UserPartialResponse[]: The recipients of the DM channel
          - `id` string, snowflake, required: The unique identifier (snowflake) for this user
          - `username` string, required: The username of the user, not unique across the platform
          - `discriminator` string, required: The four-digit discriminator tag of the user
          - `global_name` string, nullable, required: The display name of the user, if set
          - `avatar` string, nullable, required: The hash of the user avatar image
          - `avatar_color` integer, nullable, required
          - `bot` boolean: Whether the user is a bot account
          - `system` boolean: Whether the user is an official system user
          - `flags` integer, required: The public flags on the user account
          - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
        - `nsfw` boolean: Whether the channel is marked as NSFW (effective value, walking channel → category → guild)
        - `nsfw_override` boolean, nullable: Per-channel adult-content override; null means inherit from parent category and then guild. Categories use this same field as their own override.
        - `content_warning_level` 0 | 1: Channel-level content warning override (0=inherit, 1=force-warn)
        - `content_warning_text` string, nullable: Custom channel content warning text (max 200 characters); null inherits from parent or guild
        - `rate_limit_per_user` integer: The slowmode rate limit in seconds
        - `nicks` object: Custom nicknames for users in this channel (for group DMs)
        - `flags` integer: Channel flags
        - `thread_metadata` ThreadMetadataResponse: Thread-specific fields
          - `archived` boolean, required: Whether the thread is archived
          - `auto_archive_duration` integer, required: Minutes of inactivity before the thread stops showing in the channel list
          - `archive_timestamp` string, date-time, required: When the archive status of the thread last changed
          - `locked` boolean, required: Whether only moderators can interact with the thread
          - `invitable` boolean: Whether non-moderators can add other non-moderators (private threads)
          - `create_timestamp` string, date-time, required: When the thread was created
        - `applied_tags` SnowflakeStringType[]: IDs of the tags applied to a forum or media post
        - `message_count` integer: Messages in the thread, excluding the starter and deleted messages
        - `total_message_sent` integer: Messages ever sent in the thread, never decremented
        - `member_count` integer: Approximate number of thread members, capped at 50
        - `member_ids_preview` SnowflakeStringType[]: IDs of the most recently joined members of a forum or media post, newest first
        - `member` ThreadMemberResponse: The thread member object for the current user
          - `id` string, snowflake: The ID of the thread
          - `user_id` string, snowflake: The ID of the user
          - `join_timestamp` string, date-time, required: When the user last joined the thread
          - `flags` integer, required: Thread member flags
          - `muted` boolean: Whether the user has muted the thread (current user only)
          - `mute_config` object, nullable: The mute configuration for the thread (current user only)
            - `end_time` string, nullable, required: ISO8601 timestamp of when the mute expires
            - `selected_time_window` integer, required: The selected mute duration in seconds
          - `member` GuildMemberResponse: The guild member object for the user
            - `user` UserPartialResponse, required: The user this guild member represents
              - …
            - `nick` string, nullable: The nickname of the member in this guild
            - `avatar` string, nullable: The hash of the member guild-specific avatar
            - `banner` string, nullable: The hash of the member guild-specific banner
            - `accent_color` integer, nullable
            - `roles` string[], required: Array of role IDs the member has
            - `joined_at` string, date-time, required: ISO8601 timestamp of when the user joined the guild
            - `mute` boolean, required: Whether the member is muted in voice channels
            - `deaf` boolean, required: Whether the member is deafened in voice channels
            - `communication_disabled_until` string, date-time, nullable: ISO8601 timestamp until which the member is timed out
            - `profile_flags` integer, nullable: Member profile flags
            - `mention_flags` 0 | 1 | 2, nullable: Reply mention preference
        - `default_auto_archive_duration` integer, nullable
        - `default_thread_rate_limit_per_user` integer: Slowmode copied onto new threads
        - `available_tags` ForumTagResponse[]: Tags that can be applied to posts
          - `id` string, snowflake, required: The ID of the tag
          - `name` string, required: The name of the tag
          - `moderated` boolean, required: Whether only moderators can add or remove this tag
          - `emoji_id` string, snowflake, nullable, required
          - `emoji_name` string, nullable, required: The unicode character of the emoji
        - `default_reaction_emoji` DefaultReactionEmojiResponse, nullable
          - `emoji_id` string, snowflake, nullable, required
          - `emoji_name` string, nullable, required: The unicode character of the emoji
        - `default_sort_order` integer, nullable
        - `default_forum_layout` integer: Default layout for forum posts
        - `default_tag_setting` 'match_some' | 'match_all': Default tag search setting
      - `referenced_message` object, nullable: The reply target. Present and populated when the target resolved, present and null when the target is gone, absent when this message has no default reference. Clients must tell null apart from absent by key presence.
        - `id` string, snowflake, required: The unique identifier (snowflake) for this message
        - `channel_id` string, snowflake, required: The ID of the channel this message was sent in
        - `author` UserPartialResponse, required: The author of the message
          - `id` string, snowflake, required: The unique identifier (snowflake) for this user
          - `username` string, required: The username of the user, not unique across the platform
          - `discriminator` string, required: The four-digit discriminator tag of the user
          - `global_name` string, nullable, required: The display name of the user, if set
          - `avatar` string, nullable, required: The hash of the user avatar image
          - `avatar_color` integer, nullable, required
          - `bot` boolean: Whether the user is a bot account
          - `system` boolean: Whether the user is an official system user
          - `flags` integer, required: The public flags on the user account
          - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
        - `webhook_id` string, snowflake, nullable
        - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 18 | 19 | 21, required: The type of message
        - `flags` integer, required: The bitwise flags for this message
        - `content` string, required: The text content of the message
        - `timestamp` string, date-time, required: The ISO 8601 timestamp of when the message was created
        - `edited_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the message was last edited
        - `pinned` boolean, required: Whether the message is pinned
        - `mention_everyone` boolean, required: Whether the message mentions @everyone
        - `tts` boolean, required: Whether the message was sent as text-to-speech
        - `mentions` UserPartialResponse[], required: The users mentioned in the message
          - `id` string, snowflake, required: The unique identifier (snowflake) for this user
          - `username` string, required: The username of the user, not unique across the platform
          - `discriminator` string, required: The four-digit discriminator tag of the user
          - `global_name` string, nullable, required: The display name of the user, if set
          - `avatar` string, nullable, required: The hash of the user avatar image
          - `avatar_color` integer, nullable, required
          - `bot` boolean: Whether the user is a bot account
          - `system` boolean: Whether the user is an official system user
          - `flags` integer, required: The public flags on the user account
          - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
        - `mention_roles` string[], required: The role IDs mentioned in the message
        - `mention_channels` MessageChannelMentionResponse[], nullable: Channels mentioned in the message that are visible to @everyone
          - `id` string, snowflake, required: The ID of the mentioned channel
          - `name` string, required: The name of the mentioned channel
          - `type` integer, required: The type of the mentioned channel
        - `users` UserPartialResponse[], nullable: Users referenced from non-notifying content, embed, and snapshot text, included for client-side resolution
          - `id` string, snowflake, required: The unique identifier (snowflake) for this user
          - `username` string, required: The username of the user, not unique across the platform
          - `discriminator` string, required: The four-digit discriminator tag of the user
          - `global_name` string, nullable, required: The display name of the user, if set
          - `avatar` string, nullable, required: The hash of the user avatar image
          - `avatar_color` integer, nullable, required
          - `bot` boolean: Whether the user is a bot account
          - `system` boolean: Whether the user is an official system user
          - `flags` integer, required: The public flags on the user account
          - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
        - `embeds` MessageEmbedResponse[], nullable: The embeds attached to the message
          - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
          - `url` string, uri, nullable: The URL of the embed
          - `title` string, nullable: The title of the embed
          - `color` integer, nullable
          - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
          - `description` string, nullable: The description of the embed
          - `author` EmbedAuthorResponse, nullable
            - `name` string, required: The name of the author
            - `url` string, uri, nullable: The URL of the author
            - `icon_url` string, uri, nullable: The URL of the author icon
            - `proxy_icon_url` string, uri, nullable: The proxied URL of the author icon
          - `image` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `thumbnail` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `footer` EmbedFooterResponse, nullable
            - `text` string, required: The footer text
            - `icon_url` string, uri, nullable: The URL of the footer icon
            - `proxy_icon_url` string, uri, nullable: The proxied URL of the footer icon
          - `fields` EmbedFieldResponse[], nullable: The fields of the embed
            - `name` string, required: The name of the field
            - `value` string, required: The value of the field
            - `inline` boolean, required: Whether the field should be displayed inline
          - `provider` EmbedProviderResponse, nullable
            - `name` string, required: The name of the provider
            - `url` string, uri, nullable: The URL of the provider
          - `video` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `audio` EmbedMediaResponse, nullable
            - `url` string, required: The URL of the media
            - `proxy_url` string, uri, nullable: The proxied URL of the media
            - `content_type` string, nullable: The MIME type of the media
            - `content_hash` string, nullable: The hash of the media content
            - `width` integer, nullable
            - `height` integer, nullable
            - `description` string, nullable: The description of the media
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `duration` integer, nullable
            - `flags` integer, required: The bitwise flags for this media
          - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
          - `html_width` integer, nullable
          - `html_height` integer, nullable
          - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
          - `children` MessageEmbedChildResponse[], nullable: Internal nested embeds generated by unfurlers
            - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
            - `url` string, uri, nullable: The URL of the embed
            - `title` string, nullable: The title of the embed
            - `color` integer, nullable
            - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
            - `description` string, nullable: The description of the embed
            - `author` EmbedAuthorResponse, nullable
              - …
            - `image` EmbedMediaResponse, nullable
              - …
            - `thumbnail` EmbedMediaResponse, nullable
              - …
            - `footer` EmbedFooterResponse, nullable
              - …
            - `fields` EmbedFieldResponse[], nullable: The fields of the embed
              - …
            - `provider` EmbedProviderResponse, nullable
              - …
            - `video` EmbedMediaResponse, nullable
              - …
            - `audio` EmbedMediaResponse, nullable
              - …
            - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
            - `html_width` integer, nullable
            - `html_height` integer, nullable
            - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
        - `attachments` MessageAttachmentResponse[], nullable: The files attached to the message
          - `id` string, snowflake, required: The unique identifier for this attachment
          - `filename` string, required: The name of the attached file
          - `title` string, nullable: The title of the attachment
          - `description` string, nullable: The description of the attachment
          - `content_type` string, nullable: The MIME type of the attachment
          - `content_hash` string, nullable: The hash of the attachment content
          - `size` integer, required: The size of the attachment in bytes
          - `url` string, nullable: The URL of the attachment
          - `proxy_url` string, nullable: The proxied URL of the attachment
          - `width` integer, nullable
          - `height` integer, nullable
          - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
          - `flags` integer, required: The bitwise flags for this attachment
          - `nsfw` boolean, nullable: Whether the attachment is flagged as NSFW
          - `duration` integer, nullable
          - `waveform` string, nullable: The base64 encoded audio waveform data
          - `expires_at` string, nullable: The ISO 8601 timestamp when the attachment URL expires
          - `expired` boolean, nullable: Whether the attachment URL has expired
        - `stickers` MessageStickerResponse[], nullable: The stickers sent with the message
          - `id` string, snowflake, required: The unique identifier of the sticker
          - `name` string, required: The name of the sticker
          - `animated` boolean, required: Whether the sticker is animated
        - `reactions` MessageReactionResponse[], nullable: The reactions on the message
          - `emoji` object, required: The emoji used for the reaction
            - `id` string, snowflake, nullable
            - `name` string, required: The name of the emoji (or Unicode character for standard emojis)
            - `animated` boolean, nullable: Whether the emoji is animated
          - `count` integer, required: The total number of times this reaction has been used
          - `me` boolean, nullable: Whether the current user has reacted with this emoji
        - `message_reference` object, nullable: Reference data for replies or forwards
          - `channel_id` string, snowflake, required: The ID of the channel containing the referenced message
          - `message_id` string, snowflake, nullable
          - `guild_id` string, snowflake, nullable
          - `type` 0 | 1, required: The type of message reference
        - `message_snapshots` MessageSnapshotResponse[], nullable: Snapshots of forwarded messages
          - `content` string, nullable: The text content of the snapshot
          - `timestamp` string, date-time, required: The ISO 8601 timestamp of when the original message was created
          - `edited_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the original message was last edited
          - `mentions` string[], nullable: The user IDs mentioned in the snapshot
          - `mention_roles` string[], nullable: The role IDs mentioned in the snapshot
          - `mention_channels` MessageChannelMentionResponse[], nullable: Channels mentioned in the snapshot that are visible to @everyone
            - `id` string, snowflake, required: The ID of the mentioned channel
            - `name` string, required: The name of the mentioned channel
            - `type` integer, required: The type of the mentioned channel
          - `embeds` MessageEmbedResponse[], nullable: The embeds included in the snapshot
            - `type` string, required: The type of embed (e.g., rich, image, video, gifv, article, link)
            - `url` string, uri, nullable: The URL of the embed
            - `title` string, nullable: The title of the embed
            - `color` integer, nullable
            - `timestamp` string, date-time, nullable: The ISO 8601 timestamp of the embed content
            - `description` string, nullable: The description of the embed
            - `author` EmbedAuthorResponse, nullable
              - …
            - `image` EmbedMediaResponse, nullable
              - …
            - `thumbnail` EmbedMediaResponse, nullable
              - …
            - `footer` EmbedFooterResponse, nullable
              - …
            - `fields` EmbedFieldResponse[], nullable: The fields of the embed
              - …
            - `provider` EmbedProviderResponse, nullable
              - …
            - `video` EmbedMediaResponse, nullable
              - …
            - `audio` EmbedMediaResponse, nullable
              - …
            - `html` string, nullable: Sanitized oEmbed HTML for trusted specialized embed renderers
            - `html_width` integer, nullable
            - `html_height` integer, nullable
            - `nsfw` boolean, nullable: Whether the embed is flagged as NSFW
            - `children` MessageEmbedChildResponse[], nullable: Internal nested embeds generated by unfurlers
              - …
          - `attachments` MessageAttachmentResponse[], nullable: The attachments included in the snapshot
            - `id` string, snowflake, required: The unique identifier for this attachment
            - `filename` string, required: The name of the attached file
            - `title` string, nullable: The title of the attachment
            - `description` string, nullable: The description of the attachment
            - `content_type` string, nullable: The MIME type of the attachment
            - `content_hash` string, nullable: The hash of the attachment content
            - `size` integer, required: The size of the attachment in bytes
            - `url` string, nullable: The URL of the attachment
            - `proxy_url` string, nullable: The proxied URL of the attachment
            - `width` integer, nullable
            - `height` integer, nullable
            - `placeholder` string, nullable: The base64 encoded placeholder image for lazy loading
            - `flags` integer, required: The bitwise flags for this attachment
            - `nsfw` boolean, nullable: Whether the attachment is flagged as NSFW
            - `duration` integer, nullable
            - `waveform` string, nullable: The base64 encoded audio waveform data
            - `expires_at` string, nullable: The ISO 8601 timestamp when the attachment URL expires
            - `expired` boolean, nullable: Whether the attachment URL has expired
          - `stickers` MessageStickerResponse[], nullable: The stickers included in the snapshot
            - `id` string, snowflake, required: The unique identifier of the sticker
            - `name` string, required: The name of the sticker
            - `animated` boolean, required: Whether the sticker is animated
          - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 18 | 19 | 21, required: The type of message
          - `flags` integer, required: The bitwise flags of the original message
        - `nonce` string, nullable: A client-provided value for message deduplication
        - `call` object, nullable: Call information if this message represents a call
          - `participants` string[], required: The user IDs of participants in the call
          - `ended_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the call ended
        - `thread` ThreadChannelResponse: The thread started from this message, when the viewer can see threads
          - `id` string, snowflake, required: The unique identifier (snowflake) for this channel
          - `guild_id` string, snowflake: The ID of the guild this channel belongs to
          - `name` string, nullable: The name of the channel
          - `topic` string, nullable: The topic of the channel
          - `url` string, uri, nullable: The URL associated with the channel
          - `icon` string, nullable: The icon hash of the channel (for group DMs)
          - `owner_id` string, snowflake, nullable
          - `type` 0 | 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 15 | 16 | 998 | 999, required: The type of the channel
          - `position` integer: The sorting position of the channel
          - `parent_id` string, snowflake, nullable
          - `bitrate` integer, nullable
          - `user_limit` integer, nullable
          - `voice_connection_limit` integer, nullable
          - `rtc_region` string, nullable: The voice region ID for the voice channel
          - `rtc_p2p` boolean: Whether calls in the voice channel connect participants directly instead of through a voice server
          - `last_message_id` string, snowflake, nullable
          - `last_pin_timestamp` string, date-time, nullable: The ISO 8601 timestamp of when the last pinned message was pinned
          - `permission_overwrites` ChannelOverwriteResponse[]: The permission overwrites for this channel
            - `id` string, snowflake, required: The unique identifier for the role or user this overwrite applies to
            - `type` 0 | 1, required: The type of entity the overwrite applies to
            - `allow` string, int64, required: The bitwise value of allowed permissions
            - `deny` string, int64, required: The bitwise value of denied permissions
          - `recipients` UserPartialResponse[]: The recipients of the DM channel
            - `id` string, snowflake, required: The unique identifier (snowflake) for this user
            - `username` string, required: The username of the user, not unique across the platform
            - `discriminator` string, required: The four-digit discriminator tag of the user
            - `global_name` string, nullable, required: The display name of the user, if set
            - `avatar` string, nullable, required: The hash of the user avatar image
            - `avatar_color` integer, nullable, required
            - `bot` boolean: Whether the user is a bot account
            - `system` boolean: Whether the user is an official system user
            - `flags` integer, required: The public flags on the user account
            - `mention_flags` 0 | 1 | 2: The user's account-wide reply mention preference. Omitted when the user has no preference set (treated as NO_PREFERENCE).
          - `nsfw` boolean: Whether the channel is marked as NSFW (effective value, walking channel → category → guild)
          - `nsfw_override` boolean, nullable: Per-channel adult-content override; null means inherit from parent category and then guild. Categories use this same field as their own override.
          - `content_warning_level` 0 | 1: Channel-level content warning override (0=inherit, 1=force-warn)
          - `content_warning_text` string, nullable: Custom channel content warning text (max 200 characters); null inherits from parent or guild
          - `rate_limit_per_user` integer: The slowmode rate limit in seconds
          - `nicks` object: Custom nicknames for users in this channel (for group DMs)
          - `flags` integer: Channel flags
          - `thread_metadata` ThreadMetadataResponse: Thread-specific fields
            - `archived` boolean, required: Whether the thread is archived
            - `auto_archive_duration` integer, required: Minutes of inactivity before the thread stops showing in the channel list
            - `archive_timestamp` string, date-time, required: When the archive status of the thread last changed
            - `locked` boolean, required: Whether only moderators can interact with the thread
            - `invitable` boolean: Whether non-moderators can add other non-moderators (private threads)
            - `create_timestamp` string, date-time, required: When the thread was created
          - `applied_tags` SnowflakeStringType[]: IDs of the tags applied to a forum or media post
          - `message_count` integer: Messages in the thread, excluding the starter and deleted messages
          - `total_message_sent` integer: Messages ever sent in the thread, never decremented
          - `member_count` integer: Approximate number of thread members, capped at 50
          - `member_ids_preview` SnowflakeStringType[]: IDs of the most recently joined members of a forum or media post, newest first
          - `member` ThreadMemberResponse: The thread member object for the current user
            - `id` string, snowflake: The ID of the thread
            - `user_id` string, snowflake: The ID of the user
            - `join_timestamp` string, date-time, required: When the user last joined the thread
            - `flags` integer, required: Thread member flags
            - `muted` boolean: Whether the user has muted the thread (current user only)
            - `mute_config` object, nullable: The mute configuration for the thread (current user only)
              - …
            - `member` GuildMemberResponse: The guild member object for the user
              - …
          - `default_auto_archive_duration` integer, nullable
          - `default_thread_rate_limit_per_user` integer: Slowmode copied onto new threads
          - `available_tags` ForumTagResponse[]: Tags that can be applied to posts
            - `id` string, snowflake, required: The ID of the tag
            - `name` string, required: The name of the tag
            - `moderated` boolean, required: Whether only moderators can add or remove this tag
            - `emoji_id` string, snowflake, nullable, required
            - `emoji_name` string, nullable, required: The unicode character of the emoji
          - `default_reaction_emoji` DefaultReactionEmojiResponse, nullable
            - `emoji_id` string, snowflake, nullable, required
            - `emoji_name` string, nullable, required: The unicode character of the emoji
          - `default_sort_order` integer, nullable
          - `default_forum_layout` integer: Default layout for forum posts
          - `default_tag_setting` 'match_some' | 'match_all': Default tag search setting
  - SearchIndexNotReadyResponse
    - `code` 'SEARCH_INDEX_NOT_READY', required: Machine-readable code of the response
    - `message` string, required: Human-readable description of the response
    - `documents_indexed` integer, required: Always 0 while the index is being built
    - `retry_after` number, required: Seconds to wait before retrying the search

## Other responses

- `202`: Accepted
- `400`: Bad Request - The request was malformed or contained invalid data
- `401`: Unauthorized - Authentication is required or the token is invalid
- `403`: Forbidden - You do not have permission to perform this action
- `429`: Too Many Requests - You are being rate limited
- `500`: Internal Server Error - An unexpected error occurred

## Changes

- **2026-10-10** `b620d9da76aa`: 3 info
  - added the optional property `anyOf[#/components/schemas/ThreadSearchResponse]/first_messages/items/referenced_message/anyOf[subschema #1]/thread/rtc_p2p` to the response with the `200` status
  - added the optional property `anyOf[#/components/schemas/ThreadSearchResponse]/first_messages/items/thread/rtc_p2p` to the response with the `200` status
  - added the optional property `anyOf[#/components/schemas/ThreadSearchResponse]/threads/items/rtc_p2p` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/channels/:channel_id/threads/search/get.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) - [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fluxer/apis/fluxer-api/revisions/cc5362b4bc5d?raw)
