Browse GitHub source locations
PreviewBrowse GitHub branches and Agent package paths.
POST
/v1/agents/{agent_id}/source/optionsSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”agent_id
required
string
Prefixed public identifier
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Repository location to browse before selecting an Agent source package.
object
branch
Branch to browse; omitted uses the repository’s default branch.
string | null
Example
maingithub_account
path
Repository-relative directory to browse; empty selects the root.
string
Example
agentsrepository
required
GitHub repository in owner/name form.
string
Example
acme/agentsResponses
200Success
Success
Media typeapplication/json
Example generated
example