GET
/
v1
/
taxonomies
/
{taxonomy_identifier}
Get Taxonomy
curl --request GET \
  --url https://api.mixpeek.com/v1/taxonomies/{taxonomy_identifier}
{
  "config": {
    "default_input_mappings": [
      {
        "input_key": "image_vector",
        "path": "features.clip_vit_l_14",
        "source_type": "vector"
      }
    ],
    "default_retriever_id": "ret_clip_v1",
    "source_collection": {
      "collection_id": "col_products_v1"
    },
    "taxonomy_type": "flat"
  },
  "namespace_id": "ns_123",
  "taxonomy_name": "product_tags",
  "taxonomy_type": "flat"
}

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

X-Namespace
string | null

Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.

Path Parameters

taxonomy_identifier
string
required

Taxonomy ID or name

Query Parameters

version
integer | null

Optional taxonomy version to fetch

Response

Successful Response

Response model for a taxonomy.

taxonomy_name
string
required

A unique name for the taxonomy within the namespace.

config
object
required

Configuration specific to the taxonomy type. Configuration for a flat taxonomy - single source collection with one retriever.

Examples:
{
"input_mappings": [
{
"input_key": "image_vector",
"path": "features.clip_vit_l_14",
"source_type": "vector"
}
],
"retriever_id": "ret_clip_v1",
"source_collection": {
"collection_id": "col_products_v1",
"enrichment_fields": [
{
"field_path": "metadata.tags",
"merge_mode": "append"
}
]
},
"taxonomy_type": "flat"
}
taxonomy_id
string

Unique identifier for the taxonomy

version
integer
default:1

Monotonic version number of the taxonomy configuration

Required range: x >= 1
description
string | null

Optional human-readable description.

retriever_id
string | null

Optional taxonomy-level retriever (prefer per-layer).

input_mappings
InputMapping · object[] | null

Optional taxonomy-level inputs (prefer per-layer).

ready
boolean
default:true

Whether the taxonomy is ready for use. False for async inference (cluster/LLM) that needs processing. True for flat/explicit hierarchies.

created_at
string<date-time>

Creation timestamp for this taxonomy record