v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBTemplates
Retriever Templates
Create Retriever Template
Create template from existing retriever.
Supports three template scopes:
- organization: Available to all users in your organization (default)
- user: Available only to you
- system: Available to all organizations (requires Mixpeek admin email)
post/v1/templates/retrievers/from-retriever/{retriever_id}
Path parameters
retriever_idstring required
Retriever ID
Retriever ID
Request body
Example request
{
"category": "ecommerce",
"description": "Semantic search optimized for product catalogs",
"is_public": false,
"tags": [
"products",
"search"
],
"template_name": "My Product Search Pattern"
}Response
Successful Response
Example response
{
"created_at": "2025-01-15T12:00:00Z",
"scope": "organization",
"source_resource_id": "ret_xyz789",
"template_id": "tmpl_custom_abc123",
"template_name": "My Product Search Pattern",
"template_type": "retriever"
}