API

PagesGithubOnboarding

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_onboarding load Organization GitHub onboarding 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_onboarding, err := client.PagesGithubOnboarding(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(pages_github_onboarding)

Lua

Construct client as shown in the Lua setup, then call the operations:

local pages_github_onboarding, err = client:PagesGithubOnboarding():load({ organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$pages_github_onboarding = $client->PagesGithubOnboarding()->load(["organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

pages_github_onboarding = client.PagesGithubOnboarding().load({"organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

pages_github_onboarding = client.PagesGithubOnboarding.load({ "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const pages_github_onboarding = await client.PagesGithubOnboarding().load({ organization_id: "example" })

Fields

Field Type Required Description
onboarding object Yes Onboarding
organization object Yes Organization

load

GET /api/v1/organizations/{org_slug}/pages/github_onboarding

Operation ID: api_v1_pages_github_onboarding.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
org_slug path string Yes
github_app_installation_id query string No
github_import_batch_id query string No

Responses

200: Organization GitHub onboarding page contract

application/json

Property Type Required Description
onboarding object Yes
onboarding.accounts array of object Yes
onboarding.accounts[].account_login string Yes
onboarding.accounts[].github_app_installation_id string Yes
onboarding.accounts[].repositories array of object Yes
onboarding.accounts[].repositories[].already_imported boolean Yes
onboarding.accounts[].repositories[].default_branch string Yes
onboarding.accounts[].repositories[].empty boolean Yes
onboarding.accounts[].repositories[].full_name string Yes
onboarding.accounts[].repositories[].html_url string (uri) Yes
onboarding.accounts[].repositories[].name string Yes
onboarding.accounts[].repositories[].owner string Yes
onboarding.accounts[].repositories[].private boolean Yes
onboarding.accounts[].repositories[].updated_at string Yes
onboarding.accounts[].repositories[].visibility string Yes
onboarding.active_batch_id string Yes The batch the wizard's import step should resume, the most recent batch still working, else the most recent overall.
onboarding.batches array of object Yes
onboarding.batches[].account_login string Yes
onboarding.batches[].complete boolean Yes Whether every item has settled and the wizard should treat the import as finished.
onboarding.batches[].created_at string (date-time) Yes
onboarding.batches[].failed_item_count integer Yes
onboarding.batches[].github_app_installation_id string Yes
onboarding.batches[].id string Yes
onboarding.batches[].imported_item_count integer Yes
onboarding.batches[].item_count integer Yes
onboarding.batches[].items array of object Yes
onboarding.batches[].items[].can_retry boolean Yes
onboarding.batches[].items[].created_at string (date-time) Yes
onboarding.batches[].items[].error_message string Yes
onboarding.batches[].items[].id string Yes
onboarding.batches[].items[].include_in_home boolean Yes
onboarding.batches[].items[].phase string Yes
onboarding.batches[].items[].repository_full_name string Yes
onboarding.batches[].items[].repository_id string Yes
onboarding.batches[].items[].repository_name string Yes
onboarding.batches[].items[].repository_owner string Yes
onboarding.batches[].items[].repository_slug string Yes
onboarding.batches[].items[].root_path string Yes
onboarding.batches[].items[].status enum: queued, running, succeeded, failed, already_imported, invalid Yes
onboarding.batches[].items[].terminal boolean Yes Whether this item has settled (no further work expected without a retry).
onboarding.batches[].items[].updated_at string (date-time) Yes
onboarding.batches[].status enum: running, completed Yes
onboarding.batches[].terminal_item_count integer Yes
onboarding.batches[].updated_at string (date-time) Yes
onboarding.capabilities object Yes
onboarding.capabilities.can_manage_connections boolean Yes
onboarding.installations array of object Yes
onboarding.installations[].account_avatar_url string (uri) Yes
onboarding.installations[].account_id string Yes
onboarding.installations[].account_login string Yes
onboarding.installations[].created_at string (date-time) Yes
onboarding.installations[].created_at_label string Yes
onboarding.installations[].id string Yes
onboarding.installations[].installation_id string Yes
onboarding.installations[].installed_at string (date-time) Yes
onboarding.installations[].installed_at_label string Yes
onboarding.installations[].manage_access_url string (uri) Yes
onboarding.installations[].organization_id string Yes
onboarding.installations[].permission_entries array of object Yes
onboarding.installations[].permission_entries[].access string Yes
onboarding.installations[].permission_entries[].key string Yes
onboarding.installations[].permission_entries[].name string Yes
onboarding.installations[].permissions object Yes
onboarding.installations[].status enum: active, suspended Yes
onboarding.installations[].suspended_at string (date-time) Yes
onboarding.installations[].suspended_at_label string Yes
onboarding.installations[].updated_at string (date-time) Yes
onboarding.installations[].updated_at_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