copilot
Get the source organization for custom agents in an enterprise
Gets the organization and repository configured as the source for custom agent definitions 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" and that org must have a repo named .github-private containing agent definitions in /agents/*.md.
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.
get/enterprises/{enterprise}/copilot/custom-agents/source
Path parameters
enterprisestring required
The slug version of the enterprise name.
Response
Response