Skip to main content
GET
/
v2
/
environments
/
{environmentId}
Get Environment
curl --request GET \
  --url https://api.tusky.io/v2/environments/{environmentId}
{
  "id": "<string>",
  "name": "<string>",
  "encrypted": true,
  "createdAt": "<string>",
  "updatedAt": "<string>"
}
Retrieve details of a specific environment by its ID.

Path Parameters

environmentId
string
required
The unique identifier of the environment.

Response

id
string
Unique identifier for the environment.
name
string
The name of the environment.
encrypted
boolean
Whether the environment is encrypted.
createdAt
string
ISO 8601 timestamp of when the environment was created.
updatedAt
string
ISO 8601 timestamp of when the environment was last updated.

Example

curl https://api.tusky.io/v2/environments/env_abc123def456 \
  -H "Api-Key: YOUR_API_KEY"

Response

{
  "id": "env_abc123def456",
  "name": "My First Environment",
  "encrypted": false,
  "createdAt": "2025-07-01T12:00:00.000Z",
  "updatedAt": "2025-07-01T12:00:00.000Z"
}