Skip to main content
See what's recently landed on the Neon backend: Object Storage, Functions, AI Gateway, and more
/APIs & SDKs/Projects and branches/operations

Neon CLI command: operations

List operations for a Neon project and check the status of one

View as Markdown

From the terminal, the operations command lists a project's operations and shows the details of one. For information about operations in Neon, see System operations. If --project-id is omitted, the CLI resolves it from your context file, auto-selects when your account has only one project, and otherwise asks you to pass --project-id.

Subcommands: get, list

neon operations list

Lists operations for a Neon project.

neon operations list [options]
OptionDescriptionTypeDefaultRequired
--project-idProject IDstring—No
neon operations list
Output
ID                                    Action           Status    Created At
fce8642e-259e-4662-bdce-518880aee723  apply_config     finished  2026-06-20T00:45:19Z
dc1dfb0c-b854-474b-be20-2ea1d2172563  apply_config     finished  2026-06-20T00:43:17Z
7a83e300-cf5f-4c1a-b9b5-569b6d6feab9  suspend_compute  finished  2026-06-19T23:50:56Z

neon operations get

Shows one operation, including its branch, compute, failure count, and duration. Get the ID from neon operations list.

neon operations get <id> [options]
OptionDescriptionTypeDefaultRequired
--project-idProject IDstring—No
neon operations get 8f3c2a1e-5b7d-4c9a-a1e2-3d4f5a6b7c8d
Output
ID                 8f3c2a1e-5b7d-4c9a-a1e2-3d4f5a6b7c8d
Action             suspend_compute
Status             finished
Branch ID          br-lively-sunset-123456
Endpoint ID        ep-cool-king-123456
Failures Count     0
Total Duration Ms  84
Created At         2026-11-05T14:24:09Z
Updated At         2026-11-05T14:24:09Z

Last updated on

Was this page helpful?
Edit on GitHub

On this page