# Check feature gate

```http
GET /feature-gates/{gate}
```

Check whether a plan allows a feature before offering it, for the caller or for the owner of a project; returns allowed with the required tier, limit and current count, and a denied gate is a result, not an error.

## Parameters

| Name                | In    | Required | Description                                                                                                                                                                |
| ------------------- | ----- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `gate`              | path  | Yes      |                                                                                                                                                                            |
| `current_count`     | query |          | Current resource count for count-based gates.                                                                                                                              |
| `project_reference` | query |          | Optional project ID or slug. When supplied for a gate other than projects, checks the project owner and requires project.read. The projects gate always checks the caller. |

## Responses

| Status | Description                                                     |
| ------ | --------------------------------------------------------------- |
| 200    | Feature gate check result. A denied gate answers allowed false. |
| 400    | Bad request                                                     |
| 401    | Unauthorized                                                    |
| 403    | Forbidden                                                       |
| 404    | Not found                                                       |
| 500    | Server error                                                    |
