Actions38
- Environment Actions
- Folder Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Environment → Get By Slug
AI-generatedSummary
Retrieves an Infisical project environment by its slug. Requires an Infisical version that supports the get-by-slug endpoint; older self-hosted instances may return 404.
Inputs
- Project ID (required) — ID of the Infisical project containing the environment.
- Environment Slug (required) — Environment slug, such as dev, staging, or prod.
Output shape
A single environment record per input item.
Uses the API response's environment field when present; otherwise returns the response body. Each output is paired with its input item.
