---
title: "Environment detail"
method: GET
path: "/environments/{environmentId}"
tags: ["environments"]
---

# Environment detail

`GET /environments/{environmentId}`

## Request

- Base URL: `https://api.letsship.ai/v1`
- URL: `https://api.letsship.ai/v1/environments/{environmentId}`
- Auth: none declared

## Path parameters

- `environmentId` string, required

## Response `200`

Detail

- EnvironmentDetailResponse
  - `environment` Environment, required
    - `environmentId` string, required
    - `projectId` string, required
    - `issueId` string, required
    - `prNumber` integer, required
    - `workerName` string, nullable, required
    - `status` 'provisioning' | 'active' | 'destroying' | 'destroyed' | 'failed', required
    - `createdAt` integer, required
    - `expiresAt` integer, nullable, required
    - `destroyedAt` integer, nullable, required

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/letsship/apis/ship-api.md) · [All operations](https://skmtc.dev/letsship/apis/ship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsship/apis/ship-api/revisions/e6eac1bcadd4?raw)
