> ## Documentation Index
> Fetch the complete documentation index at: https://www.datum.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Agent home for Datum, with what it is, pricing, and how to act: https://agents.datum.net
> If you can only fetch URLs: read https://www.datum.net/docs/llms.txt in full and open the most specific page for the task. Commands, limits, and field paths are on task, operations, and limits pages, not on section overviews. Pages described as "Documentation is coming soon" are placeholders.
> If you have a shell or can save files: download https://www.datum.net/docs/llms-full.txt (every page, about 740 KB) once and search it with grep, instead of fetching pages one at a time.
> datumctl describes itself: `datumctl api-resources` lists resource types and `datumctl explain <resource>` shows a schema. To act on live resources, use Datum MCP or datumctl. To search the docs, use the Docs MCP server at https://www.datum.net/docs/mcp.

# datumctl

> datumctl is the command-line tool for Datum Cloud: one set of commands for every resource, for people, scripts, CI, and AI agents.

> [!NOTE]
>
> **Working with this CLI via an AI agent?** Agents can run `datumctl` directly. Use `-o json` and the structured errors described in [Output and scripting](https://www.datum.net/docs/datumctl/output-and-scripting.md), and install Datum's [Skills](https://www.datum.net/docs/agents/skills/index.md) so the agent knows the canonical commands for each resource. For an MCP client instead of a shell, see [Datum MCP](https://www.datum.net/docs/agents/datum-mcp.md).

`datumctl` is the command-line tool for working with Datum Cloud. It exposes a consistent resource model — the same `get`, `apply`, `describe`, and `delete` verbs across every resource type — so both developers and AI agents get a fast, predictable way to interact with Datum.

> [!NOTE]
>
> Ready to play? [Install](https://www.datum.net/docs/datumctl/install.md) `datumctl` and get started.

## Find your way around

> [card] [Authentication](https://www.datum.net/docs/datumctl/auth/logging-in.md)
>
> Sign in, use service accounts for automation, and manage sessions and tokens.

> [card] [Working with resources](https://www.datum.net/docs/datumctl/resources/reading.md)
>
> Read, change, and safely preview changes to Datum Cloud resources.

> [card] [Contexts & scoping](https://www.datum.net/docs/datumctl/contexts-and-scoping.md)
>
> Control which organization and project your commands act on.

> [card] [Compute](https://www.datum.net/docs/datumctl/compute/overview.md)
>
> Deploy and manage containerized workloads with the compute plugin.

> [card] [Activity & audit](https://www.datum.net/docs/datumctl/activity/overview.md)
>
> Investigate who changed what, review events, and follow the activity feed.

> [card] [Interactive console](https://www.datum.net/docs/datumctl/console.md)
>
> Browse and monitor resources in a full-screen terminal UI.

> [card] [AI & MCP](https://www.datum.net/docs/datumctl/ai/assistant.md)
>
> Ask about your resources in natural language, or connect AI clients over MCP.

> [card] [CI/CD](https://www.datum.net/docs/datumctl/cicd/github-actions.md)
>
> Install and authenticate `datumctl` in GitHub Actions and other pipelines.

> [card] [Plugins](https://www.datum.net/docs/datumctl/plugins/using-plugins.md)
>
> Extend the CLI with additional commands from plugin catalogs.

Also useful: [Output formats & scripting](https://www.datum.net/docs/datumctl/output-and-scripting.md), [Discovering resources & schemas](https://www.datum.net/docs/datumctl/discovering-resources.md), and — for existing Kubernetes users — the Kubernetes interop section, which covers [using datumctl with kubectl](https://www.datum.net/docs/datumctl/kubectl-interop.md), [Kubernetes tools](https://www.datum.net/docs/datumctl/kubernetes-tools.md) like Helm and k9s, and [GitOps with Flux & Argo CD](https://www.datum.net/docs/datumctl/gitops.md).

## Product plugins

Each Datum product adds its own commands to `datumctl` as an official [plugin](https://www.datum.net/docs/datumctl/plugins/using-plugins.md). Install the ones you use, and run `datumctl plugin search` to see them all:

| Plugin | What it does | Documentation |
| - | - | - |
| `alb` | Create and manage Application Load Balancers, their routes, hostnames, firewall, and basic authentication, and read their access logs. | [ALB operations](https://www.datum.net/docs/alb/operations/overview) |
| `assistant` | Chat with Patch, the Datum Cloud assistant. | [AI assistant](https://www.datum.net/docs/datumctl/ai/assistant.md) |
| `compute` | Build, deploy, scale, and debug Compute workloads. | [Compute commands](https://www.datum.net/docs/datumctl/compute/overview.md) |
| `dns` | Manage DNS zones and records, check delegation, and import and export zone files. | [DNS operations](https://www.datum.net/docs/domain-dns/operations.md) |
| `network` | Create and manage gVPC networks and network services. | [gVPC](https://www.datum.net/docs/galactic-vpc/overview.md) |
| `search` | Search your resources by name and kind. | [Search across your resources](https://www.datum.net/docs/datumctl/discovering-resources.md#search-across-your-resources) |
| `telemetry` | Query the logs in your project, including load balancer access logs. | [Query access logs](https://www.datum.net/docs/alb/observability.md#query-access-logs-across-load-balancers) |

`datumctl --help` lists the plugins you have installed, and the plugins in the catalog that you haven't installed yet.

## How it works

At a high level, `datumctl` does three things:

1. **Authenticates you** - Opens a browser login, stores credentials securely, and refreshes tokens automatically.
2. **Talks to the Datum API** - Sends requests to create, read, update, and delete resources with authentication handled behind the scenes.
3. **Formats output** - Displays results as tables by default (supports JSON and YAML).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.