v1
latestOpenAPI 3.1.02026-08-04156223229.6 KBsync-chat
Get Sync Chat Context
Per-user corpus-digest context for a sync-chat turn (agent-service-facing).
Authed by the sync-chat-turn JWT. The JWT's user_id scopes the entire response; request inputs cannot widen it. Returns:
- corpus digest: the user's scott-push sessions from the last 14 days with stats and key messages, recency-ordered (newest first, limit 30)
- GitHub install state: so the assistant knows whether to nudge
- thread ancestry: root to from_turn_id (same as review-chat context)
get/agent-loop/sync-chat/context
Query parameters
from_turn_idstring nullable
Headers
authorizationstring nullable
Response
Successful Response