---
title: "Solutions in the CLI"
canonical: https://trickest.com/docs/developer-tools/cli/solutions
description: "Inspect solutions from the CLI and understand current compatibility limits for creation, updates, and dataset filtering."
---

# Solutions in the CLI

Use `solutions ls` to find a solution and `solutions get <id>` to inspect it.
Query its Live Tables through [`database`](/docs/developer-tools/cli/database).

## List and inspect

```bash
trickest solutions ls
trickest solutions get <solution-id>
```

JSON listings return an array. Use the complete ID from that output for later
commands; table output abbreviates IDs.

## Command support

| Subcommand | Current behavior |
|---|---|
| `solutions ls` | List solutions available to your account |
| `solutions get <id>` | Read one solution |
| `solutions create` | Defined in help, but its request omits the required space |
| `solutions update <id>` | Defined in help, but sends a method the current route does not accept |
| `solutions datasets <solution-id>` | Lists datasets, but the current client does not send the correct solution filter |
| `solutions rm <id>` | Delete a solution; `--dry-run` previews the deletion |

## Compatibility limits

`solutions create --name` cannot supply the `space` required by the current API.
Setting an active CLI space does not add it to this request. `solutions update`
sends PATCH, while the current API accepts PUT. Retrying either command with a
new token does not correct those request mismatches.

`solutions datasets <id>` sends `solution_id`, while the API expects `solution`.
Do not assume the returned datasets all belong to the requested solution.
Use the supported HTTP requests in [Solutions in the SDK](/docs/developer-tools/sdk/solutions)
for creation, updates, and a filtered dataset listing.

Dataset IDs and database table IDs are different. Select the relevant workflow
and use `database ls` to resolve a table before querying it.

## Delete a solution

```bash
trickest solutions rm <solution-id> --dry-run
```

Without `--dry-run`, the command deletes the solution without a confirmation
prompt. Collect any data you need first; the CLI has no undo command.

## Related

- [Database](/docs/developer-tools/cli/database): inspect schemas and query Live Tables.
- [Solutions & Database](/docs/key-concepts/solutions-database): concepts and relationships.

---
_Markdown source of https://trickest.com/docs/developer-tools/cli/solutions._
