Skip to main content
GET
/
v1
/
retrievers
/
{retriever_id}
/
publish
Get Published Retriever
curl --request GET \
  --url https://api.mixpeek.com/v1/retrievers/{retriever_id}/publish \
  --header 'Authorization: <authorization>' \
  --header 'X-Namespace: <x-namespace>'
{
  "retriever_id": "<string>",
  "public_id": "<string>",
  "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": {}
  },
  "rate_limit_config": {
    "enabled": true,
    "tier": "standard",
    "requests_per_minute": 2,
    "requests_per_hour": 2,
    "requests_per_day": 2,
    "max_results_per_query": 100,
    "enable_ip_limits": false,
    "max_requests_per_ip_hour": 2
  },
  "password_protected": true,
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "retriever_metadata": {
    "stages": [
      {}
    ],
    "collections": [
      {}
    ],
    "capabilities": {}
  }
}

Headers

Authorization
string
required

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

X-Namespace
string
required

REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'

Path Parameters

retriever_id
string
required

ID of the retriever

Response

Successful Response

Response model for GET published retriever.

Returns the full published retriever config including the public API key since the user already has access to it.

retriever_id
string
required

ID of the underlying retriever

public_id
string
required

Public identifier for this published retriever

public_name
string
required

Public URL-safe name

public_api_key
string
required

Public API key (safe to show to retriever owner)

display_config
DisplayConfig · object
required

Display configuration for UI rendering

rate_limit_config
RateLimitConfig · object
required

Rate limiting configuration

password_protected
boolean
required

Whether password protection is enabled

is_active
boolean
required

Whether the published retriever is active

created_at
string<date-time>
required

Timestamp when published

updated_at
string<date-time>
required

Timestamp when last updated

retriever_metadata
RetrieverMetadata · object

Optional technical metadata about the retriever