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.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
Query Parameters
gitRepo*string
Length
1 <= length <= 512Response 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"}