Skip to main content
Adds a custom HTTP header definition to the Alpic playground for an environment. Headers can be marked as required or secret to control how users provide them when accessing the playground.

Usage

Prompts for header details interactively.

Extended Usage

Add a required secret header non-interactively:
Add an optional, visible header:
Add a header to a specific environment:

Options

When running from a directory linked to an Alpic project, --environment-id is optional — the CLI reads it from the local .alpic config file.