$ npm install --global @createitv/agc-cli && agc versionMove every release through one red line.
A Go command center for discovering, dry-running, and invoking AppGallery Connect APIs—with stable JSON for people, CI, and coding agents.
$ agc auth check --pretty
{
"data": {
"name": "production",
"mode": "service-account",
"active": true
},
"affordances": {
"next": "agc publishing endpoints"
}
}project profile resolved · dry-run on
Install agc CLI
Use the package manager for your system.
Use NPM for one unattended command across Windows, macOS, and Linux CI. Native Homebrew and Scoop packages remain available for developer workstations.
$ brew tap createitv/tap && brew install agc-cli && agc versionPS> if (!(Get-Command scoop -ErrorAction SilentlyContinue)) { Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force; irm get.scoop.sh | iex }; scoop bucket add createitv https://github.com/Createitv/scoop-bucket; scoop install agc-cli; agc versionAgent Skills
Give your coding agent a map of AppGallery Connect.
Six portable Skills follow the task-oriented asc-cli pattern. Install all of them, choose one workflow, inspect the source, or contribute improvements through GitHub.
Contribute a Skill$ agc skills install --agent codex --globalagc-cli-usageGeneral command discovery, dry-run review, authorized execution, and remote verification.
agc skills install --name agc-cli-usage --agent codex --globalagc-authCredential profiles, whoami, OAuth team lookup, and authorization diagnosis.
agc skills install --name agc-auth --agent codex --globalagc-publishingMetadata, packages, review submission, staged rollout, and release-state verification.
agc skills install --name agc-publishing --agent codex --globalagc-testingTest versions, groups, testers, invitation links, feedback, and promotion.
agc skills install --name agc-testing --agent codex --globalagc-reportsDistribution, install, revenue, retention, and HarmonyOS service report exports.
agc skills install --name agc-reports --agent codex --globalagc-cicdPinned cross-platform installation, protected credentials, dry-run gates, and CI verification.
agc skills install --name agc-cicd --agent codex --globalThe release rail
Context flows forward. Secrets do not.
Each stage owns one job. Credentials remain local, project context remains portable, and destructive API calls require an explicit switch.
AUTH
PS256 / OAuth
PROFILE
project-bound
PACKAGE
upload + status
RELEASE
invoke by choice
Automatic profile binding
Choose once per project. Override only when you mean it.
Bind production in .agc/project.json. Commands resolve the profile in a predictable order, while --profile staging remains available for one-off work.
- 1CLI override
--profile staging - 2Project default
.agc/project.json - 3Active account
~/.agc/credentials.json
{
"appId": "123456789",
"projectId": "987654321",
"packageName": "com.example.app",
"profile": "production"
}Interface registry
Discover the API before writing the request.
Every entry carries its method, path, parameter locations, CLI command, REST route, and dry-run path.
Selected family / functions
Cloud Functions
Native function creation, code/config updates, publishing and invocation; explicit user OAuth session.
agc functions endpoints --output tableagc functions status --pretty/api/v1/functionsAll endpoints 29
Expand an endpoint for registered parameters and commands. Consult its reference for full schemas, responses, and permissions.
POSTcreate-functioncreate-functionnative:functions/create-function
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions create-function --pretty
Local REST definition
/api/v1/functions/endpoints/create-function
Dry run (supply required parameters first)
agc functions create-function --invoke --dry-run=trueRead endpoint reference ↗
POSTupdate-function-codeupdate-function-codenative:functions/update-function-code
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions update-function-code --pretty
Local REST definition
/api/v1/functions/endpoints/update-function-code
Dry run (supply required parameters first)
agc functions update-function-code --invoke --dry-run=trueRead endpoint reference ↗
POSTupdate-function-configupdate-function-confignative:functions/update-function-config
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions update-function-config --pretty
Local REST definition
/api/v1/functions/endpoints/update-function-config
Dry run (supply required parameters first)
agc functions update-function-config --invoke --dry-run=trueRead endpoint reference ↗
POSTpublish-functionpublish-functionnative:functions/publish-function
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions publish-function --pretty
Local REST definition
/api/v1/functions/endpoints/publish-function
Dry run (supply required parameters first)
agc functions publish-function --invoke --dry-run=trueRead endpoint reference ↗
POSTupdate-and-publish-functionupdate-and-publish-functionnative:functions/update-and-publish-function
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions update-and-publish-function --pretty
Local REST definition
/api/v1/functions/endpoints/update-and-publish-function
Dry run (supply required parameters first)
agc functions update-and-publish-function --invoke --dry-run=trueRead endpoint reference ↗
POSTinvokeinvokenative:functions/invoke
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions invoke --pretty
Local REST definition
/api/v1/functions/endpoints/invoke
Dry run (supply required parameters first)
agc functions invoke --invoke --dry-run=trueRead endpoint reference ↗
POSTlist-functionslist-functionsnative:functions/list-functions
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions list-functions --pretty
Local REST definition
/api/v1/functions/endpoints/list-functions
Dry run (supply required parameters first)
agc functions list-functions --invoke --dry-run=trueRead endpoint reference ↗
POSTquery-function-versionquery-function-versionnative:functions/query-function-version
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions query-function-version --pretty
Local REST definition
/api/v1/functions/endpoints/query-function-version
Dry run (supply required parameters first)
agc functions query-function-version --invoke --dry-run=trueRead endpoint reference ↗
POSTlist-function-versionslist-function-versionsnative:functions/list-function-versions
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|
Parameters are not listed in the registry. See the reference.
Inspect definition
agc functions list-function-versions --pretty
Local REST definition
/api/v1/functions/endpoints/list-function-versions
Dry run (supply required parameters first)
agc functions list-function-versions --invoke --dry-run=trueRead endpoint reference ↗
GETget-aliasget-alias/api/wisefunction/serverless/v1/functions/{functionName}/aliases/{aliasName}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
aliasName | path | Yes | string | — |
Inspect definition
agc functions get-alias --pretty
Local REST definition
/api/v1/functions/endpoints/get-alias
Dry run (supply required parameters first)
agc functions get-alias --invoke --dry-run=trueRead endpoint reference ↗
DELETEdelete-aliasdelete-alias/api/wisefunction/serverless/v1/functions/{functionName}/aliases/{aliasName}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
aliasName | path | Yes | string | — |
Inspect definition
agc functions delete-alias --pretty
Local REST definition
/api/v1/functions/endpoints/delete-alias
Dry run (supply required parameters first)
agc functions delete-alias --invoke --dry-run=trueRead endpoint reference ↗
GETlist-aliaseslist-aliases/api/wisefunction/serverless/v1/functions/{functionName}/aliases
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
functionVersion | query | No | string | — |
pageSize | query | No | integer | — |
pageIndex | query | No | integer | — |
Inspect definition
agc functions list-aliases --pretty
Local REST definition
/api/v1/functions/endpoints/list-aliases
Dry run (supply required parameters first)
agc functions list-aliases --invoke --dry-run=trueRead endpoint reference ↗
POSTcreate-aliascreate-alias/api/wisefunction/serverless/v1/functions/{functionName}/aliases
Reviewed native management transport; explicit user session required. Provide one or two explicit version weights totaling 100; no implicit selection of latest published version.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
name | body | Yes | string | — |
functionVersion | body | Yes | string | — |
description | body | No | string | — |
routingConfig | body | Yes | object | One or two version weights totaling 100; explicit complete routing required by this CLI. |
Request body: name,functionVersion,description,routingConfig
Inspect definition
agc functions create-alias --pretty
Local REST definition
/api/v1/functions/endpoints/create-alias
Dry run (supply required parameters first)
agc functions create-alias --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
PUTupdate-aliasupdate-alias/api/wisefunction/serverless/v1/functions/{functionName}/aliases/{aliasName}
Reviewed native management transport; explicit user session required. Read get-alias first and provide revisionId plus the full intended routing configuration.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
aliasName | path | Yes | string | — |
functionVersion | body | Yes | string | — |
revisionId | body | Yes | string | — |
description | body | No | string | — |
routingConfig | body | Yes | object | One or two version weights totaling 100; explicit complete routing required by this CLI. |
Request body: functionVersion,revisionId,description,routingConfig
Inspect definition
agc functions update-alias --pretty
Local REST definition
/api/v1/functions/endpoints/update-alias
Dry run (supply required parameters first)
agc functions update-alias --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
POSTcreate-http-triggercreate-http-trigger/api/wisefunction/serverless/v1/trigger
Reviewed native management transport; explicit user session required. funcId is obtained from query-function-version and must include the intended qualifier; create policy separately if required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
funcId | body | Yes | string | — |
mode | body | Yes | string | — |
authFlag | body | Yes | boolean | — |
authAlgor | body | Yes | string | — |
authType | body | Yes | string | — |
enableUrlDecode | body | Yes | boolean | — |
Request body: funcId,mode,authFlag,authAlgor,authType,enableUrlDecode
Inspect definition
agc functions create-http-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/create-http-trigger
Dry run (supply required parameters first)
agc functions create-http-trigger --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
POSTcreate-cron-triggercreate-cron-trigger/api/wisefunction/serverless/v1/triggers
Reviewed native management transport; explicit user session required. Default AGCLI create switch is false; an explicit triggerSwitch is required. Current guide says switch cannot be changed later, unlike AGCLI update; cloud support is unverified.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
funcId | body | Yes | string | — |
triggerType | body | Yes | string | — |
triggerMode | body | Yes | string | — |
triggerSwitch | body | Yes | boolean | — |
spec | body | Yes | object | — |
Request body: funcId,triggerType,triggerMode,triggerSwitch,spec
Inspect definition
agc functions create-cron-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/create-cron-trigger
Dry run (supply required parameters first)
agc functions create-cron-trigger --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
GETget-http-triggerget-http-trigger/api/wisefunction/serverless/v1/trigger/{triggerId}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
triggerId | path | Yes | string | — |
Inspect definition
agc functions get-http-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/get-http-trigger
Dry run (supply required parameters first)
agc functions get-http-trigger --invoke --dry-run=trueRead endpoint reference ↗
DELETEdelete-http-triggerdelete-http-trigger/api/wisefunction/serverless/v1/trigger/{triggerId}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
triggerId | path | Yes | string | — |
Inspect definition
agc functions delete-http-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/delete-http-trigger
Dry run (supply required parameters first)
agc functions delete-http-trigger --invoke --dry-run=trueRead endpoint reference ↗
GETlist-http-triggerslist-http-triggers/api/wisefunction/serverless/v1/trigger/list/{funcId}
Reviewed native management transport; explicit user session required. Listing path is also reviewed in boundary/triggerService.js. Endpoint list uses exact funcId, no automatic qualifier discovery.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
funcId | path | Yes | string | — |
pageSize | query | No | integer | — |
pageIndex | query | No | integer | — |
Inspect definition
agc functions list-http-triggers --pretty
Local REST definition
/api/v1/functions/endpoints/list-http-triggers
Dry run (supply required parameters first)
agc functions list-http-triggers --invoke --dry-run=trueRead endpoint reference ↗
GETget-triggerget-trigger/api/wisefunction/serverless/v1/triggers/{triggerId}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
triggerId | path | Yes | string | — |
Inspect definition
agc functions get-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/get-trigger
Dry run (supply required parameters first)
agc functions get-trigger --invoke --dry-run=trueRead endpoint reference ↗
DELETEdelete-triggerdelete-trigger/api/wisefunction/serverless/v1/triggers/{triggerId}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
triggerId | path | Yes | string | — |
Inspect definition
agc functions delete-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/delete-trigger
Dry run (supply required parameters first)
agc functions delete-trigger --invoke --dry-run=trueRead endpoint reference ↗
GETlist-triggerslist-triggers/api/wisefunction/serverless/v1/triggers/list/{funcId}
Reviewed native management transport; explicit user session required. Listing path is also reviewed in boundary/triggerService.js. Endpoint list uses exact funcId, no automatic qualifier discovery.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
funcId | path | Yes | string | — |
pageSize | query | No | integer | — |
pageIndex | query | No | integer | — |
Inspect definition
agc functions list-triggers --pretty
Local REST definition
/api/v1/functions/endpoints/list-triggers
Dry run (supply required parameters first)
agc functions list-triggers --invoke --dry-run=trueRead endpoint reference ↗
PUTupdate-cron-triggerupdate-cron-trigger/api/wisefunction/serverless/v1/triggers/{triggerId}
Reviewed native management transport; explicit user session required. Read get-trigger first; preserve funcId, spec, triggerMode and revisionId.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
triggerId | path | Yes | string | — |
funcId | body | Yes | string | — |
triggerMode | body | Yes | string | — |
triggerSwitch | body | Yes | boolean | — |
spec | body | Yes | object | — |
revisionId | body | Yes | string | — |
Request body: funcId,triggerMode,triggerSwitch,spec,revisionId
Inspect definition
agc functions update-cron-trigger --pretty
Local REST definition
/api/v1/functions/endpoints/update-cron-trigger
Dry run (supply required parameters first)
agc functions update-cron-trigger --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
GETget-function-policyget-function-policy/api/wisefunction/serverless/v1/functions/{functionName}/policy
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
qualifier | query | Yes | string | — |
Inspect definition
agc functions get-function-policy --pretty
Local REST definition
/api/v1/functions/endpoints/get-function-policy
Dry run (supply required parameters first)
agc functions get-function-policy --invoke --dry-run=trueRead endpoint reference ↗
POSTcreate-function-policycreate-function-policy/api/wisefunction/serverless/v1/functions/{functionName}/policy
Reviewed native management transport; explicit user session required. Read policy first; no automatic grants or silent retries.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
functionName | path | Yes | string | — |
qualifier | query | Yes | string | — |
effect | body | Yes | string | — |
action | body | Yes | string | — |
sourceProvider | body | Yes | string | — |
sourceId | body | Yes | string | — |
revisionId | body | No | string | — |
Request body: effect,action,sourceProvider,sourceId,revisionId
Inspect definition
agc functions create-function-policy --pretty
Local REST definition
/api/v1/functions/endpoints/create-function-policy
Dry run (supply required parameters first)
agc functions create-function-policy --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
GETlist-layerslist-layers/api/wisefunction/serverless/v1/layers
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
layerName | query | No | string | — |
ownerFlag | query | No | string | — |
compatibleRuntime | query | No | string | — |
pageSize | query | No | integer | — |
pageIndex | query | No | integer | — |
Inspect definition
agc functions list-layers --pretty
Local REST definition
/api/v1/functions/endpoints/list-layers
Dry run (supply required parameters first)
agc functions list-layers --invoke --dry-run=trueRead endpoint reference ↗
GETlist-layer-versionslist-layer-versions/api/wisefunction/serverless/v1/layers/{layerName}/versions
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
layerName | path | Yes | string | — |
compatibleRuntime | query | No | string | — |
pageSize | query | No | integer | — |
pageIndex | query | No | integer | — |
Inspect definition
agc functions list-layer-versions --pretty
Local REST definition
/api/v1/functions/endpoints/list-layer-versions
Dry run (supply required parameters first)
agc functions list-layer-versions --invoke --dry-run=trueRead endpoint reference ↗
GETget-layer-versionget-layer-version/api/wisefunction/serverless/v1/layers/{layerName}/versions/{layerVersion}
Reviewed native management transport; explicit user session required.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
layerName | path | Yes | string | — |
layerVersion | path | Yes | string | — |
Inspect definition
agc functions get-layer-version --pretty
Local REST definition
/api/v1/functions/endpoints/get-layer-version
Dry run (supply required parameters first)
agc functions get-layer-version --invoke --dry-run=trueRead endpoint reference ↗
POSTcreate-layer-versioncreate-layer-version/api/wisefunction/serverless/v1/layers/{layerName}/versions
Reviewed native management transport; explicit user session required. zipFile contains Base64 ZIP bytes; validate compressed/decompressed limits and entry count before authorization. Layer name creates the initial version or appends a version. AGCLI 1.12.0 local ZIP validation caps files below 50MiB; this direct API adapter uses the current browser-reviewed guide limits of 150MiB compressed, 300MiB expanded and 30000 entries. This difference and modern runtime wire values still require cloud verification.
Developer-to-Huawei API
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
layerName | path | Yes | string | — |
compatibleRuntimes | body | Yes | array | — |
sharedScope | body | Yes | integer | — |
zipFile | body | Yes | string | — |
description | body | No | string | — |
licenseInfo | body | No | string | — |
Request body: compatibleRuntimes,sharedScope,zipFile,description,licenseInfo
Inspect definition
agc functions create-layer-version --pretty
Local REST definition
/api/v1/functions/endpoints/create-layer-version
Dry run (supply required parameters first)
agc functions create-layer-version --invoke --dry-run=true --body body.jsonRead endpoint reference ↗
What is agc-cli, and who is it for?
agc-cli is an open-source Go command-line tool for Huawei AppGallery Connect, maintained by Createitv. Its installed command is agc. It organizes API discovery, credential profiles, request previews, and API invocation into reusable commands for HarmonyOS and Huawei app developers who manage app metadata, testers, products, and reports.
Project and guides: GitHub · Usage guide · Issues
GEO · AEO · LLMO
Agent-readable documentation
These public files expose project facts, task selection, safety boundaries, Skills, and endpoint contracts without requiring JavaScript, authentication, or page-structure guessing.
A complete path from task selection and auth checks to dry runs and result verification.
/agent-guide.en.mdSkills indexSix task-oriented Skills with use cases, install commands, and source links.
/skills.mdFull AI contextA single-file project briefing, command boundaries, and resource index for LLMs.
/llms-full.txtAPI contract JSONMethods, paths, parameters, and official references for all 156 registered endpoints.
/api-reference.jsonFrequently asked questions
Is agc-cli an official Huawei tool?
No. agc-cli is an independent open-source project maintained by Createitv under the MIT license. It organizes endpoints using Huawei AppGallery Connect API references and is not an official Huawei product or support service.
How do I install agc-cli on macOS, Windows, or Linux?
With Node.js 18+, all three systems can run npm install --global @createitv/agc-cli. Homebrew remains available on macOS and Scoop on Windows. Run agc version to verify installation.
Is agc-cli free, and do I need an account?
agc-cli is free to use and modify under the MIT license. Calling Huawei APIs requires your own AppGallery Connect account, credentials, and permissions. Huawei service pricing and limits remain subject to Huawei terms. Browsing the endpoint reference or inspecting CLI definitions does not require login.
How do I query app information for the first time?
Save credentials with agc auth login --service-account-file ~/.agc/service-account.json --name production, then bind the project with agc init --app-id YOUR_APP_ID --default-profile production. Preview with agc publishing app-info-query --invoke --query appId=YOUR_APP_ID --query lang=en-US. Add --dry-run=false after checking the request. Supply a client_id header explicitly when required.
Are all 156 endpoints production-verified?
No. The registry contains 156 entries across 13 API families; this is registry coverage, not production verification of every endpoint. Registered parameters and command surfaces are shown here. Consult each endpoint reference for full request and response schemas, permissions, and business prerequisites.
Does the default dry run change my app?
No. Endpoint commands with --invoke preview the request without sending it by default. Real invocation requires --dry-run=false. Check the target app, credential profile, and parameters before executing.
Can I use agc-cli with scripts or AI agents?
Yes. JSON output supports script processing. agc capabilities and agc endpoints expose discovery; agc web-server provides local REST routes, and agc openapi exports the contract. Command templates support navigation but do not replace business-state checks or review decisions.
How do I install the agc-cli Skills for Codex or Claude?
Install agc-cli, then run agc skills list to browse the six task-oriented Skills. Run agc skills install --agent codex --global for all Skills, or add --name agc-publishing for only the publishing Skill. Individual SKILL.md files are also downloadable from the website.
Does a project profile fill all endpoint parameters automatically?
A project configuration can select its default credential profile, with --profile for explicit overrides. App IDs, languages, headers, and request bodies still need to be supplied according to each endpoint. Keep Service Account private keys and credential files out of Git.
Browse the complete API reference by family
Content updated:
Quick start
Three commands to a bound, inspectable workspace.
Use placeholders for your AppGallery Connect values. The second command is what makes the profile automatic for this project.
Save a credential profile
Service Account is the preferred route. Secrets stay in ~/.agc/credentials.json with restricted permissions.
$ agc auth login --service-account-file ~/.agc/service-account.json --name productionBind it to the project
Save project metadata and choose a default credential profile. Supply endpoint parameters explicitly when invoking APIs.
$ agc init --app-id <app-id> --project-id <project-id> --package-name com.example.app --default-profile productionInspect before invoking
Endpoint commands are dry-run first. Review the exact method and URL, then opt into the real request.
$ agc publishing app-info-query --invoke --query appId=<app-id> --dry-run=falseLocal command center
The browser is a window into the same registry.
Start the local REST server when you want live capability data. Without it, this site stays useful as a complete reference surface.
agc web-server --addr :8421/api/v1/capabilitiesfamilies + affordances/api/v1/endpointsall interface entries/api/v1/openapi.jsonmachine-readable contract/api/v1/:family/endpoints/:id/invokedry-run by default