# Set a tag for an experiment

Launch stage: GA

`POST /api/2.0/mlflow/experiments/set-experiment-tag`

`POST /api/2.0/preview/mlflow/experiments/set-experiment-tag`

Sets a tag on an experiment. Experiment tags are metadata that can be updated.

API scopes: mlflow

## Request body

- `experiment_id` (string, required)
  ID of the experiment under which to log the tag. Must be provided.
- `key` (string, required)
  Key of the tag. Keys are at most 255 characters long. Setting a key that already exists
   replaces its value. System tags such as `mlflow.ownerId`, `mlflow.ownerEmail` and
   `mlflow.experimentType` cannot be set.
- `value` (string, required)
  Value of the tag. Values are at most 65535 characters long.

## Request

```json
{
  "experiment_id": "4150739527164012",
  "key": "mlflow.note.content",
  "value": "Weekly retraining of the customer churn model."
}
```

## Response

```json
{}
```

