Miscellaneous
Utility endpoints for checking service capabilities, retrieving the CLI version, exchanging OAuth tokens, and fetching the OpenAPI specification.
Capabilities
GET
/api/capabilitiesReturns the set of capabilities that the service supports.
Responses
200
OK
Schema: AppCapabilitiesResponse
- List of capabilities
- ↳
capabilityenum requiredThe capability identifier for this configuration entry.Values:delta-checkpoint-uploads— DeltaCheckpointUploads- Deprecated. Use DeltaCheckpointUploadsV2.
delta-checkpoint-uploads-v2— DeltaCheckpointUploadsV2- DeltaCheckpointUploads is the feature that enables the CLI to upload checkpoints via the PatchUpdateCheckpointDeltaRequest API to save on network bytes.
batch-encrypt— BatchEncrypt- Indicates that the service backend supports batch encryption.
copilot-summarize-error— CopilotSummarizeError- Indicates whether the service supports summarizing errors via Copilot.
copilot-explain-preview— CopilotExplainPreview- Indicates whether the service supports the Copilot explainer.
deployment-schema-version— DeploymentSchemaVersion- Indicates the maximum deployment schema version that the service supports.
stack-policy-packs— StackPolicyPacks- Indicates whether the service supports retrieving a stack’s required policy packs.
api-version— APIVersion- Advertises the REST API versions (the
Accept: application/vnd.pulumi+Nheader) that the service supports. The configuration object carriesmaxVersion,minVersion, anddefaultVersion. neo-cli-mode— NeoCLIMode- Advertises that the service supports Neo CLI mode. The configuration object carries
minCliVersion, the minimumpulumiCLI semver required to start a Neo CLI session.
- ↳
versioninteger optionalThe version of this capability supported by the service. - ↳
configurationobject optionalAdditional configuration data required for client integration with this capability.
Version
GET
/api/cli/versionReturns version information about the CLI.
Responses
200
OK
Schema: AppCLIVersionResponse
latestVersionstring requiredThe latest stable CLI version (semver string, e.g. ‘3.100.0’).oldestWithoutWarningstring requiredThe oldest CLI version that will not show an upgrade warning.latestDevVersionstring requiredThe latest development/pre-release CLI version.
Fetch Rest Specification
GET
/api/openapi/pulumi-spec.jsonReturns the OpenAPI v3 specification for the service.
Responses
200
OK