Skip to main content
PUT
Change a repo's record App settings

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Query Parameters

repo
string
required

The repo, owner/name (case-insensitive).

Pattern: ^[A-Za-z0-9_.-]{1,100}/[A-Za-z0-9_.-]{1,100}$

Body

application/json
hide_cost_on_pr_comment
boolean

Reserved. Stored and returned; the record comment carries no cost line today, so true and false post the same comment.

outcome_window_days
integer

How long a merged PR's outcome watches for a revert. Fixed on the outcome at the merge, so a change affects later merges only. An operator per-repo override wins over it.

Required range: 1 <= x <= 365
check_fail_mode
enum<string>

The check's conclusion when the record could not be built.

Available options:
neutral,
fail_closed

Response

Stored; the repo's effective settings after the change.

repo
string
required

owner/name, lower-cased.

Pattern: ^[a-z0-9_.-]{1,100}/[a-z0-9_.-]{1,100}$
settings
object
required

The effective settings: the keys the repo set, the defaults for the rest.

set
enum<string>[]
required

The keys the repo set; any key not listed follows the default.

Available options:
hide_cost_on_pr_comment,
outcome_window_days,
check_fail_mode
updated_at
string<date-time> | null
required

When the settings were last written, or null when the repo never set any.