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

# Test Sets

> Manage test set collections with the Coval CLI

## List Test Sets

```bash theme={null}
coval test-sets list [OPTIONS]
```

| Option        | Type   | Default | Description       |
| ------------- | ------ | ------- | ----------------- |
| `--filter`    | string | —       | Filter expression |
| `--page-size` | number | 50      | Results per page  |
| `--order-by`  | string | —       | Sort order        |

**Output columns:** ID, NAME, TYPE, CASES, CREATED

```bash theme={null}
coval test-sets list
```

## Get Test Set

```bash theme={null}
coval test-sets get <test_set_id>
```

| Argument      | Type   | Required | Description     |
| ------------- | ------ | -------- | --------------- |
| `test_set_id` | string | **Yes**  | The test set ID |

```bash theme={null}
coval test-sets get ts_abc123
```

## Create Test Set

```bash theme={null}
coval test-sets create [OPTIONS]
```

| Option          | Type   | Required | Description                                                       |
| --------------- | ------ | -------- | ----------------------------------------------------------------- |
| `--name`        | string | **Yes**  | Test set name                                                     |
| `--slug`        | string | No       | URL-friendly identifier (auto-generated if omitted)               |
| `--description` | string | No       | Description of the test set                                       |
| `--type`        | string | No       | Test set type: `DEFAULT`, `SCENARIO`, `TRANSCRIPT`, or `WORKFLOW` |

```bash theme={null}
# Create a basic test set
coval test-sets create --name "Customer Support Scenarios"

# Create with all options
coval test-sets create \
  --name "Billing Scenarios" \
  --slug "billing-scenarios" \
  --description "Test cases for billing-related inquiries" \
  --type SCENARIO
```

## Update Test Set

```bash theme={null}
coval test-sets update <test_set_id> [OPTIONS]
```

| Argument      | Type   | Required | Description               |
| ------------- | ------ | -------- | ------------------------- |
| `test_set_id` | string | **Yes**  | The test set ID to update |

| Option          | Type   | Description     |
| --------------- | ------ | --------------- |
| `--name`        | string | New name        |
| `--slug`        | string | New slug        |
| `--description` | string | New description |

```bash theme={null}
coval test-sets update ts_abc123 --name "Updated Name"
```

## Delete Test Set

```bash theme={null}
coval test-sets delete <test_set_id>
```

| Argument      | Type   | Required | Description               |
| ------------- | ------ | -------- | ------------------------- |
| `test_set_id` | string | **Yes**  | The test set ID to delete |
