Skip to main content

Set Default Git Repositories

PUT 

/api/background-agents/git-proxy/default-repos

Replaces the organization's default Git repositories. A repository left out is removed, and "repos": [] removes them all, so read the list first with Get Default Git Repositories to add one.

The change applies to every agent with Git on, on its next git command. Agents with Git off are not affected. On Willow Agents, Claude Managed Agents, and AWS AgentCore, deploy an agent again so its instructions list the new repositories.

Requires admin:write.

Request​

Responses​

The stored default repositories