Infisical icon

Infisical

Interact with Infisical secrets management API

Environment → Get

AI-generated

Summary

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.

Links

Discussion