# GetEnvironmentsByProjectRequest
## Example Usage
```typescript
import { GetEnvironmentsByProjectRequest } from "@launchdarkly/mcp-server/models/operations";
let value: GetEnvironmentsByProjectRequest = {
projectKey: "<value>",
};
```
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `projectKey` | *string* | :heavy_check_mark: | The project key |
| `limit` | *number* | :heavy_minus_sign: | The number of environments to return in the response. Defaults to 20. |
| `offset` | *number* | :heavy_minus_sign: | Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. |
| `filter` | *string* | :heavy_minus_sign: | A comma-separated list of filters. Each filter is of the form `field:value`. |
| `sort` | *string* | :heavy_minus_sign: | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. |