---
title: "Get Features"
method: GET
path: "/resources/features/v1"
tags: ["Features"]
---

# Get Features

`GET /resources/features/v1`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/features/v1`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/features/v1/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a paginated list of features. You can search for specific features or order them by field

## Query parameters

- `offset` number
- `limit` number
- `filter` string
- `orderBy` 'name' | 'key' | 'createdAt'
- `sortType` 'ASC' | 'DESC'
- `featureIds` string[]
- `permissionKeys` string[]
- `hasFeatureFlag` boolean

## Response `200`

- object
  - `items` FeatureDto[]
    - `id` string, required: UUID string representing the feature ID
    - `vendorId` string, required: UUID string representing the vendor ID
    - `name` string, required: String representing the feature name
    - `key` string, required: String representing the feature key
    - `metadata` object, required: JSON String
    - `description` string: Feature description
    - `createdAt` string, required: Date when a feature was created
    - `updatedAt` string: Date when a feature was last updated
    - `permissions` string[]: Array of permissions linked to a feature
    - `featureFlag` FeatureFlagDtoThin
      - `id` string: UUID string that represents the feature flag ID
      - `name` string: String that represent the feature flag name
      - `on` boolean: Boolean indicating whether the feature flag is on
      - `offTreatment` 'true' | 'false': Enum that represents the treatment in case feature flag is off
      - `defaultTreatment` 'true' | 'false': Enum that represents the default treatment
      - `description` string: String the represents the feature flag description
      - `updatedAt` string, date-time: Date when feature flag was created
      - `createdAt` string, date-time: Date when feature flag was last updated
  - `hasNext` boolean

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
