Skip to content

Expose an app's production URL in a machine-readable CLI command #108

Description

@avocet-bot

Feature Request

Support asked for a way for coding agents / CI to discover an existing app's production URL from the Deploy CLI without opening the Console UI.

This still looks current on main (60a0c2f):

  • deno deploy --json returns timelines[].domains[] after a deployment finishes, which helps immediately after publishing.
  • deno deploy create --json returns the Console app URL and revision id for GitHub-backed apps.
  • deno deploy apps list --json returns id, slug, timestamps, and layers, but no public/prod URL or domains.
  • deno deploy deployments list --json returns revision ids/status/prod flags, but no public/prod URL or domains.

So if an agent only has a token, org slug, and app slug, there is no stable CLI surface to ask “what URL is production currently served at?”

Desired Behavior

Provide a machine-readable command/output for the production URL/domains for an app, for example one of:

deno deploy apps get --org <org> --app <app> --json
# => { "slug": "...", "productionUrl": "https://...", "domains": [...] }

or include the relevant production domains in apps list --json / deployments list --json.

Why

This unblocks headless CI and coding agents that need to deploy, verify, and report the live URL without requiring a human to inspect Console.

Source

Raised in Deno Deploy support ticket TICKET-20260513-53582.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions