Skip to main content
GET
Get repository configuration

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string<uuid>
required

Repository ID (UUID)

Response

Repository configuration

created_at
string<date-time>
required

When the repository was added

exclude_patterns
string[]
required

File patterns to exclude from reviews

Example:
id
string<uuid>
required

Repository configuration ID

installation_id
string<uuid>
required

Parent installation ID

repo_full_name
string
required

Full repository name (owner/repo)

Example:

"octocat/hello-world"

updated_at
string<date-time>
required

When the repository config was last updated

auto_review_enabled
boolean | null

This repository's own automatic-review setting. true turns reviews on, false turns them off, and null means follow the organization default. For the setting actually in effect, see effective_config.auto_review_enabled.

custom_instructions
string | null

This repository's own custom instructions; null means follow the organization default. See effective_config.custom_instructions.

deploy_wait_timeout
integer | null

This repository's own deploy-gated hold in seconds (0 disables it); null means follow the organization default. See effective_config.deploy_wait_timeout.

Required range: 0 <= x <= 3600
draft_policy
enum<string> | null

This repository's own draft-PR policy; null means follow the organization default. See effective_config.draft_policy.

Available options:
skip,
summary_only,
review
effective_config
object
focus
enum<string> | null

This repository's own focus setting; null means follow the organization default. See effective_config.focus.

Available options:
security,
performance,
style,
all
gating
enum<string> | null

This repository's own merge-gating setting; null means follow the organization default. See effective_config.gating.

Available options:
none,
block_on_critical,
block_on_high
high_level_summary
boolean | null

This repository's own high-level-summary setting; null means follow the organization default. See effective_config.high_level_summary.

max_inline_comments
integer | null

This repository's own inline-comment limit; null means follow the organization default. See effective_config.max_inline_comments.

output_format
enum<string> | null

This repository's own output format; null means follow the organization default. See effective_config.output_format.

Available options:
compact,
table,
checklist
path_instructions
object[]
review_output_mode
enum<string> | null

This repository's own review output mode; null means follow the organization default. See effective_config.review_output_mode.

Available options:
summary_only,
comments_only,
both
severity_threshold
enum<string> | null

This repository's own severity threshold; null means follow the organization default. See effective_config.severity_threshold.

Available options:
critical,
high,
medium,
low,
info,
all
streaming_enabled
boolean
suggested_changes_enabled
boolean | null

This repository's own suggested-changes setting; null means follow the organization default. See effective_config.suggested_changes_enabled.

tone
enum<string> | null

This repository's own tone setting; null means follow the organization default. See effective_config.tone for the value in effect.

Available options:
chill,
balanced,
assertive,
roast
verbosity
enum<string> | null

This repository's own verbosity setting; null means follow the organization default. See effective_config.verbosity.

Available options:
brief,
normal,
detailed
visibility
string

Repository visibility (public, private, or internal)