Actions38
- Environment Actions
- Folder Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Environment → Get
AI-generatedSummary
Retrieve a specific environment within an Infisical project by its unique Environment ID.
Inputs
- Project ID (required) — The ID of the Infisical project the environment belongs to.
- Environment ID (required) — The unique ID of the environment to retrieve.
Output shape
a single JSON object representing the environment details.
Returns the environment data wrapped in a JSON object keyed as 'environment' or directly as the environment object. Returns one result per input item.
Examples
Example 1: Get environment details by ID
Provide the Project ID and Environment ID to fetch the exact environment metadata from Infisical.
