Get an agent's GitHub App status
PreviewShow an agent’s own GitHub App: whether it exists, whether it is installed, on which account, and which permissions it lacks.
/v1/agents/{agent_id}/githubSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Prefixed public identifier
Responses
200Success
Success
GitHub as seen from an agent’s page.
object
GitHub account the App is installed on.
The App exists. Without connected it was never installed, or its
installation was removed.
The App’s settings page on GitHub, where its logo is uploaded
(GitHub has no API for that). None when the owner’s account kind is
not known, since user and organization Apps live at different paths.
The login GitHub shows for the agent, e.g. pr-summarizer[bot], or the
shared App’s (everruns[bot]) when the agent chose it and the
deployment names its slug; None otherwise.
An installation is bound, so tools and triggers work: the agent’s own App’s, or a shared Everruns App installation the agent chose.
Shared Everruns App installations an org admin linked, which this agent can choose instead of an App of its own (D3). Empty when none is linked or the deployment has no shared App.
A shared Everruns App installation the org links, as an agent can choose it.
object
GitHub account the installation is on.
GitHub’s account type: User or Organization, when known.
The org link’s connection id; pass it to choose this installation.
all or selected, when known.
The agent’s identity, once it has one; disconnect goes through it.
Which GitHub identity the agent acts as: agent_app (its own App) or
everruns_app (the shared Everruns App). None before either exists.
Permissions new Apps request that this installation lacks (name:level),
e.g. actions:read for CI triggers on an App created before them.
Empty when not connected.
all or selected.
GitHub accounts this organization already reached, as candidates for
owner_org when creating the App: installation accounts of its GitHub
connections and owners of its other agents’ Apps. Organizations first,
then users, then accounts of unknown kind; by login within each.
A GitHub account a new App could be created in.
object
What kind of GitHub account a login is.
The agent’s GitHub page in the console, so a caller can link to it. Absolute in responses; built as a relative path here because the console’s address is known only where links are decorated.
Example
{ "bot_login": "pr-summarizer[bot]", "kind": "agent_app", "repository_selection": "selected", "suggested_owners": [ { "kind": "organization" } ], "view_url": "https://app.everruns.com/agents/agent_01933b5a000070008000000000000001/github"}404Agent not found
Agent not found