Get the source organization for custom agents in an enterprise
Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.
Custom agents are enterprise-defined AI agents stored as markdown files in a special repository. An enterprise admin configures one organization as the "source" for custom agents and Copilot CLI client settings, and that org must have a repo named .github-private containing agent definitions in /agents/*.md, or enterprise-managed AI standards in copilot/managed-settings.json (with fallback to .github/copilot/settings.json). Learn more about configuring enterprise-managed AI standards for Copilot clients.
Enterprise owners with read access to AI Controls can use this endpoint.
OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
Path parameters
The slug version of the enterprise name.
Response
Response