PagesGithubIntegration
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/organizations/{org_slug}/pages/github_integrations |
list |
GitHub organization settings overview page contract |
GET |
/api/v1/organizations/{org_slug}/pages/github_integrations/{github_app_installation_id} |
load |
GitHub organization settings detail page contract |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
pages_github_integrations, err := client.PagesGithubIntegration(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(pages_github_integrations)
pages_github_integration, err := client.PagesGithubIntegration(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(pages_github_integration)
Lua
Construct client as shown in the Lua setup, then call the operations:
local pages_github_integrations, err = client:PagesGithubIntegration():list({ organization_id = "example" })
local pages_github_integration, err = client:PagesGithubIntegration():load({ id = "example_id", organization_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$pages_github_integrations = $client->PagesGithubIntegration()->list(["organization_id" => "example"]);
$pages_github_integration = $client->PagesGithubIntegration()->load(["id" => "example_id", "organization_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
pages_github_integrations = client.PagesGithubIntegration().list({"organization_id": "example"})
pages_github_integration = client.PagesGithubIntegration().load({"id": "example_id", "organization_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
pages_github_integrations = client.PagesGithubIntegration.list({ "organization_id" => "example" })
pages_github_integration = client.PagesGithubIntegration.load({ "id" => "example_id", "organization_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const pages_github_integrations = await client.PagesGithubIntegration().list({ organization_id: "example" })
const pages_github_integration = await client.PagesGithubIntegration().load({ id: "example_id", organization_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
account_avatar_url |
one,string,null |
Yes | Account Avatar Url |
account_login |
string |
Yes | Account Login |
connection_status |
string |
Yes | Connection Status |
connection_status_label |
string |
Yes | Connection Status Label |
github_installation |
any |
Yes | Github Installation |
health |
object |
Yes | Health |
id |
string |
Yes | Id |
imported_repositories_count |
integer |
Yes | Imported Repositories Count |
imported_repositories_count_label |
string |
Yes | Imported Repositories Count Label |
organization |
object |
Yes | Organization |
pagination |
object |
Yes | Pagination |
repositories |
array |
Yes | Repositories |
list
GET /api/v1/organizations/{org_slug}/pages/github_integrations
Operation ID: get_api_v1_organizations_org_slug_pages_github_integrations.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes |
Responses
200: GitHub organization settings overview page contract
application/json
| Property | Type | Required | Description |
|---|---|---|---|
github_installations |
array of object |
Yes | |
github_installations[].account_avatar_url |
string (uri) |
Yes | |
github_installations[].account_login |
string |
Yes | |
github_installations[].connection_status |
enum: connected, unavailable, needs_attention, checking, could_not_verify, not_verified |
Yes | |
github_installations[].connection_status_label |
string |
Yes | |
github_installations[].health |
object |
Yes | |
github_installations[].health.accessible_count |
integer |
Yes | |
github_installations[].health.affected_count |
integer |
Yes | |
github_installations[].health.checked_at |
string |
Yes | |
github_installations[].health.checking |
boolean |
Yes | |
github_installations[].health.completed_generation |
integer |
Yes | |
github_installations[].health.configured_count |
integer |
Yes | |
github_installations[].health.generation |
integer |
Yes | |
github_installations[].health.guidance |
string |
Yes | |
github_installations[].health.label |
string |
Yes | |
github_installations[].health.reason |
string |
Yes | |
github_installations[].health.status |
enum: connected, needs_attention, checking, could_not_verify, not_verified |
Yes | |
github_installations[].id |
string |
Yes | |
github_installations[].imported_repositories_count |
integer |
Yes | |
github_installations[].imported_repositories_count_label |
string |
Yes | |
organization |
object |
Yes | |
organization.activated_products |
array of enum: transcripts, vcs |
Yes | Products this organization has activated (PRD 144). Activation is what makes a product's surfaces visible; it is neither permission nor entitlement. |
organization.agents_only |
boolean |
No | Whether this organization uses the agents-only interface; older responses may omit this value. |
organization.can_activate_products |
boolean |
Yes | Whether the current user may activate a product for this organization: the organization-admin rule the activation endpoint enforces. |
organization.created_at |
string (date-time) |
Yes | |
organization.created_at_label |
string |
Yes | |
organization.github_prs_authored_by_change_author |
boolean |
Yes | |
organization.id |
string |
Yes | |
organization.logo_url |
string |
Yes | |
organization.member_count |
integer |
Yes | |
organization.name |
string |
Yes | |
organization.pending_invitation_count |
integer |
Yes | |
organization.personal |
boolean |
Yes | |
organization.repository_count |
integer |
Yes | |
organization.role |
string |
Yes | |
organization.sandbox_region |
enum: us-was-1, us-pdx-1, eu-lon-1, eu-fra-1, auto |
Yes | |
organization.shared_agent_personal_accounts_enabled |
boolean |
No | Whether a shared agent may use one person's account for everyone who chats with it. Present only where agent integrations are on. |
organization.slug |
string |
Yes | |
organization.source_control_providers |
array of enum: github, gitlab |
No | Connected source control providers for this organization. Missing values mean no providers are known. |
organization.source_ui_enabled |
boolean |
No | Organization-scoped Source workspace rollout; missing values mean disabled. |
organization.timezone |
string |
Yes | Default IANA timezone for organization-local schedules such as nightly dreaming. |
organization.updated_at |
string (date-time) |
Yes | |
organization.updated_at_label |
string |
Yes | |
organization.verify_pr_scenario_writing_enabled |
boolean |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
load
GET /api/v1/organizations/{org_slug}/pages/github_integrations/{github_app_installation_id}
Operation ID: get_api_v1_organizations_org_slug_pages_github_integrations_github_app_installation_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
github_app_installation_id |
path |
string |
Yes | |
page |
query |
integer |
No |
Responses
200: GitHub organization settings detail page contract
application/json
| Property | Type | Required | Description |
|---|---|---|---|
github_installation |
object and object |
Yes | |
organization |
object |
Yes | |
organization.activated_products |
array of enum: transcripts, vcs |
Yes | Products this organization has activated (PRD 144). Activation is what makes a product's surfaces visible; it is neither permission nor entitlement. |
organization.agents_only |
boolean |
No | Whether this organization uses the agents-only interface; older responses may omit this value. |
organization.can_activate_products |
boolean |
Yes | Whether the current user may activate a product for this organization: the organization-admin rule the activation endpoint enforces. |
organization.created_at |
string (date-time) |
Yes | |
organization.created_at_label |
string |
Yes | |
organization.github_prs_authored_by_change_author |
boolean |
Yes | |
organization.id |
string |
Yes | |
organization.logo_url |
string |
Yes | |
organization.member_count |
integer |
Yes | |
organization.name |
string |
Yes | |
organization.pending_invitation_count |
integer |
Yes | |
organization.personal |
boolean |
Yes | |
organization.repository_count |
integer |
Yes | |
organization.role |
string |
Yes | |
organization.sandbox_region |
enum: us-was-1, us-pdx-1, eu-lon-1, eu-fra-1, auto |
Yes | |
organization.shared_agent_personal_accounts_enabled |
boolean |
No | Whether a shared agent may use one person's account for everyone who chats with it. Present only where agent integrations are on. |
organization.slug |
string |
Yes | |
organization.source_control_providers |
array of enum: github, gitlab |
No | Connected source control providers for this organization. Missing values mean no providers are known. |
organization.source_ui_enabled |
boolean |
No | Organization-scoped Source workspace rollout; missing values mean disabled. |
organization.timezone |
string |
Yes | Default IANA timezone for organization-local schedules such as nightly dreaming. |
organization.updated_at |
string (date-time) |
Yes | |
organization.updated_at_label |
string |
Yes | |
organization.verify_pr_scenario_writing_enabled |
boolean |
Yes | |
pagination |
object |
Yes | |
pagination.count |
integer |
Yes | |
pagination.last |
integer |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
integer |
Yes | |
pagination.page |
integer |
Yes | |
pagination.previous |
integer |
Yes | |
pagination.series |
array of integer or enum: gap |
Yes | |
repositories |
array of object |
Yes | |
repositories[].github_repository |
string |
Yes | |
repositories[].health |
object |
Yes | |
repositories[].health.checked_at |
string |
Yes | |
repositories[].health.installation_id |
string |
Yes | |
repositories[].health.label |
string |
Yes | |
repositories[].health.reason |
string |
Yes | |
repositories[].health.repository |
string |
Yes | |
repositories[].health.state |
enum: unknown, available, unavailable |
Yes | |
repositories[].id |
string |
Yes | |
repositories[].name |
string |
Yes | |
repositories[].slug |
string |
Yes |