Skip to content
gist.link ↗

channelCatchUp

Query Teams API — POST https://teams.api.gist.link/graphql

“Catch me up”: an AI markdown digest of the messages in a channel newer than the caller’s read position (max 300 considered). Never advances the caller’s read state. Team members only.

teams:query:channelCatchUp

The calling IAM key must hold this permission (or a wildcard that covers it: teams:query:* or teams:*) and the access token must have been minted with audience=teams. See Permissions.

type Query {
channelCatchUp(channelId: Int!): CatchUpSummary!
}
Argument Type Required Description
channelId Int! Yes —

CatchUpSummary! — see the Teams types reference.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query ChannelCatchUp($channelId: Int!) { channelCatchUp(channelId: $channelId) { channel_id message_count since summary } }",
"variables": {
"channelId": 10
}
}
JSON