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

# stopExperiment

> Stop a running experiment



**mutation** `stopExperiment(input: StopExperimentInput!): String!`

## Arguments

**`input`**: `StopExperimentInput!` (required)

## Returns

`String!`

## Examples

```graphql Mutation
mutation StopExperiment($input: StopExperimentInput!) {
  stopExperiment(input: $input)
}
```

```json Variables
{
  "input": {
    "refId": "string"
  }
}
```

```json Response
{
  "data": {
    "stopExperiment": "string"
  }
}
```


## Related topics

- [StopExperimentInput](https://docs.stigg.io/graphql-reference/types/StopExperimentInput.md)
- [Running pricing experiments](https://docs.stigg.io/documentation/rolling-out-pricing-changes-with-confidence/experiments.md)
- [Experiment](https://docs.stigg.io/graphql-reference/types/Experiment.md)
- [experiment](https://docs.stigg.io/graphql-reference/queries/experiment.md)
- [experiments](https://docs.stigg.io/graphql-reference/queries/experiments.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.