> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/feature-experimentation/feature-experimentation-goal.md).

# goal

## abtasty-cli feature-experimentation goal create

#### NAME

`abtasty-cli feature-experimentation goal create` - Create a goal

#### SYNOPSIS

`abtasty-cli feature-experimentation goal create [-d DATA_RAW | --data-raw = DATA_RAW]`

#### DESCRIPTION

Create a goal in your account

#### EXAMPLES

```shell
abtasty-cli feature-experimentation goal create -d DATA_RAW
```

#### REQUIRED FLAGS

`--data-raw = _DATA_RAW_`

The raw data contains all the info to create your goal, check the [Remote Control documentation](https://docs.developers.flagship.io/reference/schema-goals) for more details

{% hint style="danger" %}
❗️ Raw data format

Note that you should insert data without spaces, line breaks, tabulation etc...
{% endhint %}

***

## abtasty-cli feature-experimentation goal list

#### NAME

`abtasty-cli feature-experimentation goal list` - List all goals

#### SYNOPSIS

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

#### DESCRIPTION

List all goals in your account

#### EXAMPLES

```shell
abtasty-cli feature-experimentation goal list
```

#### FLAGS

`--output-format = _OUTPUT_FORMAT_`

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

***

## abtasty-cli feature-experimentation goal get

#### NAME

`abtasty-cli feature-experimentation goal get` - Get a goal

#### SYNOPSIS

`abtasty-cli feature-experimentation goal get [-i GOAL_ID | --id = GOAL_ID]`

#### DESCRIPTION

Get a goal in your account

#### EXAMPLES

```shell
abtasty-cli feature-experimentation goal get -i GOAL_ID
```

#### REQUIRED FLAGS

`--id = _GOAL_ID_`

The id of the goal you want to display

#### FLAGS

`--output-format _OUTPUT_FORMAT_`

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

***

## abtasty-cli feature-experimentation goal edit

#### NAME

`abtasty-cli feature-experimentation goal edit` - Edit a goal

#### SYNOPSIS

`abtasty-cli feature-experimentation goal edit [-i GOAL_ID | --id = GOAL_ID] [-d DATA_RAW | --data-raw = DATA_RAW ]`

#### DESCRIPTION

Edit a goal in your account

#### EXAMPLES

```shell
abtasty-cli feature-experimentation goal edit -i GOAL_ID -d DATA_RAW
```

#### REQUIRED FLAGS

`--id = _GOAL_ID_`

The id of the goal you want to edit

`--data-raw = _DATA_RAW_`

The raw data contains all the info to edit your goal, check the [Remote Control documentation](/server-side/remote-control-api.md) for more details

{% hint style="danger" %}
❗️ Raw data format

Note that you should insert data without spaces, line breaks, tabulation etc...
{% endhint %}

***

## abtasty-cli feature-experimentation goal delete

#### NAME

`abtasty-cli feature-experimentation goal delete` - Delete a goal

#### SYNOPSIS

`abtasty-cli feature-experimentation goal delete [-i GOAL_ID | --id = GOAL_ID]`

#### DESCRIPTION

Delete a goal in your account

#### EXAMPLES

```shell
abtasty-cli feature-experimentation goal delete -i GOAL_ID
```

#### REQUIRED FLAGS

`--id = _GOAL_ID_`

The id of the goal you want to delete


---

# 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
