---
title: "Get active flags for a session"
method: GET
path: "/cohorts/{id}/flags/session/{sessionId}"
tags: ["Participant Flags"]
---

# Get active flags for a session

`GET /cohorts/{id}/flags/session/{sessionId}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{id}/flags/session/{sessionId}`
- Auth: HTTP bearer

Returns all active flags associated with a specific session

## Path parameters

- `id` string, uuid, required
- `sessionId` string, uuid, required

## Response `200`

List of active flags for session

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
