---
title: "Check current feature trial usage for a specific feature"
method: GET
path: "/featureTrials/{feature_code}"
tags: ["FeatureTrials"]
---

# Check current feature trial usage for a specific feature

`GET /featureTrials/{feature_code}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/featureTrials/{feature_code}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/featureTrials/:feature_code/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint get's the current state of a feature trial for an org.

#### Sample Request

```
  curl -X GET \
  https://console.jumpcloud.local/api/v2/featureTrials/zeroTrust \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: {API_KEY}'
```

## Path parameters

- `feature_code` string, required

## Response `200`

OK

- FeatureTrialData: Feature usage data for a feature
  - `startDate` string
  - `endDate` string

## Other responses

- `401`: Unauthenticated
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
