The hideReplay option controls whether the Try it buttons appear on GraphQL queries and mutations. For example, you can hide the button in your public API docs and keep it visible on your internal site.
Early access
This is a feature in early access. It may not be available for your organization yet, and its behavior may change before general availability.
To request access to this feature, contact our Support team.
The hideReplay setting is not available in Redoc Community Edition.
| Option | Type | Description |
|---|---|---|
| hideReplay | boolean | Hide the Replay component that lets users send GraphQL queries and mutations from the docs. Default: false. |
The following example hides the Replay component:
redocly.yaml
graphql:
hideReplay: true
- Replay API explorer - How users test APIs from the reference docs
- GraphQL configuration - All the options you can set under
graphql - GraphQL - Official GraphQL specification and documentation for understanding query language fundamentals
- Configuration options - All the other options for your project