# One what-if

`GET /whatif/{id}` · Rivier · analytics

One what-if: each option's share holding at the end with its spread across seeds, and which option is clearly ahead, if any.

- Scope: analytics:read
- Graphql: Query.analyticsWhatifGet
- Sdk: analytics.whatif.get
- Cli: analytics whatif get

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/whatif/{id}' \
  -H 'Authorization: Bearer $KEY'
```
