Skip to main content
POST
List Retriever Templates

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

X-Namespace
string
header
required

Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.

Body

application/json

Request model for listing templates.

Provides the same filtering, sorting, and search capabilities as other list operations (list collections, list buckets, etc.).

filters
Filters · object | null

Filters to apply when listing templates. Format: {"AND": [{"field": "field_name", "operator": "eq", "value": "value"}]}

sort
Sort · object | null

Sort options for the results. Format: {'field': 'name', 'direction': 'asc'}

search
string | null

Search term for wildcard search across template_id, name, description, and tags

scope
enum<string> | null

Filter by scope (system, organization, or user)

Available options:
system,
organization,
user,
public
category
string | null

Filter by category

is_active
boolean
default:true

Show only active templates

tags
string[] | null

Filter by tags (templates must have ALL specified tags)

Response

Successful Response

Response model for listing templates.

results
BaseTemplateModel · object[]
required

List of templates

total_count
integer
required

Total number of templates matching the query