Skip to main content
PUT
Update the GitHub settings

Authorizations

Authorization
string
header
required

An sre_ak_* API key holding the api:admin scope (or api:config_read, which every write refuses with read_only_key).

Body

application/json
auto_pr_enabled
boolean

Whether an investigation may open a pull request with its fix without being asked. Off by default.

auto_revise_on_review
boolean

Whether the agent may push a revision to its own pull request when a review asks for changes.

context_repo
string

The private repository the fix agent reads for grounding (runbooks, known failure modes, account layout), as owner/name. It has to be one the installation grants. Send an empty string to clear it. Its content is sent to this organization's configured AI provider when a fix request runs.

draft_prs
boolean

Whether the pull requests it opens start as drafts. On by default.

Whether the platform may comment on a pull request that is linked to a board card. On by default.

review_enabled
boolean

Whether incoming pull requests are reviewed. Off by default: turning it on spends AI tokens on every pull request in the repositories the installation grants.

review_severity_floor
enum<string>

The lowest severity a review comments on inline, one of: critical, high, medium, low. Findings below it still appear, in the summary rather than on the diff.

Available options:
critical,
high,
medium,
low

Response

Updated.