> ## Documentation Index
> Fetch the complete documentation index at: https://docs.permutive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Cohort Detail

**Tool name** `get_cohort_detail`

> [!NOTE]
>
> Read-only · Idempotent

Returns metadata for specific cohorts: name, type, state, tags, subject entity, description, creation time, estimated unique users over the last 30 days, owning workspace, and which of the requested workspaces the cohort is available in.

## Example prompt

> What type and state is the "Luxury Auto Intenders" cohort, and which of my workspaces can use it?

## Parameters

**cohort\_ids** `string[]` *required*

Cohort short ids to retrieve metadata for. Obtain these from search\_cohorts or list\_cohorts. min 1 item.

**workspace\_ids** `string[]` *required*

Workspaces to look the given cohorts up in. min 1 item.

## Returns

**found** `Found[]`

Cohorts that were found in the requested workspaces, each with its metadata.

**Found**

**available\_in\_workspaces** `string[]` *required*

Which of the requested workspaces this cohort can be used from. Pass any of these to follow-up tools. min 1 item.

**cohort\_id** `string` *required*

Cohort short id, matching the input.

**cohort\_type** `enum` *required*

Cohort type one of: `custom`, `lookalike`, `contextual`, `standard`, `classificationModel`, `advertiser`, `curated`.

**created\_at** `string (date-time)`

When the cohort was created (ISO-8601). Absent for cohort types that don't record a creation time (e.g. standard cohorts).

**description** `string`

Free-text description of the cohort. Absent when the cohort has none.

**name** `string` *required*

Human-readable cohort name.

**owning\_workspace** `string (uuid)`

Workspace where this cohort was originally defined.

**state** `string` *required*

Whether the cohort is enabled or disabled.

**subject\_entity** `enum` *required*

What the cohort targets: a user, a group of users (ie. a household), or a piece of content. one of: `user`, `user_group`, `content`.

**tags** `string[]`

Tags applied to the cohort. Empty when the cohort has none.

**users** `integer (int64)` *required*

Estimated unique users in the last 30 days, across the requested workspaces.

**not\_found** `NotFound[]`

Cohorts that weren't found in any of the requested workspaces.

**NotFound**

**cohort\_id** `string` *required*

Cohort short id that wasn't found.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.