Teams types
Type definitions referenced by Teams queries and mutations.
ActivityItem
Section titled “ActivityItem”Object. A chat message flattened with its source context (channel fields for source_kind=channel, conversation fields for source_kind=dm). Used by the home activity feed and message search. body is truncated to 240 chars.
| Field | Type | Description |
|---|---|---|
message_id |
Int! |
— |
source_kind |
String! |
channel | dm |
team_id |
Int |
— |
team_name |
String |
— |
channel_id |
Int |
— |
channel_name |
String |
— |
conversation_id |
Int |
— |
conversation_title |
String |
— |
author_user_id |
String! |
— |
author_name |
String! |
— |
body |
String! |
— |
created_at |
String! |
— |
AddTeamMemberInput
Section titled “AddTeamMemberInput”Input object.
| Field | Type | Description |
|---|---|---|
authUserId |
String! |
— |
displayName |
String! |
— |
email |
String! |
— |
role |
String |
— |
Attachment
Section titled “Attachment”Object. A file attached to a chat message, hosted by the drive service.
| Field | Type | Description |
|---|---|---|
url |
String! |
— |
filename |
String! |
— |
content_type |
String! |
— |
size |
Int! |
— |
AttachmentInput
Section titled “AttachmentInput”Input object.
| Field | Type | Description |
|---|---|---|
url |
String! |
Drive public file URL from finalizeChatAttachment. |
filename |
String! |
— |
content_type |
String! |
— |
size |
Int! |
— |
AttachmentUploadTicket
Section titled “AttachmentUploadTicket”Object. Presigned PUT ticket for a chat attachment upload.
| Field | Type | Description |
|---|---|---|
nodeId |
Int! |
— |
uploadUrl |
String! |
— |
headers |
JSON |
— |
Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
team_id |
Int! |
— |
name |
String! |
— |
columns |
[BoardColumn!]! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
BoardColumn
Section titled “BoardColumn”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
board_id |
Int! |
— |
name |
String! |
— |
position |
Int! |
— |
cards |
[Card!]! |
— |
BoardRollup
Section titled “BoardRollup”Object. One board’s aggregated slice of the cross-team rollup (see Query.projectRollup).
| Field | Type | Description |
|---|---|---|
board_id |
Int! |
— |
board_name |
String! |
— |
open_cards |
Int! |
— |
overdue_cards |
Int! |
— |
due_soon_cards |
Int! |
Due within the next 7 days (and not overdue). |
unassigned_cards |
Int! |
— |
next_due |
CardDigest |
The board’s next dated card (due-soonest); null when nothing has a due date. |
Boolean
Section titled “Boolean”Scalar. The Boolean scalar type represents true or false.
Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
column_id |
Int! |
— |
title |
String! |
— |
description |
String |
— |
assignee |
TeamMember |
— |
due_at |
String |
— |
position |
Int! |
— |
labels |
[String!]! |
— |
comment_count |
Int! |
Number of comments (always filled; cheap on board payloads). |
comments |
[CardComment!]! |
Full discussion — only populated on the card(id:) query. |
activity |
[CardActivity!]! |
Latest activity-trail entries (max 50, newest first) — only on card(id:). |
created_at |
String! |
— |
updated_at |
String! |
— |
CardActivity
Section titled “CardActivity”Object. One automatic activity-trail entry on a card. action is one of: created, title_changed, description_changed, assigned, unassigned, due_changed, labels_changed, moved, commented; detail carries the human-readable delta (e.g. “Todo → Done” for moved, the assignee name for assigned).
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
card_id |
Int! |
— |
actor_user_id |
String! |
— |
actor_name |
String! |
— |
action |
String! |
— |
detail |
String |
— |
created_at |
String! |
— |
CardComment
Section titled “CardComment”Object. A discussion comment on a card.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
card_id |
Int! |
— |
author |
TeamMember! |
— |
body |
String! |
— |
created_at |
String! |
— |
CardDigest
Section titled “CardDigest”Object. A card assigned to the caller, flattened with board/team context.
| Field | Type | Description |
|---|---|---|
card_id |
Int! |
— |
title |
String! |
— |
due_at |
String |
— |
labels |
[String!]! |
— |
column_name |
String! |
— |
board_id |
Int! |
— |
board_name |
String! |
— |
team_id |
Int! |
— |
team_name |
String! |
— |
CatchUpSummary
Section titled “CatchUpSummary”Object. An AI catch-up digest for one channel (see Query.channelCatchUp).
| Field | Type | Description |
|---|---|---|
channel_id |
Int! |
— |
message_count |
Int! |
Missed messages considered (0 = fully caught up). |
since |
String |
Timestamp of the oldest missed message; null when caught up. |
summary |
String! |
Markdown digest of what was missed. |
Channel
Section titled “Channel”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
team_id |
Int! |
— |
name |
String! |
— |
topic |
String |
— |
archived |
Boolean! |
— |
posts |
PostConnection! |
— |
messages |
MessageConnection! |
Chat stream, newest first. parentId pages one thread’s replies. |
active_huddle |
Meeting |
The huddle currently running in this channel, if any. |
pinned_messages |
[Message!]! |
Pinned chat messages, most recently pinned first (max 50). |
created_at |
String! |
— |
updated_at |
String! |
— |
ChannelDigest
Section titled “ChannelDigest”Object. A channel with unread messages, with enough context to link to it.
| Field | Type | Description |
|---|---|---|
channel_id |
Int! |
— |
channel_name |
String! |
— |
team_id |
Int! |
— |
team_name |
String! |
— |
unread_count |
Int! |
— |
CheckIn
Section titled “CheckIn”Object. A recurring automatic question whose answers collect into daily digests.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
team_id |
Int! |
— |
question |
String! |
— |
cadence |
String! |
daily | weekly |
weekday |
Int |
0 (Sunday) - 6 (Saturday); weekly cadence only. |
hour |
Int! |
Hour of day (0-23) the prompt fires. |
active |
Boolean! |
— |
created_by |
TeamMember! |
— |
responses |
[CheckInResponse!]! |
One day’s responses (date: YYYY-MM-DD, defaults to today). |
created_at |
String! |
— |
CheckInDigest
Section titled “CheckInDigest”Object. An active check-in the caller has not answered today.
| Field | Type | Description |
|---|---|---|
check_in_id |
Int! |
— |
question |
String! |
— |
cadence |
String! |
daily | weekly |
team_id |
Int! |
— |
team_name |
String! |
— |
CheckInResponse
Section titled “CheckInResponse”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
check_in_id |
Int! |
— |
author |
TeamMember! |
— |
body |
String! |
— |
for_date |
String! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
Comment
Section titled “Comment”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
post_id |
Int! |
— |
author |
TeamMember! |
— |
body |
String! |
— |
created_at |
String! |
— |
Conversation
Section titled “Conversation”Object. A DM (is_group=false, deduplicated per pair) or group DM.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
is_group |
Boolean! |
— |
title |
String |
— |
created_by |
String! |
— |
members |
[ConversationMember!]! |
— |
messages |
MessageConnection! |
— |
my_last_read_message_id |
Int |
— |
last_message_at |
String |
— |
created_at |
String! |
— |
ConversationDigest
Section titled “ConversationDigest”Object. A conversation with unread messages. title falls back to member names.
| Field | Type | Description |
|---|---|---|
conversation_id |
Int! |
— |
title |
String! |
— |
is_group |
Boolean! |
— |
unread_count |
Int! |
— |
ConversationMember
Section titled “ConversationMember”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
conversation_id |
Int! |
— |
auth_user_id |
String! |
— |
display_name |
String! |
— |
email |
String! |
— |
last_read_message_id |
Int |
— |
joined_at |
String! |
— |
ConversationMemberInput
Section titled “ConversationMemberInput”Input object.
| Field | Type | Description |
|---|---|---|
authUserId |
String! |
— |
displayName |
String! |
— |
email |
String! |
— |
CreateBoardInput
Section titled “CreateBoardInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
CreateCardInput
Section titled “CreateCardInput”Input object.
| Field | Type | Description |
|---|---|---|
title |
String! |
— |
description |
String |
— |
assigneeId |
Int |
— |
dueAt |
String |
— |
labels |
[String!] |
— |
CreateChannelInput
Section titled “CreateChannelInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
topic |
String |
— |
CreateCheckInInput
Section titled “CreateCheckInInput”Input object.
| Field | Type | Description |
|---|---|---|
question |
String! |
— |
cadence |
String |
daily (default) | weekly |
weekday |
Int |
0-6, weekly only (defaults to Monday). |
hour |
Int |
0-23 (default 9). |
CreateColumnInput
Section titled “CreateColumnInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
CreateDocInput
Section titled “CreateDocInput”Input object.
| Field | Type | Description |
|---|---|---|
title |
String! |
— |
body |
String |
— |
CreateMeetingInput
Section titled “CreateMeetingInput”Input object.
| Field | Type | Description |
|---|---|---|
title |
String |
— |
CreatePostInput
Section titled “CreatePostInput”Input object.
| Field | Type | Description |
|---|---|---|
body |
String! |
— |
CreateTeamInput
Section titled “CreateTeamInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String! |
— |
slug |
String! |
— |
description |
String |
— |
Object. A Basecamp-style team document.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
team_id |
Int! |
— |
author |
TeamMember! |
— |
title |
String! |
— |
body |
String! |
— |
pinned |
Boolean! |
— |
revision |
Int! |
Optimistic-concurrency counter, bumped on every successful edit. Send it back as UpdateDocInput.baseRevision to detect concurrent saves. |
edited_at |
String |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
Object. The caller’s personal dashboard digest (see Query.home).
| Field | Type | Description |
|---|---|---|
meetings |
[Meeting!]! |
Active meetings the caller created plus huddles running in their channels. |
unread_channels |
[ChannelDigest!]! |
Channels with messages newer than the caller’s read position, most unread first. |
unread_conversations |
[ConversationDigest!]! |
Conversations with unread messages, most unread first. |
recent_activity |
[ActivityItem!]! |
Newest chat messages across the caller’s channels and DMs. |
my_cards |
[CardDigest!]! |
Cards assigned to the caller, due-soonest first (no due date last). |
pending_check_ins |
[CheckInDigest!]! |
Active check-ins in the caller’s teams they have not answered today. |
Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Scalar. Arbitrary JSON value (objects, arrays, scalars). Serialized as-is.
Meeting
Section titled “Meeting”Object. A video meeting room (Google-Meet style). join_url always points at the teams frontend (/meet/{code}); media flows through LiveKit, not this API.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
code |
String! |
— |
title |
String |
— |
kind |
String! |
adhoc | huddle | scheduled |
channel_id |
Int |
— |
created_by |
String! |
— |
status |
String! |
active | ended |
join_url |
String! |
— |
started_at |
String! |
— |
ended_at |
String |
— |
notes |
String |
AI-notetaker markdown notes; null until generated. |
notes_generated_at |
String |
— |
notes_drive_node_id |
Int |
Drive node id of the saved notes markdown file; null until first saved. |
notes_drive_url |
String |
Stable public URL of the notes markdown file in Drive. |
recording_drive_node_id |
Int |
Drive node id of the saved audio recording; null until a recording is finalized. |
recording_drive_url |
String |
Stable public URL of the recording file in Drive. |
transcript |
[TranscriptEntry!]! |
Captured transcript, oldest first. Only populated on the meeting(code:) query. |
MeetingJoin
Section titled “MeetingJoin”Object. Everything a client needs to connect to a meeting’s LiveKit room.
| Field | Type | Description |
|---|---|---|
meeting |
Meeting! |
— |
ws_url |
String! |
— |
token |
String! |
— |
Message
Section titled “Message”Object. A Slack-style chat message (channel or DM), threadable one level deep.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
channel_id |
Int |
— |
conversation_id |
Int |
— |
parent_id |
Int |
— |
author_user_id |
String! |
— |
author_name |
String! |
— |
body |
String! |
— |
attachments |
[Attachment!]! |
Drive-hosted file attachments (public /o/{token} URLs). |
pinned_at |
String |
Set when pinned to its channel. |
pinned_by |
String |
— |
reactions |
[ReactionGroup!]! |
— |
reply_count |
Int! |
— |
edited_at |
String |
— |
created_at |
String! |
— |
MessageConnection
Section titled “MessageConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[MessageEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
MessageEdge
Section titled “MessageEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Message! |
— |
cursor |
String! |
— |
Notification
Section titled “Notification”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
kind |
String! |
— |
payload |
JSON! |
— |
read_at |
String |
— |
created_at |
String! |
— |
NotificationConnection
Section titled “NotificationConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[NotificationEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
NotificationEdge
Section titled “NotificationEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Notification! |
— |
cursor |
String! |
— |
PageInfo
Section titled “PageInfo”Object.
| Field | Type | Description |
|---|---|---|
hasNextPage |
Boolean! |
— |
hasPreviousPage |
Boolean! |
— |
startCursor |
String |
— |
endCursor |
String |
— |
Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
channel_id |
Int! |
— |
author |
TeamMember! |
— |
body |
String! |
— |
pinned |
Boolean! |
— |
edited_at |
String |
— |
created_at |
String! |
— |
comments |
[Comment!]! |
— |
comment_count |
Int! |
— |
PostConnection
Section titled “PostConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[PostEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
PostEdge
Section titled “PostEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Post! |
— |
cursor |
String! |
— |
PresenceEntry
Section titled “PresenceEntry”Object. One user’s presence snapshot.
| Field | Type | Description |
|---|---|---|
user_id |
String! |
— |
online |
Boolean! |
— |
last_seen_at |
String |
— |
ProvisionMeetingRoomInput
Section titled “ProvisionMeetingRoomInput”Input object.
| Field | Type | Description |
|---|---|---|
title |
String |
— |
createdBy |
String! |
Auth user uuid of the calendar event’s creator. |
ReactionGroup
Section titled “ReactionGroup”Object. One emoji’s reactions on a message, aggregated.
| Field | Type | Description |
|---|---|---|
emoji |
String! |
— |
count |
Int! |
— |
user_ids |
[String!]! |
— |
RealtimeToken
Section titled “RealtimeToken”Object. Mercure hub URL + subscriber JWT + the topics it grants.
| Field | Type | Description |
|---|---|---|
url |
String! |
— |
token |
String! |
— |
topics |
[String!]! |
— |
SendMessageInput
Section titled “SendMessageInput”Input object.
| Field | Type | Description |
|---|---|---|
channelId |
Int |
Exactly one of channelId / conversationId is required. |
conversationId |
Int |
— |
parentId |
Int |
Reply in a thread; must reference a root message in the same scope. |
body |
String! |
May be empty when attachments are present. |
attachments |
[AttachmentInput!] |
Up to 10 Drive-hosted attachments (from finalizeChatAttachment). |
String
Section titled “String”Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
name |
String! |
— |
slug |
String! |
— |
description |
String |
— |
archived |
Boolean! |
— |
member_count |
Int! |
— |
members |
[TeamMember!]! |
— |
channels |
[Channel!]! |
— |
boards |
[Board!]! |
— |
docs |
[Doc!]! |
— |
check_ins |
[CheckIn!]! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
TeamConnection
Section titled “TeamConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[TeamEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
TeamEdge
Section titled “TeamEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Team! |
— |
cursor |
String! |
— |
TeamMember
Section titled “TeamMember”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
team_id |
Int! |
— |
auth_user_id |
String! |
— |
display_name |
String! |
— |
email |
String! |
— |
role |
String! |
— |
joined_at |
String! |
— |
TeamRollup
Section titled “TeamRollup”Object. One team’s row in the cross-team project rollup, teams with most overdue work first.
| Field | Type | Description |
|---|---|---|
team_id |
Int! |
— |
team_name |
String! |
— |
open_cards |
Int! |
— |
overdue_cards |
Int! |
— |
due_soon_cards |
Int! |
— |
boards |
[BoardRollup!]! |
— |
TranscriptEntry
Section titled “TranscriptEntry”Object. One notetaker-captured spoken line.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
speaker_user_id |
String! |
— |
speaker_name |
String! |
— |
text |
String! |
— |
spoken_at |
String! |
— |
TranscriptEntryInput
Section titled “TranscriptEntryInput”Input object.
| Field | Type | Description |
|---|---|---|
text |
String! |
— |
spoken_at |
String |
ISO-8601; defaults to now. |
UpdateCardInput
Section titled “UpdateCardInput”Input object.
| Field | Type | Description |
|---|---|---|
title |
String |
— |
description |
String |
— |
assigneeId |
Int |
— |
dueAt |
String |
— |
labels |
[String!] |
— |
UpdateChannelInput
Section titled “UpdateChannelInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
topic |
String |
— |
UpdateCheckInInput
Section titled “UpdateCheckInInput”Input object.
| Field | Type | Description |
|---|---|---|
question |
String |
— |
cadence |
String |
— |
weekday |
Int |
— |
hour |
Int |
— |
active |
Boolean |
— |
UpdateDocInput
Section titled “UpdateDocInput”Input object.
| Field | Type | Description |
|---|---|---|
title |
String |
— |
body |
String |
— |
baseRevision |
Int |
The Doc.revision the client loaded before editing. When provided and stale (someone saved in between), the mutation fails with BAD_USER_INPUT instead of overwriting. Omit to force-save. |
UpdatePostInput
Section titled “UpdatePostInput”Input object.
| Field | Type | Description |
|---|---|---|
body |
String! |
— |
UpdateTeamInput
Section titled “UpdateTeamInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
slug |
String |
— |
description |
String |
— |
WorkloadEntry
Section titled “WorkloadEntry”Object. One assignee’s slice of a team’s board work (see Query.teamWorkload).
| Field | Type | Description |
|---|---|---|
member |
TeamMember |
Null for the unassigned-cards bucket. |
open_cards |
Int! |
— |
overdue_cards |
Int! |
— |
due_soon_cards |
Int! |
Due within the next 7 days (and not overdue). |
cards |
[CardDigest!]! |
Up to 20 cards, due-soonest first; counts always cover everything. |