Skip to content
Docs
GitHub

Browse GitHub source locations

Preview

Browse GitHub branches and Agent package paths.

Public APIEverruns Cloud and self-hosted Platform

POST/v1/agents/{agent_id}/source/options

See authentication for credentials and permissions.

agent_id
required
string

Prefixed public identifier

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

main
github_account
One of:

Development GitHub account to read through; omitted prefers the caller’s own.

string
Allowed values: personal organization
path

Repository-relative directory to browse; empty selects the root.

string

Example

agents
repository
required

GitHub repository in owner/name form.

string

Example

acme/agents

Responses

200Success

Success

Media typeapplication/json

Example generated

example