---
title: "Whether the Gantt offers What if"
method: GET
path: "/scheduling/what-if-status"
tags: ["scheduling"]
---

# Whether the Gantt offers What if

`GET /scheduling/what-if-status`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/scheduling/what-if-status`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

`{ enabled }`: the server switch gantt_what_if_enabled, the same for every organization. While it is off the web Gantt shows no What if action, and `what-if-preview` and `what-if-overallocation` answer 404.

## Headers

- `X-Organization-Id` string, required

## Response `200`

`{ enabled: boolean }`

---

[API](https://skmtc.dev/onplana/apis/onplana-api.md) · [All operations](https://skmtc.dev/onplana/apis/onplana-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onplana/apis/onplana-api/revisions/c3d6c89e9dc8?raw)
