> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/cli/resources.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Resources

Manage datasets, abilities, deployments, and sessions

Resource commands follow the same verb-then-noun pattern:

```
eyepop get <resource>
eyepop create <resource>
eyepop patch <resource>
eyepop delete <resource>
```

### Read

```bash
eyepop get accounts
eyepop get keys
eyepop get keys <prefix>
eyepop get datasets
eyepop get datasets <name-or-uuid>
eyepop get assets --dataset <dataset>
eyepop get abilities
eyepop get abilities <name-or-uuid>
eyepop get groups
eyepop get pops
eyepop get models
eyepop get deployments
eyepop get sessions
eyepop get instances
eyepop get evals <request_id>
eyepop get usage
```

`get` also answers to `ls`, `list`, and `show`, and you can drop it entirely for the common reads — `eyepop datasets`, `eyepop abilities`, `eyepop models`, `eyepop pops`.

`get deployments` and `get sessions` list what you created. Add `--account <uuid>` to list everything in an account you belong to, whoever created it.

`get pops` lists the Pops you saved in the dashboard alongside the built-in ones, and the `OWNER` column says which is which. A saved Pop is named by its UUID and a built-in by its short handle, both shown in the `POP` column:

```bash
eyepop run --pop <saved-pop-uuid> --media-path image.jpg
eyepop run --pop people-common-objects --media-path image.jpg
```

`--pop` also takes the Pop itself, as a JSON or YAML file or inline:

```bash
eyepop run --pop ./pop.json --media-path image.jpg
eyepop run --pop '{"components":[{"type":"inference","id":1,"ability":"eyepop.person:latest"}]}' --media-path image.jpg
```

An ability is not a Pop. Run one with `--ability`, by alias or UUID, and it runs as a one-component Pop:

```bash
eyepop run --ability eyepop.person:latest --media-path image.jpg
```

Search by name with `-q`, which `get abilities`, `get datasets`, and `get pops` all accept:

```bash
eyepop get abilities -q detector
```

### Create

```bash
eyepop create dataset --name people
eyepop create asset --dataset people --media-path ./images --recursive
eyepop create ability --name acme.people-counter --prompt "Count the people" --publish
eyepop create ability --name acme.helmets --task object_detection \
  --prompt "helmet=a safety helmet worn by a person" --prompt person
eyepop create key --name ci
eyepop create deployment --model eyepop.person:latest
```

An ability's name starts with your account's namespace, such as `acme` in `acme.people-counter`. Without it, publishing the ability, or starting a version history for it with `--new-group`, is refused. `eyepop get accounts <name-or-uuid>` lists an account's namespaces, and the guided form fills one in for you.

`--prompt` alone is a free-form prompt, answered in the model's own words. `--task object_detection` or `--task image_classification` makes a task ability instead: the model finds or classifies what you describe and labels each answer. Give one `--prompt label=prompt` per label, such as `--prompt "helmet=a safety helmet worn by a person"`; a bare `--prompt person` is a label that is its own prompt. `--class` is deprecated: it still works on a free-form ability for now and prints a warning; use `--task` to label answers.

Run `eyepop create ability` without configuration flags for a guided form. The review screen shows the equivalent command for bash or zsh. Press **Enter** to create the configured model, **C** to copy the command, or **P** to print it and exit without creating anything. Copy uses your terminal's clipboard support; printing works when clipboard access is unavailable. Replaying the command uses your current authentication and environment; API keys are not included.

Templates supply prompts and inference settings. Your edited prompt survives template changes; **Ctrl-R** in the prompt field restores the generated prompt. Choose **Advanced** in the form or press **A** on the review screen to edit the namespace, full name, version history, or model. The model is the VLM that answers the prompt: `qwen3` (the default), `gpt_6_astra`, or `gemini_4_argon`. A model other than `qwen3` adds `--model` to the command and survives template changes. In commands, `--model <model>` chooses it; leave it out to use `qwen3`. `--worker-release` is deprecated: it still works for now and prints a warning, and it must name the same model as `--model` when you pass both.

The form selects a matching version history when one exists, or starts a new one. In commands, `--group <name-or-uuid>` selects an existing ability group; `--new-group` creates one using the ability's name and description. Use one or the other.

`--publish` publishes the new ability under your account's namespace and prints its alias, the ability's name with `:latest`, such as `acme.people-counter:latest`. That alias is how `eyepop run --model`, `eyepop evaluate --ability`, a Pop, and a deployment reference it; find it again in the `ALIAS` column of `eyepop get abilities --mine`.

`create key` prints the new key once and never again, so capture it there. A key lasts 30 days unless `--expires-in` names a lifetime in seconds. `get keys` lists yours by prefix, and under `EYEPOP_API_KEY` a bare `get key` checks the key you are using — whether it is still valid, when it expires, and what it may reach:

```bash
EYEPOP_API_KEY=eyp_... eyepop get key
```

### Patch

Update a deployment in place and wait until it is healthy again:

```bash
eyepop patch deployment <session-uuid> --model eyepop.person:latest
```

### Delete

{% hint style="warning" %}
Deletes are permanent. The CLI prompts for confirmation; `--yes` skips it. Scripts, CI jobs, and agents must pass `--yes`: without a terminal a delete cannot ask, so it fails with a non-zero exit and deletes nothing. Answering no at the prompt also exits non-zero.
{% endhint %}

Abilities and datasets take a UUID or an exact name; a partial name is refused, with the closest matches listed, and so is a dataset `@version` suffix, because a delete removes every version. Deployments and sessions take a display name, a session UUID, or a UUID prefix. Only whoever created a session or deployment can delete it; add `--account <uuid>` to find a name among that account's sessions.

```bash
eyepop delete ability <name-or-uuid>
eyepop delete dataset <name-or-uuid>
eyepop delete key <prefix>
eyepop delete session <name-or-uuid>
eyepop delete deployment <name-or-uuid>
```

Removing an [instance](https://docs.eyepop.ai/cli/on-premise.md) is not one of these, because it removes what is on this machine rather than a record in your account:

```bash
eyepop instance delete --yes
```

That removes the instance from this machine, with its downloaded models and runtime image; its record in your account stays. See [Remove it](https://github.com/eyepop-ai/eyepop-docs-external/tree/main/deploying/on-premise/operate.md#remove-it).

### Next steps

* [Command Reference](https://docs.eyepop.ai/cli/reference.md) — every resource command and its flags
* [Run Inference & Evaluations](https://docs.eyepop.ai/cli/run.md) — run the models and abilities you just listed


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/cli/resources.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
