Skip to main content
GET
/
v1
/
public
/
retrievers
/
{public_name}
/
config
Get Public Retriever Config
curl --request GET \
  --url https://api.mixpeek.com/v1/public/retrievers/{public_name}/config \
  --header 'Authorization: Bearer <token>'
{
  "public_name": "<string>",
  "public_api_key": "<string>",
  "display_config": {
    "title": "<string>",
    "inputs": [
      {
        "field_name": "<string>",
        "field_schema": {
          "type": "string",
          "default": "<unknown>",
          "items": "<unknown>",
          "properties": {},
          "examples": [
            "<unknown>"
          ],
          "description": "<string>",
          "enum": [
            "<unknown>"
          ],
          "required": false
        },
        "label": "<string>",
        "placeholder": "Enter search terms...",
        "helper_text": "Describe the aesthetic, outfit, or vibe you're looking for",
        "suggestions": [
          "streetwear urban",
          "clean girl minimal",
          "summer haul bright"
        ],
        "required": true,
        "order": 0
      }
    ],
    "exposed_fields": [
      "<string>"
    ],
    "description": "Search through thousands of products",
    "logo_url": "https://example.com/logo.png",
    "og_image_url": "https://s3.amazonaws.com/mixpeek-server-dev/org123/ns456/public-retriever-og-images/video-search/og.png",
    "markdowns": [
      {
        "title": "<string>",
        "content": "<string>"
      }
    ],
    "theme": {
      "primary_color": "#007AFF",
      "secondary_color": "#FF6B6B",
      "font_family": "system-ui, -apple-system, sans-serif",
      "background_color": "#FFFFFF",
      "text_color": "#000000"
    },
    "layout": {
      "mode": "grid",
      "columns": 3,
      "gap": "16px"
    },
    "components": {
      "show_search": true,
      "show_filters": false,
      "result_layout": "grid",
      "result_card": {
        "layout": "vertical",
        "show_thumbnail": true,
        "thumbnail_aspect_ratio": "16/9",
        "thumbnail_fit": "cover",
        "show_score": false,
        "truncate_title": 60,
        "truncate_description": 120,
        "field_order": [
          "<string>"
        ]
      }
    },
    "field_config": {}
  },
  "password_protected": true,
  "retriever_metadata": {
    "stages": [
      {}
    ],
    "collections": [
      {}
    ],
    "capabilities": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

public_name
string
required

Public name of the published retriever

Response

Successful Response

Response for fetching public retriever configuration (for UI rendering).

This is what the public frontend (apps.mixpeek.com) fetches to render the search interface. It includes everything needed for UI rendering.

public_name
string
required

Public name of the retriever

public_api_key
string
required

Public API key for making authenticated requests. Frontend needs this to call the execute endpoint.

display_config
DisplayConfig · object
required

Display configuration for rendering the UI. Includes inputs, theme, layout, and exposed fields.

password_protected
boolean
required

Whether this retriever requires password authentication

retriever_metadata
RetrieverMetadata · object

OPTIONAL. Technical metadata about how the retriever works. Only present if include_metadata=True was set during publishing.