GitHub: Get Git Hub meta information
GitHub meta.metaGet: arguments, response, policy and SDK examples.
← Meta operations · Get started
Operation github.meta_get
Provider route: GET /meta. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/github with npm, or alter-sdk-github with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { GitHubIntegration } from "@alter-ai/github";
async function execute(input: Parameters<GitHubIntegration["meta"]["metaGet"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new GitHubIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.meta.metaGet(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_github import GitHubIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = GitHubIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.meta.meta_get(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Get Git Hub meta information — response body |
Referenced models: Get Git Hub meta information — response body
Schemas
Section titled “Schemas”Get Git Hub meta information — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Api Overview |
actions | array | Optional | |
actions[] | string | Each item | |
actions_macos | array | Optional | |
actions_macos[] | string | Each item | |
api | array | Optional | |
api[] | string | Each item | |
codespaces | array | Optional | |
codespaces[] | string | Each item | |
commit_signing_keys | array | Optional | |
commit_signing_keys[] | string | Each item | |
copilot | array | Optional | |
copilot[] | string | Each item | |
dependabot | array | Optional | |
dependabot[] | string | Each item | |
domains | object | Optional | |
domains.actions | array | Optional | |
domains.actions[] | string | Each item | |
domains.actions_inbound | object | Optional | |
domains.actions_inbound.full_domains | array | Optional | |
domains.actions_inbound.full_domains[] | string | Each item | |
domains.actions_inbound.wildcard_domains | array | Optional | |
domains.actions_inbound.wildcard_domains[] | string | Each item | |
domains.artifact_attestations | object | Optional | |
domains.artifact_attestations.services | array | Optional | |
domains.artifact_attestations.services[] | string | Each item | |
domains.artifact_attestations.trust_domain | string | Optional | |
domains.codespaces | array | Optional | |
domains.codespaces[] | string | Each item | |
domains.copilot | array | Optional | |
domains.copilot[] | string | Each item | |
domains.packages | array | Optional | |
domains.packages[] | string | Each item | |
domains.storage | array | Optional | |
domains.storage[] | string | Each item | |
domains.website | array | Optional | |
domains.website[] | string | Each item | |
git | array | Optional | |
git[] | string | Each item | |
github_enterprise_importer | array | Optional | |
github_enterprise_importer[] | string | Each item | |
hooks | array | Optional | |
hooks[] | string | Each item | |
importer | array | Optional | |
importer[] | string | Each item | |
packages | array | Optional | |
packages[] | string | Each item | |
pages | array | Optional | |
pages[] | string | Each item | |
shared_ingress | array | Optional | Public destination IP ranges in CIDR notation for shared GitHub-managed ingress infrastructure. These ranges may serve multiple GitHub services and are not outbound source ranges. Use them alongside the relevant product-specific network requirements. Omitted when no ranges are available. |
shared_ingress[] | string | Each item | |
ssh_key_fingerprints | object | Optional | |
ssh_key_fingerprints.SHA256_DSA | string | Optional | |
ssh_key_fingerprints.SHA256_ECDSA | string | Optional | |
ssh_key_fingerprints.SHA256_ED25519 | string | Optional | |
ssh_key_fingerprints.SHA256_RSA | string | Optional | |
ssh_keys | array | Optional | |
ssh_keys[] | string | Each item | |
verifiable_password_authentication | boolean | Required within parent | |
web | array | Optional | |
web[] | string | Each item |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: github.meta_get. Catalog operation: meta/get. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Pinned headers: {"X-GitHub-Api-Version": "2026-03-10", "User-Agent": "Alter", "Accept": "application/vnd.github+json"}