Skip to content

Reference

alter providers

Configure OAuth providers per app, browse the provider catalog, and explore provider API specs.

Each app configures the OAuth providers its users can connect. These commands manage those per-app provider configs, and browse the provider API spec store — every provider’s active API spec, its operations, and each operation’s schemas.

alter providers list-catalog
alter providers list
alter providers setup-guide --provider <id> [--scopes <list>]
alter providers callback-url
alter providers create --provider <id> --scopes <list> --client-id ... (--client-secret ... | --in-portal) [--redirect-uri ...] [--redirect-uri-alias <name>] [--provider-app-name <name>] [--sso-instance-id <id>]
alter providers show --provider <id>
alter providers update --provider <id> [--scopes ...] [--status ...] [--sso-instance-id <id> | --clear-sso-instance-id] [...]
alter providers set-delegation-policy --provider <id> [--delegable | --no-delegable] [--max-delegation-depth <1-8>]
alter providers delete --provider <id> [--force] [--confirm <id>]
alter providers spec list [--kind oauth|managed]
alter providers spec status <provider> [--kind oauth|managed]
alter providers operations list <provider> [--kind oauth|managed] [--search <q>] [--limit <n>] [--offset <n>]
alter providers operations get <provider> <operation-id> [--kind oauth|managed]

App-scoped commands take --app <id> (or the app’s name), or link a workspace / set ALTER_APP_ID. Reads (list / show) need dashboard_providers:read; create / update / set-delegation-policy need dashboard_providers:write; delete needs the explicit, wildcard-excluded dashboard_providers:delete scope. list-catalog has no scope requirement, but the CLI still requires a signed-in PAT to construct its configured client. create also accepts the alias configure.

The spec-store reads (spec ... / operations ...) take no --app and need no particular scope — any signed-in token can browse them, since API specs are public provider documentation data.

List the catalog of supported OAuth providers — the set that can be configured for any app. This is the global catalog, not the per-app config, so it needs no --app. The MANAGED column reports whether this deployment currently has an Alter-managed OAuth app available. MANAGED SCOPES reports its exact approved scope set; JSON output carries managed_credentials_available and managed_approved_scopes. Use these live fields instead of a hardcoded provider or scope list.

The REDIRECT ALIAS column names providers that take a provider-issued redirect name as redirect_uri instead of the callback URL, using the provider’s own term for it (eBay: RuName); JSON output carries redirect_uri_alias as { "label", "description" }, or null for every other provider. Configuring such a provider with custom credentials requires --redirect-uri-alias on create, and on an update that switches the config to custom credentials.

The APP NAME column names providers whose authorize URL embeds the operator’s own app identifier (the name of the app or listing registered in the provider’s console), using the provider’s own term for it; JSON output carries provider_app_name as { "label", "description", "pattern" }, or null for every other provider. pattern is the grammar the value must match. Configuring such a provider with custom credentials requires --provider-app-name on create, and on an update that switches the config to custom credentials.

The SSO column names providers whose users can sign in through an SSO instance the operator names (Encompass: SSO instance ID); JSON output carries sso_instance as { "label", "description", "pattern", "authorization_params" }, or null for every other provider. authorization_params are the authorize parameters such a config sends, with {sso_instance_id} standing for the stored value (Encompass: { "is_sso": "true", "instance_id": "{sso_instance_id}" }). The value is optional: see SSO instance (Encompass).

Terminal window
alter providers list-catalog

List the providers configured for an app, with grant counts, status, and the current verdict for starting new authorization flows. Alter-managed (shared_dev) rows include new_authorization_available and, when blocked, a provider-specific new_authorization_unavailable_reason. Existing grants remain usable when new authorization is unavailable. The REDIRECT ALIAS column (JSON: redirect_uri_alias) shows the provider-issued redirect name a config sends as redirect_uri; it is empty (JSON null) unless the provider uses one and the config uses custom credentials. An Alter-managed (shared_dev) config carries the name on the shared credential, so its row shows none. The APP NAME column (JSON: provider_app_name) shows the app identifier a config places in the provider’s authorize URL, with the same rule: empty (JSON null) unless the provider uses one and the config uses custom credentials. The SSO column (JSON: sso_instance_id) shows the SSO instance a config’s users sign in through; it is empty (JSON null) when SSO is off, the provider has none, or the config uses Alter-managed credentials. The ONWARD column shows the provider’s agent sharing (see set-delegation-policy): off, or on (≤N) where N is how many agents deep a chain may go. With a depth of 1 an agent holds the access but cannot share it onward, so the column reads on (≤1, no onward hop). JSON output carries it as delegation_policy.

The command returns the server’s first page (up to 100 provider configs) as an array; it does not expose pagination flags.

Terminal window
alter providers list

Print how to set up a provider for Alter, for a person to follow in the provider’s console. The guide comes from the same catalog the Developer Portal shows: the console (console_name, console_url), its click-by-click steps (steps), the exact redirect URI to register (redirect_uri) in the console field named by redirect_uri_field, and the scopes to add (scopes). next_command is the command that finishes the setup.

It says first when Alter-managed credentials cover the scopes (managed_credentials_available, managed_approved_scopes): then no OAuth app is needed and next_command uses --credential-source shared_dev. Otherwise next_command ends in --in-portal, so the client secret is typed in the Developer Portal rather than passed to this command. A provider with a provider-issued redirect name or an app name (redirect_uri_alias, provider_app_name) shows it, with a placeholder for it in next_command.

FlagDefaultDescription
--provider <provider>requiredThe provider id from list-catalog.
--scopes <list>the catalog’s default and required scopesThe scopes the integration needs. A scope the provider does not offer exits 2.
--output <format>jsonjson or jsonl for scripts; table prints the guide as text for a person.
Terminal window
alter providers setup-guide --provider slack --scopes chat:write --output table

A provider with no step-by-step guide in the catalog returns an empty steps list; follow setup_guide_url or documentation_url instead.

Print Alter’s OAuth callback URL. With your own OAuth credentials (--credential-source custom), register this exact URL as an authorized redirect URI in the provider’s OAuth app before running create: the provider sends users back to it after consent. It is not your application’s URL. create uses it when --redirect-uri is omitted. Alter-managed credentials (--credential-source shared_dev) need no registration.

FlagDefaultDescription
--output <format>jsonjson, jsonl, or table.

The value is the redirect_uri field:

Terminal window
alter providers callback-url --output json | jq -r '.redirect_uri'

Configure a provider for the app. With your own OAuth credentials, register the callback URL in the provider’s OAuth app first. Where the catalog offers Alter-managed credentials (alter providers list-catalog, MANAGED column), --credential-source shared_dev needs no client ID, secret or registration.

FlagRequiredDescription
--provider <id>yesProvider ID (e.g. google, slack, github).
--scopes <list>for providers with selectable scopesComma-separated provider scopes (e.g. email,profile). At least one is required when the provider publishes selectable scopes. Omit the flag for scopeless providers (for example Notion or Zoom) — they take no scope selection, and supplying one is rejected.
--credential-source <source>nocustom (default) or shared_dev (Alter-managed). shared_dev is a legacy wire name, not an Alter-app environment restriction. Confirm availability and the exact managed_approved_scopes with list-catalog; managed credentials use Alter’s consent branding, callbacks, and shared provider quota. App-owned client IDs, secrets, and redirect URIs are rejected in this mode. Before saving, the CLI queries live Alter-managed credential availability and reports the provider-specific reason when new authorization is unavailable.
--client-id <id>when --credential-source custom (the default)OAuth client ID.
--client-secret <value>when --credential-source custom (the default)OAuth client secret. Use - to read from stdin or @/path/to/file; an inline value prints a shell-history warning.
--environment <env>noproduction (default) or sandbox. The CLI checks the provider catalog and accepts sandbox only when the selected provider publishes it (Brex, Deel, Dialpad, DocuSign, eBay, Mercury, PayPal, Pinterest, Ramp, Salesforce and Square; alter providers list-catalog --output json lists each provider’s available_environments). shared_dev credentials are production-only. A sandbox credential is not valid against production endpoints, or the reverse; the save-time credential check probes the selected environment’s real endpoint and rejects a credential that belongs to the other deployment.
--redirect-uri <uri>noThe redirect URIs the config allows, as valid HTTP or HTTPS URLs. Omit it with --credential-source custom to use Alter’s OAuth callback URL (callback-url), which the list must contain: Connect returns users to it and cannot start without it. A list that leaves it out is saved with a warning. Repeatable, or comma-separated; both forms accumulate.
--redirect-uri-alias <name>for providers that use one, with --credential-source customThe provider-issued redirect name sent as redirect_uri in place of the callback URL (eBay’s RuName). Required for a provider whose list-catalog row shows a REDIRECT ALIAS label, and rejected for every other provider and for shared_dev credentials; the CLI checks the catalog before saving. 1–255 characters.
--provider-app-name <name>for providers that use one, with --credential-source customThe app identifier the provider embeds in its authorize URL path. Required for a provider whose list-catalog row shows an APP NAME label, and rejected for every other provider and for shared_dev credentials. The CLI checks the catalog and the value against the catalog’s pattern before saving. 1–64 characters.
--sso-instance-id <id>noThe SSO instance the config’s users sign in through, for a provider whose list-catalog row shows an SSO label (Encompass): users are sent to that instance’s SSO login page. Omit it for the provider’s own login page. Rejected for every other provider and for shared_dev credentials; the CLI checks the catalog and the value against the catalog’s pattern before saving. Stored as sso_instance_id; see SSO instance (Encompass).
--skip-preflightnoSave without the provider credential check (audited; use only when the provider endpoint is unavailable). The response’s preflight summary reports skipped so the unverified state is never silent.
--input <path>noJSON body from a file (@path) or stdin (-); replaces the per-field flags, including --environment, --redirect-uri-alias (body key redirect_uri_alias), --provider-app-name (body key provider_app_name) and --sso-instance-id (body key sso_instance_id). Non-default per-field values supplied alongside it are ignored with a warning.
--in-portalnoSave nothing here: print a Developer Portal link, the portal_url field, that opens the provider’s form filled in with the other flags, for the operator to paste the client secret and save. See Type the client secret in the portal.
Terminal window
alter providers create \
--provider google \
--scopes openid,email,https://www.googleapis.com/auth/calendar.readonly \
--client-id <google-client-id> \
--client-secret @/run/secrets/google

With --in-portal, create checks every flag the way a save does (catalog scopes, environment, provider-declared fields) and then, instead of saving, prints a Developer Portal link:

Terminal window
alter providers create --provider slack --scopes chat:write --client-id <client-id> --in-portal
{ "provider_id": "slack", "portal_url": "https://portal.example.com/apps/<app-id>/oauth/new?provider=slack&scopes=chat%3Awrite&client_id=..." }

The link opens the provider’s form with the provider, scopes, client ID and any provider-declared field filled in, and Alter’s callback URL as the redirect URI. The operator signs in, pastes the client secret, and saves. The save runs the usual credential check. The client secret is never passed to the command, written to a file, or seen by a coding agent driving the CLI. The link itself carries no secret and grants nothing: the page needs a Developer Portal sign-in to the app’s organization. Nothing is saved until the operator saves; alter providers show --provider <id> finds the config afterwards.

--in-portal is for your own OAuth app (--credential-source custom) and cannot be combined with --client-secret, --redirect-uri, --skip-preflight or --input.

Use shared_dev when the catalog reports managed credentials and Alter’s branding, reported approved scope set, shared quota, and production provider deployment fit. Use custom for custom consent branding or scopes, dedicated quota, a sandbox or custom provider deployment, or the application’s own provider review. See Credentials managed by Alter.

Most providers accept the callback URL itself as redirect_uri. eBay does not: the callback URL is registered in the eBay developer console as the Auth Accepted URL (under User Tokens), the console assigns it a RuName (Redirect URL name, for example Davy_Developer-DavyDeve-DavysT-euiukxwt; eBay issues one per environment, so pass the one for the config’s --environment), and eBay requires that name, never the URL, in every consent request and token exchange. With the URL in its place eBay rejects the request before any consent screen, so an eBay config without its RuName can never mint a grant.

alter providers list-catalog shows which providers work this way in the REDIRECT ALIAS column. For those providers, create with custom credentials requires --redirect-uri-alias; the CLI checks the catalog and fails locally with exit code 2, naming the provider’s own term and where the value comes from, before anything is saved. An update that switches such a config from shared_dev to custom credentials requires it the same way: the CLI reads the stored config and refuses the switch locally unless a RuName is already stored or supplied. Supplying the flag for a provider that does not use one fails the same way (--redirect-uri-alias is not used by <provider>), as does combining it with shared_dev credentials, on create and update alike. The value is trimmed and must be 1–255 characters, whether it comes from the flag or from the redirect_uri_alias key of an --input body. The stored value is returned as redirect_uri_alias by create, show, list, and update (null for an Alter-managed config, which carries the name on the shared credential); --redirect-uri keeps its meaning (it is the URL registered under the name).

Terminal window
alter providers create \
--provider ebay \
--scopes https://api.ebay.com/oauth/api_scope,https://api.ebay.com/oauth/api_scope/commerce.identity.readonly \
--client-id <ebay-app-id> \
--client-secret @/run/secrets/ebay \
--redirect-uri-alias <ebay-runame>

A few providers put the operator’s own app identifier in the authorize URL path, so every consent request names the app or listing registered in the provider’s console (for example .../apps/<app-name>/authorize). Alter cannot derive that identifier, so the config stores it and Alter places it in the authorize URL of every new connection and every reconnection. It is never sent to the token endpoint.

alter providers list-catalog shows which providers work this way in the APP NAME column. For those providers, create with custom credentials requires --provider-app-name; an update that switches such a config from shared_dev to custom credentials requires it too, unless the stored config already carries one. The CLI checks the catalog and fails locally with exit code 2, before anything is sent, when the value is missing for such a provider, supplied for a provider that does not use one (--provider-app-name is not used by <provider>), supplied for shared_dev credentials (typed with --credential-source shared_dev, or the stored configuration on an update that leaves the source alone), or not valid. Errors name where the value came from: --provider-app-name, or "provider_app_name" in --input. The checks print the same sentences the dashboard shows, for example:

alter: --provider-app-name: App name is required for <provider-id>: <description> (pass --provider-app-name, or "provider_app_name" in --input)
alter: --provider-app-name: App name must be at most 64 characters
alter: --provider-app-name: App name is not valid: it must match ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$

The value is trimmed and must be 1–64 characters, whether it comes from the flag or from the provider_app_name key of an --input body; slashes, spaces, ?, #, %, a lone . and .. are never accepted. The stored value is returned as provider_app_name by create, show, list, and update (null for an Alter-managed config, which carries it on the shared credential). A config of such a provider without an app name keeps serving its existing connections but refuses new ones until the value is entered.

Terminal window
alter providers create \
--provider <provider-id> \
--client-id <client-id> \
--client-secret @/run/secrets/provider \
--provider-app-name <app-name>

The save-time credential check proves the client ID and secret, never the app name: the provider’s token endpoint does not see it. A save that would otherwise report passed therefore reports inconclusive, naming the field, so confirm the value matches the provider console before the first user connects.

Encompass signs a lender’s users in through the instance’s own SSO login page when the authorize request names the instance. Without a value, Alter sends is_sso=false and users see Encompass’s own login page; with one, Alter sends is_sso=true&instance_id=<id>. alter providers list-catalog shows which providers take one in the SSO column (label SSO instance ID).

The value is optional, and accepted only for such a provider on custom credentials. Set it with --sso-instance-id on create or update, or the sso_instance_id key of an --input body; turn SSO off with --clear-sso-instance-id on update (or "sso_instance_id": "" in an update --input body). The value is trimmed and must match the catalog’s pattern (Encompass: ^[A-Za-z0-9]{1,32}$, for example BE11234567). The CLI checks all of this locally and fails with exit code 2 before anything is sent. Errors name where the value came from: --sso-instance-id, --clear-sso-instance-id, or "sso_instance_id" in --input:

alter: --sso-instance-id is not used by <provider-id>
alter: --sso-instance-id is only accepted with --credential-source custom
alter: --sso-instance-id: SSO instance ID must be at most 32 characters
alter: --sso-instance-id: SSO instance ID is not valid: it must match ^[A-Za-z0-9]{1,32}$
alter: --sso-instance-id and --clear-sso-instance-id are mutually exclusive
alter: --sso-instance-id requires a value (use --clear-sso-instance-id to turn SSO off)

The backend enforces the same rules and answers a request that breaks them with a 400 carrying sso_instance_id_not_supported (the provider takes no SSO instance) or sso_instance_id_invalid (the value does not match the pattern). The stored value is returned as sso_instance_id by create, show, list, and update (null when SSO is off, the provider has none, or the config uses Alter-managed credentials).

Terminal window
alter providers create \
--provider encompass \
--scopes lp \
--client-id <encompass-client-id> \
--client-secret @/run/secrets/encompass \
--sso-instance-id BE11234567
# Back to Encompass's own login page:
alter providers update --provider encompass --clear-sso-instance-id

When custom credentials are created or changed, the CLI prints the save-time provider check on stderr:

  • passed — the credential was accepted.
  • inconclusive — verification could not complete; the save was allowed.
  • partial failure — part of the credential/redirect check failed; the save was allowed, but both credentials and redirect registration need review.
  • skipped — the credentials were not verified.

A definitive credential rejection fails the save. Breaking-change and other safe warning details returned by an update are also printed on stderr so JSON stdout remains pipeable.

Shows the provider config. The client secret is never returned. Alter-managed configs include new_authorization_available and, when blocked, new_authorization_unavailable_reason; these describe fresh authorization only, not the usability of existing grants. redirect_uri_alias is the provider-issued redirect name the config sends as redirect_uri (null unless the provider uses one and the config uses custom credentials; an Alter-managed config carries the name on the shared credential). provider_app_name is the app identifier the config places in the provider’s authorize URL, under the same rule. sso_instance_id is the SSO instance the config’s users sign in through (null when SSO is off, the provider has none, or the config uses Alter-managed credentials). delegation_policy is the provider’s agent sharing, { "delegable", "max_delegation_depth" } (see set-delegation-policy).

Terminal window
alter providers show --provider google

Patch a provider config. Every field is optional; only what you pass changes. Narrowing the scope set is a breaking change, and the response lists any breaking changes it detected.

FlagDescription
--credential-source <source>custom or shared_dev (Alter-managed). Check list-catalog first. shared_dev is production-only: switching to it while the stored environment is sandbox is rejected unless the same update also passes --environment production (and the reverse — re-pointing a shared_dev config at sandbox — requires switching to custom credentials in the same update). The CLI also checks managed-credential availability before switching and reports the provider-specific reason when unavailable. Changing source switches the OAuth client and requires every existing user to reconnect.
--client-id <id>New client ID. Changing it requires every existing user to reconnect; resaving the same ID is a no-op for connection health.
--client-secret <value>New client secret (- for stdin, @file for a file); an inline value prints a shell-history warning.
--environment <env>Re-point the config at another deployment: production or sandbox. Omit to leave it unchanged. Accepted only when the provider publishes the target environment (the CLI checks the catalog first), and shared_dev credentials are production-only. Breaking — see below.
--scopes <list>New provider scopes (comma-separated).
--redirect-uri <uri>Replace redirect URIs with valid HTTP or HTTPS URLs (repeatable or comma-separated).
--redirect-uri-alias <name>Replace the provider-issued redirect name sent as redirect_uri (eBay’s RuName). Omit to leave it unchanged. Accepted only for a provider whose list-catalog row shows a REDIRECT ALIAS label, on custom credentials; the CLI refuses it locally for any other provider and with --credential-source shared_dev. Required when --credential-source custom switches an Alter-managed config to custom credentials (the CLI checks the stored config first). 1–255 characters.
--provider-app-name <name>Replace the app identifier the provider embeds in its authorize URL path. Omit to leave it unchanged. Accepted only for a provider whose list-catalog row shows an APP NAME label, on custom credentials (the CLI reads the stored config when this update does not pass --credential-source), and only when it matches the catalog’s pattern; the CLI refuses it locally otherwise. Required when --credential-source custom switches an Alter-managed config to custom credentials (the CLI checks the stored config first). 1–64 characters.
--sso-instance-id <id>Send the config’s users to this SSO instance’s login page (Encompass). Omit to leave it unchanged. Accepted only for a provider whose list-catalog row shows an SSO label, on custom credentials (the CLI reads the stored config when this update does not pass --credential-source), and only when it matches the catalog’s pattern; the CLI refuses it locally otherwise. See SSO instance (Encompass).
--clear-sso-instance-idTurn SSO off: users see the provider’s own login page again (the stored sso_instance_id becomes null). Mutually exclusive with --sso-instance-id.
--status <status>active or disabled.
--skip-preflightSave without the provider credential check (audited; use only when the provider endpoint is unavailable). The response’s preflight summary reports skipped so the unverified state is never silent.
--input <path>JSON body from a file (@path) or stdin (-); replaces the per-field flags, including --environment, --redirect-uri-alias (body key redirect_uri_alias), --provider-app-name (body key provider_app_name), and --sso-instance-id / --clear-sso-instance-id (body key sso_instance_id; "" turns SSO off).
Terminal window
alter providers update --provider google --status disabled

Changing --credential-source or replacing the custom --client-id changes the provider OAuth client. Existing access and refresh tokens remain bound to the client that issued them, so the backend marks every active connection reconnect-required, clears its refresh schedule, and reports the count in breaking_changes. Every user must complete fresh consent before the connection can be used again. Rotating --client-secret for the same client ID does not require user reconnection.

Changing --environment invalidates every existing grant for that provider: the stored tokens were issued by the deployment being left and are not valid against the new one, so every connection is marked reconnect-required and all users must reconnect. After a committed change the response lists this in breaking_changes, which the CLI surfaces on stderr — passing the currently stored environment is a no-op and reports nothing.

Sandbox and live credentials are not interchangeable, so change them in the same call:

Terminal window
alter providers update --provider paypal \
--environment production \
--client-id <live-client-id> --client-secret -

Set the provider’s agent sharing: whether an agent that holds a user’s access to this provider may share it with other agents, and how many agents deep a chain may go. When sharing is on, the user still decides on the consent screen whether their agent may share it; when it is off, every onward share is refused. A provider configured after agent sharing was introduced starts with sharing off; a provider configured before it reads on at depth 8, so existing apps keep working. Agent sharing cannot be set by create; use this command (or the dashboard’s Agent sharing card) once the provider exists.

FlagDescription
--provider <provider>Provider ID. Required.
--delegableTurn agent sharing on.
--no-delegableTurn agent sharing off. Mutually exclusive with --delegable.
--max-delegation-depth <n>How many agents deep a chain may go, counting the user’s own agent as 1: a whole number from 1 to 8. 1 means that agent cannot share it onward.
--output <format>json (default), jsonl, or table.

Pass at least one of --delegable, --no-delegable, and --max-delegation-depth. The command sends only the flags passed, and Alter keeps the stored value of the other one, so it never turns sharing off, or resets the depth, by omission, and two operators changing different settings at the same time do not undo each other. The CLI refuses conflicting flags, a run with nothing to change, and a depth outside 1–8 with a usage error (exit 2) before sending anything — the same checks the dashboard’s dialog makes. The depth can be set while sharing is off (alone, or together with --no-delegable): it is stored, and applies once sharing is turned on. The dashboard’s dialog locks the depth field while sharing is off; the CLI and the API accept it. The command prints the updated provider config; its delegation_policy field is the stored policy. It runs no credential preflight and works on a disabled provider. The managed-secret counterpart is alter managed-secrets set-delegation-policy.

Terminal window
# Let agents share GitHub access, at most 3 agents deep
alter providers set-delegation-policy --provider github --delegable --max-delegation-depth 3
# Change only the depth (sharing stays as it is)
alter providers set-delegation-policy --provider github --max-delegation-depth 2
# Turn agent sharing off (the depth is kept)
alter providers set-delegation-policy --provider github --no-delegable

Remove a provider config. This is an irreversible cascade: it destroys stored credentials, grants, and provider policy rows. Reconfiguring the provider does not reconstruct those resources. The backend and CLI require the exact provider ID as a type-to-confirm value.

--force deletes even when active grants exist. Those grants are deleted as part of the same irreversible cascade; they are not left orphaned. Affected users must reconnect through Alter Connect to obtain new grants.

In an interactive terminal, type the provider ID at the prompt. In CI or any non-interactive environment, pass --confirm <id> explicitly. A dashboard_providers:delete-only PAT can use the explicit form without needing read scope.

Terminal window
alter providers delete --provider google --confirm google

List every provider’s active API spec metadata — family, version, provenance, operation count, and when it was last confirmed (the later of when the version was loaded and its most recent successful check against the provider’s published description). This is the spec store’s freshness dashboard: use it to see which providers have operation data available and how current it is. Each catalog is checked against the provider’s published description daily; updates ship with Alter releases.

FlagRequiredDescription
--kind <kind>noFilter by provider family: oauth or managed.
Terminal window
alter providers spec list
alter providers spec list --kind managed

Show one provider’s active spec metadata — version, provenance, operation count, and fetch freshness.

FlagRequiredDescription
--kind <kind>only for dual-family idsoauth or managed. A few provider ids (for example github and stripe) have specs in both families; for those, pass --kind to pick one. Otherwise it is resolved automatically.
Terminal window
alter providers spec status <provider>
alter providers spec status github --kind oauth

Page through one provider’s API operations from its active spec — the operation id, HTTP method, path, review status and summary for each. Agents and scripts use this to discover what calls a provider supports without leaving the terminal.

The REVIEW column (JSON field policy_review) says how a policy rule can name each operation: reviewed (reviewed: in Alter’s reviewed catalog, with reviewed families), UNREVIEWED (unreviewed: an unreviewed operation; every operation, family or content rule refuses it with operation_unreviewed unless a rule admits it by name, so name it in an operation allowlist to allow it or in a require_approval rule whose every condition names it to hold it, and add a credential_minting allowance naming it), unavailable (unavailable: not reviewed, and Alter cannot read whether it is unreviewed right now; list it again later, and its policy_operation_id is null meanwhile) or — (null: no rule can name it, because a request to it classifies as another operation or its route is refused).

The NAME IN A RULE column (JSON field policy_operation_id) is the exact name a policy rule uses: the operation id itself for a reviewed operation, and the provider-qualified <provider>:<operation-id> (for example zoom:deleteRole) for an unreviewed one, because the same id appears on several providers. A rule never admits an unreviewed operation by its bare id. Saving a new or changed rule that names a bare id is refused when that id is unreviewed on some provider, no reviewed operation has it, and no custom integration the rule can reach maps it (the rule’s application’s, or every application’s for an organization rule); a bare id that another provider has reviewed keeps naming that reviewed operation only, and the save succeeds with a warning listing the qualified names of the unreviewed ones; a bare id a reachable custom integration maps names that integration’s operation, and the save succeeds with no warning. A stored rule saved again unchanged is not refused. Saving a rule that admits an unreviewed operation needs an organization admin and dashboard_app_policy:rules_admit_unreviewed.

FlagRequiredDescription
--kind <kind>only for dual-family idsoauth or managed — same resolution rules as spec status.
--search <q>noFilter over operation id, method, path, and summary.
--limit <n>noPage size, 1–500 (default 100).
--offset <n>noPage offset. When more pages remain, the CLI prints the next --offset to use on stderr.
Terminal window
alter providers operations list <provider> --search messages
alter providers operations list github --kind oauth --limit 50 --offset 50
alter providers operations list canva --kind oauth --search url-imports --output json

Show one operation in full — including its parameter, request-body, and response schemas, its policy_review and its policy_operation_id (the name a rule uses) — plus the spec metadata it came from.

FlagRequiredDescription
--kind <kind>only for dual-family idsoauth or managed — same resolution rules as spec status.

The operation id is positional and opaque, exactly as listed by alter providers operations list. Reserved characters and slashes are supported; empty or over-512-character ids are rejected locally.

Terminal window
alter providers operations get <provider> <operation-id>
alter providers operations get github repos/get
alter providers operations get google gmail.users.messages.list --kind oauth

Configure a provider with the secret read from a file (CI-safe)

Terminal window
alter providers create \
--provider google \
--scopes openid,email \
--client-id <google-client-id> \
--client-secret @/run/secrets/google

Temporarily disable a provider, then re-enable it

Terminal window
alter providers update --provider google --status disabled
# ...later...
alter providers update --provider google --status active

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.