Templates
Retriever Templates

Instantiate Retriever Template

Changed on

Instantiate retriever template.

post/v1/templates/retrievers/{template_id}/instantiate

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/templates/retrievers/{template_id}/instantiate
  • Auth: HTTP bearer and API key in header X-Namespace

Path parameters

template_idstring required

Template ID

Request body

retriever_namestring required

Name for the new retriever

collection_identifiersstring[] required

Collection identifiers to use for the retriever

descriptionstring nullable

Optional description override for the retriever

tagsstring[]

Optional tags for the retriever

Example request

{
  "collection_identifiers": [
    "products"
  ],
  "description": "Semantic search for products",
  "retriever_name": "my_product_search",
  "tags": [
    "production",
    "products"
  ]
}

Response

Successful Response

retriever_idstring required

ID of the created retriever

retriever_namestring required

Name of the created retriever

template_idstring required

ID of the template used

statusstring

Status of the instantiation

created_atstring date-time

Timestamp when retriever was created

Example response

{
  "created_at": "2025-01-15T12:00:00Z",
  "retriever_id": "ret_abc123",
  "retriever_name": "my_product_search",
  "status": "created",
  "template_id": "tmpl_semantic_search"
}

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status