---
title: "Get context kinds"
method: GET
path: "/api/v2/projects/{projectKey}/context-kinds"
tags: ["Contexts"]
---

# Get context kinds

`GET /api/v2/projects/{projectKey}/context-kinds`

Get all context kinds for a given project.

## Path parameters

- `projectKey` string, string, required — The project key

## Response `200`

Context kinds collection response

- ContextKindsCollectionRep
  - `items` ContextKindRep[], required — An array of context kinds
    - `key` string, required — The context kind key
    - `name` string, required — The context kind name
    - `description` string, required — The context kind description
    - `version` integer, required — The context kind version
    - `creationDate` integer, required
    - `lastModified` integer, required
    - `lastSeen` integer
    - `createdFrom` string, required
    - `hideInTargeting` boolean — Alias for archived.
    - `archived` boolean — Whether the context kind is archived. Archived context kinds are unavailable for targeting.
    - `_links` object — The location and content type of related resources
  - `_links` object, required — The location and content type of related resources

## Other responses

- `401` — Invalid access token
- `403` — Forbidden
- `404` — Invalid resource identifier

---

[API](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/revisions/69c5c9aafe78/schema)
