AgentConnect
Agents

Resolve a git address

Preview what writing this address as an agent workspace would derive for the calling user: who vouches for it (GitHub App installation, managed GitLab project, or an anonymous read-only clone), the caller’s access ceiling, the canonical cloneable address, and the default branch. Refusals mirror the write paths.

GET
/v1/orgs/{orgId}/git/resolve

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Query Parameters

gitRepo*string
Length1 <= length <= 512

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/git/resolve?gitRepo=string"
{  "provider": "github",  "gitRepo": "string",  "access": "read",  "defaultBranch": "string",  "host": "github"}