1.  [](/)
2.  [Templates](/templates)
3.  Archetype Sampler

Back to Templates

Media & Entertainment

# Archetype Sampler

## Discover distinct character archetypes, visual personas, or content types within your library. Clusters results to surface one representative example per archetype — ideal for casting briefs and creative exploration.

2 stages

[Read Docs](https://mixpeek.com/docs/retrieval/retrievers)

[Integrate Now](/start)

Use in Studio

No credit card to start · Build from $25/mo

OverviewAPIRelated

### Pipeline Stages

1

archetype\_filter

filter

`attribute_filter`

View parameters

{
  "field": "metadata.cluster\_label",
  "operator": "eq",
  "value": "{{INPUT.cluster\_label}}"
}

2

archetype\_sample

reduce

`sample`

View parameters

{
  "count": 5,
  "strategy": "random"
}

### Input Schema

`cluster_label`

text

required

The archetype or cluster label to sample from

e.g. `hero`

#### Use Cases

*   Casting brief generation
*   Archetype-based content sampling
*   Creative persona discovery
*   Character type audits

#### Requirements

*   Collection documents must have a cluster\_label field in metadata

#### Tags

archetype

casting

clustering

sampling

media

#### Ready to use this template?

Clone it into your namespace and start querying in minutes.

Use in Studio