v1

latestOpenAPI 3.1.02026-08-04156223229.6 KB
sync-chat

Sync Chat Connected Source Retrieval Details

Mint clone + token retrieval details for a sync-chat connected source.

The agent holds the in-memory ConnectedSource from /context and posts it back here to clone the repo mid-turn. Re-resolving from its config/metadata only mints a token for a repo the user's own install already reaches, so no persistence or workspace coupling is required (sync-chat is per-user).

post/agent-loop/sync-chat/connected-sources/retrieval-details

Headers

authorizationstring nullable

Request body

idstring nullable
linked_by_user_idstring required
adapter'github' | 'slack' | 'uploaded_file' required

Type of source adapter (github, uploaded_file, etc.)

visibility'private' | 'public'

Visibility level of a source

Response

Successful Response

adapter'github' | 'slack' | 'uploaded_file' required

Type of source adapter (github, uploaded_file, etc.)