Returns the current git connection state. connected: true means a git_connection row exists (OAuth handshake completed). repository is null between OAuth-done and repo-picked.
Works for both github and gitlab providers. The installation_id field is GitHub-specific and is null for GitLab connections.
Headless flow: after sending a human to the install URL, poll this endpoint until connected: true.
Documentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
Application ID for tenant scoping
API key (sk_agentmark_*)
Git connection status (may report connected: false if no connection exists yet).