# segment

## abtasty-cli web-experimentation segment list

#### NAME

`abtasty-cli web-experimentation segment list` - List all segments

#### SYNOPSIS

`abtasty-cli web-experimentation segment list [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

List all segments in your account

#### EXAMPLES

```shell
abtasty-cli web-experimentation segment list
```

#### FLAGS

`--output-format = _OUTPUT_FORMAT_`

The output format for printing command output resources. The default format is `table`. The supported formats are: `json-pretty`, `table`, `json`.

***

## abtasty-cli web-experimentation segment get

#### NAME

`abtasty-cli web-experimentation segment get` - Get a segment

#### SYNOPSIS

`abtasty-cli web-experimentation segment get [-i SEGMENT_ID | --id = SEGMENT_ID]`

#### DESCRIPTION

Get a specific segment

#### EXAMPLES

```shell
abtasty-cli web-experimentation segment get -i SEGMENT_ID
```

#### REQUIRED FLAGS

`--id = _SEGMENT_ID_`

The id of the segment you want to display

#### FLAGS

`--output-format _OUTPUT_FORMAT_`

The output format for printing command output resources. The default format is `table`. The supported formats are: `json-pretty`, `table`, `json`.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-segment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
