Optionalagent_ID of the agent that owns this thread (agt_...). null for user-owned or team-owned threads.
Optionalcreated_When the thread was created (ISO 8601).
OptionalcreatorExpanded user object for the user who created this thread. Populated only when the association is loaded.
OptionaldescriptionOptional description or purpose statement for the thread. null if not set.
Thread ID (thr_...).
Optionalis_Whether this thread operates as a channel — a multi-member broadcast-style conversation.
Optionalis_Whether this is the default thread for its owner. Each user or team has at most one default thread.
Optionalis_Whether this thread is ephemeral and may be deleted automatically after a period of inactivity or when its TTL expires.
Optionalis_Whether this thread is hidden from public discovery. Unlisted threads are accessible only to direct participants.
OptionalkeyApplication-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. null if not set.
Optionallast_When the last message or activity occurred in this thread. Present only when activity enrichment is requested.
OptionalmetadataArbitrary key-value metadata attached to the thread. Shape is application-defined; null if no metadata has been set.
OptionalmutedWhether the authenticated user has muted notifications for this thread. true suppresses all notification delivery.
OptionalorgID of the organization this thread belongs to (org_...). null for threads outside an org context.
Optionalparent_The message that spawned this thread as a sub-thread. null for top-level threads.
OptionalparticipantArray of participant user IDs (usr_...) who are members of this thread.
OptionalparticipantsExpanded participant user objects for each member of this thread. Populated only when the association is loaded.
Optionalparticipating_Composite actor identifiers for all participants currently active in this thread. Present only when actor enrichment is requested.
Optionalparticipating_Expanded agent objects for all agents participating in this thread. Present only when agent enrichment is requested.
OptionalroleThe authenticated user's membership role in this thread, e.g. "owner", "member", or "viewer". null if the user is not a member.
OptionalsandboxID of the developer sandbox this thread is scoped to (sbx_...). null for production threads.
OptionalsettingsPer-thread configuration settings controlling AI agent behavior for this thread.
OptionalslugURL-safe slug for the thread, used in human-readable permalinks. null if not assigned.
Optionalsub_Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested.
OptionalteamID of the team that owns this thread (team_...). null for user-owned or agent-owned threads.
OptionaltitleHuman-readable name of the thread. null if no title has been set.
OptionalttlTime-to-live in seconds after which the thread may be automatically cleaned up. null if the thread does not expire.
Optionalunread_Number of messages in this thread that the authenticated user has not yet read. Present only when read-state enrichment is requested.
Optionalupdated_When the thread was last modified (ISO 8601).
OptionaluserID of the user who owns this thread (usr_...). null for team-owned or agent-owned threads.
A chat thread, representing a conversation channel that can be owned by a user, team, or agent and may contain messages, participants, and AI agent activity.