v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBTemplates
Namespace Templates
Create Namespace Template
Create template from existing namespace.
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/namespaces/from-namespace/{namespace_id}
Path parameters
namespace_idstring required
Namespace ID
Namespace 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"
}