curl --request PATCH \
--url https://api.mixpeek.com/v1/apps/{app_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"slug": "<string>",
"meta": {
"title": "<string>",
"description": "Search across 10k+ product images",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"indexable": false
},
"auth_config": {
"mode": "public",
"clerk_org_id": "<string>",
"clerk_allowed_providers": [
"<string>"
],
"password": "<string>",
"password_hash": "<string>",
"saml_idp_metadata_url": "<string>",
"saml_sp_entity_id": "<string>",
"saml_acs_url": "<string>",
"oidc_issuer": "<string>",
"oidc_client_id": "<string>",
"oidc_client_secret_name": "<string>",
"oidc_scopes": [
"<string>"
],
"jwt_jwks_url": "<string>",
"jwt_audience": "<string>",
"jwt_issuer": "<string>",
"api_keys": [
{}
]
},
"build_config": {
"entry": "src/layout.jsx",
"framework": "react",
"tailwind": true,
"env_vars": {},
"secrets": {},
"asset_prefix": "<string>"
},
"monitoring_config": {
"enabled": true,
"error_boundary_enabled": true,
"sentry_enabled": true,
"posthog_enabled": true,
"custom_error_message": "<string>",
"auto_fix_enabled": true
},
"is_active": true,
"publish": false,
"template": "<string>",
"sections": [
{
"type": "<string>",
"section_id": "<string>",
"props": {},
"order": 123
}
],
"custom_html": "<string>",
"hero": {
"headline": "<string>",
"subheadline": "<string>",
"background_type": "solid",
"background_url": "<string>",
"background_color": "<string>",
"text_color": "#FFFFFF",
"logo_url": "<string>",
"height": "420px",
"cta_label": "<string>",
"cta_url": "<string>"
},
"theme": {
"primary_color": "#007AFF",
"secondary_color": "#FF6B6B",
"font_family": "system-ui, -apple-system, sans-serif",
"background_color": "#FFFFFF",
"text_color": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"stats": [
{
"label": "<string>",
"value": "<string>"
}
],
"featured_gallery": {
"enabled": true,
"title": "Featured",
"retriever_id": "<string>",
"public_name": "<string>",
"default_inputs": {},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"field_config": {}
},
"tabs": [
{
"tab_id": "<string>",
"label": "<string>",
"display_config": {
"title": "<string>",
"inputs": [
{
"field_name": "<string>",
"field_schema": {
"default": null,
"items": null,
"properties": {},
"examples": [
"<unknown>"
],
"description": "<string>",
"enum": [
"<unknown>"
],
"required": false
},
"label": "<string>",
"input_type": "text",
"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",
"icon_base64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"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": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"components": {
"show_hero": true,
"show_search": true,
"show_filters": false,
"show_results_header": true,
"result_layout": "grid",
"result_card": {
"card_click_action": "viewDetails",
"card_style": "default",
"field_order": [
"title",
"description",
"category",
"created_at"
],
"layout": "vertical",
"show_find_similar": true,
"show_score": true,
"show_thumbnail": true,
"thumbnail_aspect_ratio": "16/9",
"thumbnail_field": "image_url",
"thumbnail_fit": "cover",
"title_field": "title",
"truncate_description": 120,
"truncate_title": 60
}
},
"field_config": {},
"custom_cta": {
"label": "Search Tips",
"markdown_content": "# Search Tips\n\n- Use quotes for exact phrases\n- Filter by date using 'after:2024'"
},
"external_links": [
{
"name": "<string>",
"url": "<string>"
}
],
"template_type": "portrait-gallery",
"field_mappings": {
"boundingBox": "ocr_bbox",
"extractedText": "ocr_text",
"thumbnail": "page_thumbnail_url",
"title": "document_title"
},
"extensions": {
"show_timestamps": true,
"video_autoplay": true
},
"retriever_config": {}
},
"retriever_id": "<string>",
"public_name": "<string>",
"description": "<string>"
}
],
"password_secret_name": "<string>"
}
EOFimport requests
url = "https://api.mixpeek.com/v1/apps/{app_id}"
payload = {
"slug": "<string>",
"meta": {
"title": "<string>",
"description": "Search across 10k+ product images",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"indexable": False
},
"auth_config": {
"mode": "public",
"clerk_org_id": "<string>",
"clerk_allowed_providers": ["<string>"],
"password": "<string>",
"password_hash": "<string>",
"saml_idp_metadata_url": "<string>",
"saml_sp_entity_id": "<string>",
"saml_acs_url": "<string>",
"oidc_issuer": "<string>",
"oidc_client_id": "<string>",
"oidc_client_secret_name": "<string>",
"oidc_scopes": ["<string>"],
"jwt_jwks_url": "<string>",
"jwt_audience": "<string>",
"jwt_issuer": "<string>",
"api_keys": [{}]
},
"build_config": {
"entry": "src/layout.jsx",
"framework": "react",
"tailwind": True,
"env_vars": {},
"secrets": {},
"asset_prefix": "<string>"
},
"monitoring_config": {
"enabled": True,
"error_boundary_enabled": True,
"sentry_enabled": True,
"posthog_enabled": True,
"custom_error_message": "<string>",
"auto_fix_enabled": True
},
"is_active": True,
"publish": False,
"template": "<string>",
"sections": [
{
"type": "<string>",
"section_id": "<string>",
"props": {},
"order": 123
}
],
"custom_html": "<string>",
"hero": {
"headline": "<string>",
"subheadline": "<string>",
"background_type": "solid",
"background_url": "<string>",
"background_color": "<string>",
"text_color": "#FFFFFF",
"logo_url": "<string>",
"height": "420px",
"cta_label": "<string>",
"cta_url": "<string>"
},
"theme": {
"primary_color": "#007AFF",
"secondary_color": "#FF6B6B",
"font_family": "system-ui, -apple-system, sans-serif",
"background_color": "#FFFFFF",
"text_color": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": ["fitness", "yoga", "workout", "exercise videos"],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": { "applicationCategory": "Search" },
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"stats": [
{
"label": "<string>",
"value": "<string>"
}
],
"featured_gallery": {
"enabled": True,
"title": "Featured",
"retriever_id": "<string>",
"public_name": "<string>",
"default_inputs": {},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": False
},
"field_config": {}
},
"tabs": [
{
"tab_id": "<string>",
"label": "<string>",
"display_config": {
"title": "<string>",
"inputs": [
{
"field_name": "<string>",
"field_schema": {
"default": None,
"items": None,
"properties": {},
"examples": ["<unknown>"],
"description": "<string>",
"enum": ["<unknown>"],
"required": False
},
"label": "<string>",
"input_type": "text",
"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",
"icon_base64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": ["fitness", "yoga", "workout", "exercise videos"],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": { "applicationCategory": "Search" },
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"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": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": False
},
"components": {
"show_hero": True,
"show_search": True,
"show_filters": False,
"show_results_header": True,
"result_layout": "grid",
"result_card": {
"card_click_action": "viewDetails",
"card_style": "default",
"field_order": ["title", "description", "category", "created_at"],
"layout": "vertical",
"show_find_similar": True,
"show_score": True,
"show_thumbnail": True,
"thumbnail_aspect_ratio": "16/9",
"thumbnail_field": "image_url",
"thumbnail_fit": "cover",
"title_field": "title",
"truncate_description": 120,
"truncate_title": 60
}
},
"field_config": {},
"custom_cta": {
"label": "Search Tips",
"markdown_content": "# Search Tips
- Use quotes for exact phrases
- Filter by date using 'after:2024'"
},
"external_links": [
{
"name": "<string>",
"url": "<string>"
}
],
"template_type": "portrait-gallery",
"field_mappings": {
"boundingBox": "ocr_bbox",
"extractedText": "ocr_text",
"thumbnail": "page_thumbnail_url",
"title": "document_title"
},
"extensions": {
"show_timestamps": True,
"video_autoplay": True
},
"retriever_config": {}
},
"retriever_id": "<string>",
"public_name": "<string>",
"description": "<string>"
}
],
"password_secret_name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slug: '<string>',
meta: {
title: '<string>',
description: 'Search across 10k+ product images',
logo_url: 'https://cdn.example.com/logo.png',
favicon_url: 'https://cdn.example.com/favicon.ico',
indexable: false
},
auth_config: {
mode: 'public',
clerk_org_id: '<string>',
clerk_allowed_providers: ['<string>'],
password: '<string>',
password_hash: '<string>',
saml_idp_metadata_url: '<string>',
saml_sp_entity_id: '<string>',
saml_acs_url: '<string>',
oidc_issuer: '<string>',
oidc_client_id: '<string>',
oidc_client_secret_name: '<string>',
oidc_scopes: ['<string>'],
jwt_jwks_url: '<string>',
jwt_audience: '<string>',
jwt_issuer: '<string>',
api_keys: [{}]
},
build_config: {
entry: 'src/layout.jsx',
framework: 'react',
tailwind: true,
env_vars: {},
secrets: {},
asset_prefix: '<string>'
},
monitoring_config: {
enabled: true,
error_boundary_enabled: true,
sentry_enabled: true,
posthog_enabled: true,
custom_error_message: '<string>',
auto_fix_enabled: true
},
is_active: true,
publish: false,
template: '<string>',
sections: [{type: '<string>', section_id: '<string>', props: {}, order: 123}],
custom_html: '<string>',
hero: {
headline: '<string>',
subheadline: '<string>',
background_type: 'solid',
background_url: '<string>',
background_color: '<string>',
text_color: '#FFFFFF',
logo_url: '<string>',
height: '420px',
cta_label: '<string>',
cta_url: '<string>'
},
theme: {
primary_color: '#007AFF',
secondary_color: '#FF6B6B',
font_family: 'system-ui, -apple-system, sans-serif',
background_color: '#FFFFFF',
text_color: '#374151',
heading_font_family: 'Georgia, serif',
surface_color: '#F9FAFB',
muted_color: '#6B7280',
border_color: '#E5E7EB',
border_radius: '8px',
card_style: 'elevated',
card_hover_effect: 'lift'
},
seo: {
author: 'Mixpeek',
favicon_url: 'https://example.com/favicon.ico',
keywords: ['fitness', 'yoga', 'workout', 'exercise videos'],
locale: 'en_US',
logo_url: 'https://example.com/logo.png',
meta_description: 'Search and discover fitness videos using AI-powered semantic search.',
meta_title: 'Fitness Video Search | Mixpeek',
og_image_alt: 'Fitness video search interface',
og_image_url: 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
og_type: 'website',
robots: 'index, follow',
site_name: 'Mixpeek',
structured_data: {additional_properties: {applicationCategory: 'Search'}, type: 'WebApplication'},
twitter_card: 'summary_large_image',
twitter_site: '@mixpeek'
},
stats: [{label: '<string>', value: '<string>'}],
featured_gallery: {
enabled: true,
title: 'Featured',
retriever_id: '<string>',
public_name: '<string>',
default_inputs: {},
layout: {mode: 'grid', columns: 3, gap: '16px', full_width: false},
field_config: {}
},
tabs: [
{
tab_id: '<string>',
label: '<string>',
display_config: {
title: '<string>',
inputs: [
{
field_name: '<string>',
field_schema: {
default: null,
items: null,
properties: {},
examples: ['<unknown>'],
description: '<string>',
enum: ['<unknown>'],
required: false
},
label: '<string>',
input_type: 'text',
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',
icon_base64: 'data:image/png;base64,iVBORw0KGgoAAAANS...',
seo: {
author: 'Mixpeek',
favicon_url: 'https://example.com/favicon.ico',
keywords: ['fitness', 'yoga', 'workout', 'exercise videos'],
locale: 'en_US',
logo_url: 'https://example.com/logo.png',
meta_description: 'Search and discover fitness videos using AI-powered semantic search.',
meta_title: 'Fitness Video Search | Mixpeek',
og_image_alt: 'Fitness video search interface',
og_image_url: 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
og_type: 'website',
robots: 'index, follow',
site_name: 'Mixpeek',
structured_data: {additional_properties: {applicationCategory: 'Search'}, type: 'WebApplication'},
twitter_card: 'summary_large_image',
twitter_site: '@mixpeek'
},
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: '#374151',
heading_font_family: 'Georgia, serif',
surface_color: '#F9FAFB',
muted_color: '#6B7280',
border_color: '#E5E7EB',
border_radius: '8px',
card_style: 'elevated',
card_hover_effect: 'lift'
},
layout: {mode: 'grid', columns: 3, gap: '16px', full_width: false},
components: {
show_hero: true,
show_search: true,
show_filters: false,
show_results_header: true,
result_layout: 'grid',
result_card: {
card_click_action: 'viewDetails',
card_style: 'default',
field_order: ['title', 'description', 'category', 'created_at'],
layout: 'vertical',
show_find_similar: true,
show_score: true,
show_thumbnail: true,
thumbnail_aspect_ratio: '16/9',
thumbnail_field: 'image_url',
thumbnail_fit: 'cover',
title_field: 'title',
truncate_description: 120,
truncate_title: 60
}
},
field_config: {},
custom_cta: {
label: 'Search Tips',
markdown_content: '# Search Tips\n\n- Use quotes for exact phrases\n- Filter by date using \'after:2024\''
},
external_links: [{name: '<string>', url: '<string>'}],
template_type: 'portrait-gallery',
field_mappings: {
boundingBox: 'ocr_bbox',
extractedText: 'ocr_text',
thumbnail: 'page_thumbnail_url',
title: 'document_title'
},
extensions: {show_timestamps: true, video_autoplay: true},
retriever_config: {}
},
retriever_id: '<string>',
public_name: '<string>',
description: '<string>'
}
],
password_secret_name: '<string>'
})
};
fetch('https://api.mixpeek.com/v1/apps/{app_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mixpeek.com/v1/apps/{app_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'slug' => '<string>',
'meta' => [
'title' => '<string>',
'description' => 'Search across 10k+ product images',
'logo_url' => 'https://cdn.example.com/logo.png',
'favicon_url' => 'https://cdn.example.com/favicon.ico',
'indexable' => false
],
'auth_config' => [
'mode' => 'public',
'clerk_org_id' => '<string>',
'clerk_allowed_providers' => [
'<string>'
],
'password' => '<string>',
'password_hash' => '<string>',
'saml_idp_metadata_url' => '<string>',
'saml_sp_entity_id' => '<string>',
'saml_acs_url' => '<string>',
'oidc_issuer' => '<string>',
'oidc_client_id' => '<string>',
'oidc_client_secret_name' => '<string>',
'oidc_scopes' => [
'<string>'
],
'jwt_jwks_url' => '<string>',
'jwt_audience' => '<string>',
'jwt_issuer' => '<string>',
'api_keys' => [
[
]
]
],
'build_config' => [
'entry' => 'src/layout.jsx',
'framework' => 'react',
'tailwind' => true,
'env_vars' => [
],
'secrets' => [
],
'asset_prefix' => '<string>'
],
'monitoring_config' => [
'enabled' => true,
'error_boundary_enabled' => true,
'sentry_enabled' => true,
'posthog_enabled' => true,
'custom_error_message' => '<string>',
'auto_fix_enabled' => true
],
'is_active' => true,
'publish' => false,
'template' => '<string>',
'sections' => [
[
'type' => '<string>',
'section_id' => '<string>',
'props' => [
],
'order' => 123
]
],
'custom_html' => '<string>',
'hero' => [
'headline' => '<string>',
'subheadline' => '<string>',
'background_type' => 'solid',
'background_url' => '<string>',
'background_color' => '<string>',
'text_color' => '#FFFFFF',
'logo_url' => '<string>',
'height' => '420px',
'cta_label' => '<string>',
'cta_url' => '<string>'
],
'theme' => [
'primary_color' => '#007AFF',
'secondary_color' => '#FF6B6B',
'font_family' => 'system-ui, -apple-system, sans-serif',
'background_color' => '#FFFFFF',
'text_color' => '#374151',
'heading_font_family' => 'Georgia, serif',
'surface_color' => '#F9FAFB',
'muted_color' => '#6B7280',
'border_color' => '#E5E7EB',
'border_radius' => '8px',
'card_style' => 'elevated',
'card_hover_effect' => 'lift'
],
'seo' => [
'author' => 'Mixpeek',
'favicon_url' => 'https://example.com/favicon.ico',
'keywords' => [
'fitness',
'yoga',
'workout',
'exercise videos'
],
'locale' => 'en_US',
'logo_url' => 'https://example.com/logo.png',
'meta_description' => 'Search and discover fitness videos using AI-powered semantic search.',
'meta_title' => 'Fitness Video Search | Mixpeek',
'og_image_alt' => 'Fitness video search interface',
'og_image_url' => 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
'og_type' => 'website',
'robots' => 'index, follow',
'site_name' => 'Mixpeek',
'structured_data' => [
'additional_properties' => [
'applicationCategory' => 'Search'
],
'type' => 'WebApplication'
],
'twitter_card' => 'summary_large_image',
'twitter_site' => '@mixpeek'
],
'stats' => [
[
'label' => '<string>',
'value' => '<string>'
]
],
'featured_gallery' => [
'enabled' => true,
'title' => 'Featured',
'retriever_id' => '<string>',
'public_name' => '<string>',
'default_inputs' => [
],
'layout' => [
'mode' => 'grid',
'columns' => 3,
'gap' => '16px',
'full_width' => false
],
'field_config' => [
]
],
'tabs' => [
[
'tab_id' => '<string>',
'label' => '<string>',
'display_config' => [
'title' => '<string>',
'inputs' => [
[
'field_name' => '<string>',
'field_schema' => [
'default' => null,
'items' => null,
'properties' => [
],
'examples' => [
'<unknown>'
],
'description' => '<string>',
'enum' => [
'<unknown>'
],
'required' => false
],
'label' => '<string>',
'input_type' => 'text',
'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',
'icon_base64' => 'data:image/png;base64,iVBORw0KGgoAAAANS...',
'seo' => [
'author' => 'Mixpeek',
'favicon_url' => 'https://example.com/favicon.ico',
'keywords' => [
'fitness',
'yoga',
'workout',
'exercise videos'
],
'locale' => 'en_US',
'logo_url' => 'https://example.com/logo.png',
'meta_description' => 'Search and discover fitness videos using AI-powered semantic search.',
'meta_title' => 'Fitness Video Search | Mixpeek',
'og_image_alt' => 'Fitness video search interface',
'og_image_url' => 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
'og_type' => 'website',
'robots' => 'index, follow',
'site_name' => 'Mixpeek',
'structured_data' => [
'additional_properties' => [
'applicationCategory' => 'Search'
],
'type' => 'WebApplication'
],
'twitter_card' => 'summary_large_image',
'twitter_site' => '@mixpeek'
],
'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' => '#374151',
'heading_font_family' => 'Georgia, serif',
'surface_color' => '#F9FAFB',
'muted_color' => '#6B7280',
'border_color' => '#E5E7EB',
'border_radius' => '8px',
'card_style' => 'elevated',
'card_hover_effect' => 'lift'
],
'layout' => [
'mode' => 'grid',
'columns' => 3,
'gap' => '16px',
'full_width' => false
],
'components' => [
'show_hero' => true,
'show_search' => true,
'show_filters' => false,
'show_results_header' => true,
'result_layout' => 'grid',
'result_card' => [
'card_click_action' => 'viewDetails',
'card_style' => 'default',
'field_order' => [
'title',
'description',
'category',
'created_at'
],
'layout' => 'vertical',
'show_find_similar' => true,
'show_score' => true,
'show_thumbnail' => true,
'thumbnail_aspect_ratio' => '16/9',
'thumbnail_field' => 'image_url',
'thumbnail_fit' => 'cover',
'title_field' => 'title',
'truncate_description' => 120,
'truncate_title' => 60
]
],
'field_config' => [
],
'custom_cta' => [
'label' => 'Search Tips',
'markdown_content' => '# Search Tips
- Use quotes for exact phrases
- Filter by date using \'after:2024\''
],
'external_links' => [
[
'name' => '<string>',
'url' => '<string>'
]
],
'template_type' => 'portrait-gallery',
'field_mappings' => [
'boundingBox' => 'ocr_bbox',
'extractedText' => 'ocr_text',
'thumbnail' => 'page_thumbnail_url',
'title' => 'document_title'
],
'extensions' => [
'show_timestamps' => true,
'video_autoplay' => true
],
'retriever_config' => [
]
],
'retriever_id' => '<string>',
'public_name' => '<string>',
'description' => '<string>'
]
],
'password_secret_name' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mixpeek.com/v1/apps/{app_id}"
payload := strings.NewReader("{\n \"slug\": \"<string>\",\n \"meta\": {\n \"title\": \"<string>\",\n \"description\": \"Search across 10k+ product images\",\n \"logo_url\": \"https://cdn.example.com/logo.png\",\n \"favicon_url\": \"https://cdn.example.com/favicon.ico\",\n \"indexable\": false\n },\n \"auth_config\": {\n \"mode\": \"public\",\n \"clerk_org_id\": \"<string>\",\n \"clerk_allowed_providers\": [\n \"<string>\"\n ],\n \"password\": \"<string>\",\n \"password_hash\": \"<string>\",\n \"saml_idp_metadata_url\": \"<string>\",\n \"saml_sp_entity_id\": \"<string>\",\n \"saml_acs_url\": \"<string>\",\n \"oidc_issuer\": \"<string>\",\n \"oidc_client_id\": \"<string>\",\n \"oidc_client_secret_name\": \"<string>\",\n \"oidc_scopes\": [\n \"<string>\"\n ],\n \"jwt_jwks_url\": \"<string>\",\n \"jwt_audience\": \"<string>\",\n \"jwt_issuer\": \"<string>\",\n \"api_keys\": [\n {}\n ]\n },\n \"build_config\": {\n \"entry\": \"src/layout.jsx\",\n \"framework\": \"react\",\n \"tailwind\": true,\n \"env_vars\": {},\n \"secrets\": {},\n \"asset_prefix\": \"<string>\"\n },\n \"monitoring_config\": {\n \"enabled\": true,\n \"error_boundary_enabled\": true,\n \"sentry_enabled\": true,\n \"posthog_enabled\": true,\n \"custom_error_message\": \"<string>\",\n \"auto_fix_enabled\": true\n },\n \"is_active\": true,\n \"publish\": false,\n \"template\": \"<string>\",\n \"sections\": [\n {\n \"type\": \"<string>\",\n \"section_id\": \"<string>\",\n \"props\": {},\n \"order\": 123\n }\n ],\n \"custom_html\": \"<string>\",\n \"hero\": {\n \"headline\": \"<string>\",\n \"subheadline\": \"<string>\",\n \"background_type\": \"solid\",\n \"background_url\": \"<string>\",\n \"background_color\": \"<string>\",\n \"text_color\": \"#FFFFFF\",\n \"logo_url\": \"<string>\",\n \"height\": \"420px\",\n \"cta_label\": \"<string>\",\n \"cta_url\": \"<string>\"\n },\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"stats\": [\n {\n \"label\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"featured_gallery\": {\n \"enabled\": true,\n \"title\": \"Featured\",\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"default_inputs\": {},\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"field_config\": {}\n },\n \"tabs\": [\n {\n \"tab_id\": \"<string>\",\n \"label\": \"<string>\",\n \"display_config\": {\n \"title\": \"<string>\",\n \"inputs\": [\n {\n \"field_name\": \"<string>\",\n \"field_schema\": {\n \"default\": null,\n \"items\": null,\n \"properties\": {},\n \"examples\": [\n \"<unknown>\"\n ],\n \"description\": \"<string>\",\n \"enum\": [\n \"<unknown>\"\n ],\n \"required\": false\n },\n \"label\": \"<string>\",\n \"input_type\": \"text\",\n \"placeholder\": \"Enter search terms...\",\n \"helper_text\": \"Describe the aesthetic, outfit, or vibe you're looking for\",\n \"suggestions\": [\n \"streetwear urban\",\n \"clean girl minimal\",\n \"summer haul bright\"\n ],\n \"required\": true,\n \"order\": 0\n }\n ],\n \"exposed_fields\": [\n \"<string>\"\n ],\n \"description\": \"Search through thousands of products\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"icon_base64\": \"data:image/png;base64,iVBORw0KGgoAAAANS...\",\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"markdowns\": [\n {\n \"title\": \"<string>\",\n \"content\": \"<string>\"\n }\n ],\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"components\": {\n \"show_hero\": true,\n \"show_search\": true,\n \"show_filters\": false,\n \"show_results_header\": true,\n \"result_layout\": \"grid\",\n \"result_card\": {\n \"card_click_action\": \"viewDetails\",\n \"card_style\": \"default\",\n \"field_order\": [\n \"title\",\n \"description\",\n \"category\",\n \"created_at\"\n ],\n \"layout\": \"vertical\",\n \"show_find_similar\": true,\n \"show_score\": true,\n \"show_thumbnail\": true,\n \"thumbnail_aspect_ratio\": \"16/9\",\n \"thumbnail_field\": \"image_url\",\n \"thumbnail_fit\": \"cover\",\n \"title_field\": \"title\",\n \"truncate_description\": 120,\n \"truncate_title\": 60\n }\n },\n \"field_config\": {},\n \"custom_cta\": {\n \"label\": \"Search Tips\",\n \"markdown_content\": \"# Search Tips\\n\\n- Use quotes for exact phrases\\n- Filter by date using 'after:2024'\"\n },\n \"external_links\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ],\n \"template_type\": \"portrait-gallery\",\n \"field_mappings\": {\n \"boundingBox\": \"ocr_bbox\",\n \"extractedText\": \"ocr_text\",\n \"thumbnail\": \"page_thumbnail_url\",\n \"title\": \"document_title\"\n },\n \"extensions\": {\n \"show_timestamps\": true,\n \"video_autoplay\": true\n },\n \"retriever_config\": {}\n },\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"password_secret_name\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.mixpeek.com/v1/apps/{app_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"<string>\",\n \"meta\": {\n \"title\": \"<string>\",\n \"description\": \"Search across 10k+ product images\",\n \"logo_url\": \"https://cdn.example.com/logo.png\",\n \"favicon_url\": \"https://cdn.example.com/favicon.ico\",\n \"indexable\": false\n },\n \"auth_config\": {\n \"mode\": \"public\",\n \"clerk_org_id\": \"<string>\",\n \"clerk_allowed_providers\": [\n \"<string>\"\n ],\n \"password\": \"<string>\",\n \"password_hash\": \"<string>\",\n \"saml_idp_metadata_url\": \"<string>\",\n \"saml_sp_entity_id\": \"<string>\",\n \"saml_acs_url\": \"<string>\",\n \"oidc_issuer\": \"<string>\",\n \"oidc_client_id\": \"<string>\",\n \"oidc_client_secret_name\": \"<string>\",\n \"oidc_scopes\": [\n \"<string>\"\n ],\n \"jwt_jwks_url\": \"<string>\",\n \"jwt_audience\": \"<string>\",\n \"jwt_issuer\": \"<string>\",\n \"api_keys\": [\n {}\n ]\n },\n \"build_config\": {\n \"entry\": \"src/layout.jsx\",\n \"framework\": \"react\",\n \"tailwind\": true,\n \"env_vars\": {},\n \"secrets\": {},\n \"asset_prefix\": \"<string>\"\n },\n \"monitoring_config\": {\n \"enabled\": true,\n \"error_boundary_enabled\": true,\n \"sentry_enabled\": true,\n \"posthog_enabled\": true,\n \"custom_error_message\": \"<string>\",\n \"auto_fix_enabled\": true\n },\n \"is_active\": true,\n \"publish\": false,\n \"template\": \"<string>\",\n \"sections\": [\n {\n \"type\": \"<string>\",\n \"section_id\": \"<string>\",\n \"props\": {},\n \"order\": 123\n }\n ],\n \"custom_html\": \"<string>\",\n \"hero\": {\n \"headline\": \"<string>\",\n \"subheadline\": \"<string>\",\n \"background_type\": \"solid\",\n \"background_url\": \"<string>\",\n \"background_color\": \"<string>\",\n \"text_color\": \"#FFFFFF\",\n \"logo_url\": \"<string>\",\n \"height\": \"420px\",\n \"cta_label\": \"<string>\",\n \"cta_url\": \"<string>\"\n },\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"stats\": [\n {\n \"label\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"featured_gallery\": {\n \"enabled\": true,\n \"title\": \"Featured\",\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"default_inputs\": {},\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"field_config\": {}\n },\n \"tabs\": [\n {\n \"tab_id\": \"<string>\",\n \"label\": \"<string>\",\n \"display_config\": {\n \"title\": \"<string>\",\n \"inputs\": [\n {\n \"field_name\": \"<string>\",\n \"field_schema\": {\n \"default\": null,\n \"items\": null,\n \"properties\": {},\n \"examples\": [\n \"<unknown>\"\n ],\n \"description\": \"<string>\",\n \"enum\": [\n \"<unknown>\"\n ],\n \"required\": false\n },\n \"label\": \"<string>\",\n \"input_type\": \"text\",\n \"placeholder\": \"Enter search terms...\",\n \"helper_text\": \"Describe the aesthetic, outfit, or vibe you're looking for\",\n \"suggestions\": [\n \"streetwear urban\",\n \"clean girl minimal\",\n \"summer haul bright\"\n ],\n \"required\": true,\n \"order\": 0\n }\n ],\n \"exposed_fields\": [\n \"<string>\"\n ],\n \"description\": \"Search through thousands of products\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"icon_base64\": \"data:image/png;base64,iVBORw0KGgoAAAANS...\",\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"markdowns\": [\n {\n \"title\": \"<string>\",\n \"content\": \"<string>\"\n }\n ],\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"components\": {\n \"show_hero\": true,\n \"show_search\": true,\n \"show_filters\": false,\n \"show_results_header\": true,\n \"result_layout\": \"grid\",\n \"result_card\": {\n \"card_click_action\": \"viewDetails\",\n \"card_style\": \"default\",\n \"field_order\": [\n \"title\",\n \"description\",\n \"category\",\n \"created_at\"\n ],\n \"layout\": \"vertical\",\n \"show_find_similar\": true,\n \"show_score\": true,\n \"show_thumbnail\": true,\n \"thumbnail_aspect_ratio\": \"16/9\",\n \"thumbnail_field\": \"image_url\",\n \"thumbnail_fit\": \"cover\",\n \"title_field\": \"title\",\n \"truncate_description\": 120,\n \"truncate_title\": 60\n }\n },\n \"field_config\": {},\n \"custom_cta\": {\n \"label\": \"Search Tips\",\n \"markdown_content\": \"# Search Tips\\n\\n- Use quotes for exact phrases\\n- Filter by date using 'after:2024'\"\n },\n \"external_links\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ],\n \"template_type\": \"portrait-gallery\",\n \"field_mappings\": {\n \"boundingBox\": \"ocr_bbox\",\n \"extractedText\": \"ocr_text\",\n \"thumbnail\": \"page_thumbnail_url\",\n \"title\": \"document_title\"\n },\n \"extensions\": {\n \"show_timestamps\": true,\n \"video_autoplay\": true\n },\n \"retriever_config\": {}\n },\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"password_secret_name\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mixpeek.com/v1/apps/{app_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slug\": \"<string>\",\n \"meta\": {\n \"title\": \"<string>\",\n \"description\": \"Search across 10k+ product images\",\n \"logo_url\": \"https://cdn.example.com/logo.png\",\n \"favicon_url\": \"https://cdn.example.com/favicon.ico\",\n \"indexable\": false\n },\n \"auth_config\": {\n \"mode\": \"public\",\n \"clerk_org_id\": \"<string>\",\n \"clerk_allowed_providers\": [\n \"<string>\"\n ],\n \"password\": \"<string>\",\n \"password_hash\": \"<string>\",\n \"saml_idp_metadata_url\": \"<string>\",\n \"saml_sp_entity_id\": \"<string>\",\n \"saml_acs_url\": \"<string>\",\n \"oidc_issuer\": \"<string>\",\n \"oidc_client_id\": \"<string>\",\n \"oidc_client_secret_name\": \"<string>\",\n \"oidc_scopes\": [\n \"<string>\"\n ],\n \"jwt_jwks_url\": \"<string>\",\n \"jwt_audience\": \"<string>\",\n \"jwt_issuer\": \"<string>\",\n \"api_keys\": [\n {}\n ]\n },\n \"build_config\": {\n \"entry\": \"src/layout.jsx\",\n \"framework\": \"react\",\n \"tailwind\": true,\n \"env_vars\": {},\n \"secrets\": {},\n \"asset_prefix\": \"<string>\"\n },\n \"monitoring_config\": {\n \"enabled\": true,\n \"error_boundary_enabled\": true,\n \"sentry_enabled\": true,\n \"posthog_enabled\": true,\n \"custom_error_message\": \"<string>\",\n \"auto_fix_enabled\": true\n },\n \"is_active\": true,\n \"publish\": false,\n \"template\": \"<string>\",\n \"sections\": [\n {\n \"type\": \"<string>\",\n \"section_id\": \"<string>\",\n \"props\": {},\n \"order\": 123\n }\n ],\n \"custom_html\": \"<string>\",\n \"hero\": {\n \"headline\": \"<string>\",\n \"subheadline\": \"<string>\",\n \"background_type\": \"solid\",\n \"background_url\": \"<string>\",\n \"background_color\": \"<string>\",\n \"text_color\": \"#FFFFFF\",\n \"logo_url\": \"<string>\",\n \"height\": \"420px\",\n \"cta_label\": \"<string>\",\n \"cta_url\": \"<string>\"\n },\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"stats\": [\n {\n \"label\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"featured_gallery\": {\n \"enabled\": true,\n \"title\": \"Featured\",\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"default_inputs\": {},\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"field_config\": {}\n },\n \"tabs\": [\n {\n \"tab_id\": \"<string>\",\n \"label\": \"<string>\",\n \"display_config\": {\n \"title\": \"<string>\",\n \"inputs\": [\n {\n \"field_name\": \"<string>\",\n \"field_schema\": {\n \"default\": null,\n \"items\": null,\n \"properties\": {},\n \"examples\": [\n \"<unknown>\"\n ],\n \"description\": \"<string>\",\n \"enum\": [\n \"<unknown>\"\n ],\n \"required\": false\n },\n \"label\": \"<string>\",\n \"input_type\": \"text\",\n \"placeholder\": \"Enter search terms...\",\n \"helper_text\": \"Describe the aesthetic, outfit, or vibe you're looking for\",\n \"suggestions\": [\n \"streetwear urban\",\n \"clean girl minimal\",\n \"summer haul bright\"\n ],\n \"required\": true,\n \"order\": 0\n }\n ],\n \"exposed_fields\": [\n \"<string>\"\n ],\n \"description\": \"Search through thousands of products\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"icon_base64\": \"data:image/png;base64,iVBORw0KGgoAAAANS...\",\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"markdowns\": [\n {\n \"title\": \"<string>\",\n \"content\": \"<string>\"\n }\n ],\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"components\": {\n \"show_hero\": true,\n \"show_search\": true,\n \"show_filters\": false,\n \"show_results_header\": true,\n \"result_layout\": \"grid\",\n \"result_card\": {\n \"card_click_action\": \"viewDetails\",\n \"card_style\": \"default\",\n \"field_order\": [\n \"title\",\n \"description\",\n \"category\",\n \"created_at\"\n ],\n \"layout\": \"vertical\",\n \"show_find_similar\": true,\n \"show_score\": true,\n \"show_thumbnail\": true,\n \"thumbnail_aspect_ratio\": \"16/9\",\n \"thumbnail_field\": \"image_url\",\n \"thumbnail_fit\": \"cover\",\n \"title_field\": \"title\",\n \"truncate_description\": 120,\n \"truncate_title\": 60\n }\n },\n \"field_config\": {},\n \"custom_cta\": {\n \"label\": \"Search Tips\",\n \"markdown_content\": \"# Search Tips\\n\\n- Use quotes for exact phrases\\n- Filter by date using 'after:2024'\"\n },\n \"external_links\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ],\n \"template_type\": \"portrait-gallery\",\n \"field_mappings\": {\n \"boundingBox\": \"ocr_bbox\",\n \"extractedText\": \"ocr_text\",\n \"thumbnail\": \"page_thumbnail_url\",\n \"title\": \"document_title\"\n },\n \"extensions\": {\n \"show_timestamps\": true,\n \"video_autoplay\": true\n },\n \"retriever_config\": {}\n },\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"password_secret_name\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"app_id": "<string>",
"slug": "<string>",
"url": "<string>",
"meta": {
"title": "<string>",
"description": "Search across 10k+ product images",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"indexable": false
},
"is_active": true,
"version": 123,
"custom_domains": [
{
"domain": "<string>",
"status": "pending",
"verification_token": "<string>",
"cname_target": "<string>",
"tls_cert_id": "<string>",
"tls_expires_at": "2023-11-07T05:31:56Z",
"verified_at": "2023-11-07T05:31:56Z",
"is_primary": false
}
],
"auth_config": {
"mode": "public",
"clerk_org_id": "<string>",
"clerk_allowed_providers": [
"<string>"
],
"password_hash": "<string>",
"saml_idp_metadata_url": "<string>",
"saml_sp_entity_id": "<string>",
"saml_acs_url": "<string>",
"oidc_issuer": "<string>",
"oidc_client_id": "<string>",
"oidc_client_secret_name": "<string>",
"oidc_scopes": [
"<string>"
],
"jwt_jwks_url": "<string>",
"jwt_audience": "<string>",
"jwt_issuer": "<string>",
"api_keys": [
{}
]
},
"build_config": {
"entry": "src/layout.jsx",
"framework": "react",
"tailwind": true,
"env_vars": {},
"secrets": {},
"asset_prefix": "<string>"
},
"environments": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"template": "<string>",
"sections": [
{
"type": "<string>",
"section_id": "<string>",
"props": {},
"order": 123
}
],
"custom_html": "<string>",
"hero": {
"headline": "<string>",
"subheadline": "<string>",
"background_type": "solid",
"background_url": "<string>",
"background_color": "<string>",
"text_color": "#FFFFFF",
"logo_url": "<string>",
"height": "420px",
"cta_label": "<string>",
"cta_url": "<string>"
},
"theme": {
"primary_color": "#007AFF",
"secondary_color": "#FF6B6B",
"font_family": "system-ui, -apple-system, sans-serif",
"background_color": "#FFFFFF",
"text_color": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"stats": [
{
"label": "<string>",
"value": "<string>"
}
],
"featured_gallery": {
"enabled": true,
"title": "Featured",
"retriever_id": "<string>",
"public_name": "<string>",
"default_inputs": {},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"field_config": {}
},
"tabs": [
{
"tab_id": "<string>",
"label": "<string>",
"display_config": {
"title": "<string>",
"inputs": [
{
"field_name": "<string>",
"field_schema": {
"default": null,
"items": null,
"properties": {},
"examples": [
"<unknown>"
],
"description": "<string>",
"enum": [
"<unknown>"
],
"required": false
},
"label": "<string>",
"input_type": "text",
"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",
"icon_base64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"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": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"components": {
"show_hero": true,
"show_search": true,
"show_filters": false,
"show_results_header": true,
"result_layout": "grid",
"result_card": {
"card_click_action": "viewDetails",
"card_style": "default",
"field_order": [
"title",
"description",
"category",
"created_at"
],
"layout": "vertical",
"show_find_similar": true,
"show_score": true,
"show_thumbnail": true,
"thumbnail_aspect_ratio": "16/9",
"thumbnail_field": "image_url",
"thumbnail_fit": "cover",
"title_field": "title",
"truncate_description": 120,
"truncate_title": 60
}
},
"field_config": {},
"custom_cta": {
"label": "Search Tips",
"markdown_content": "# Search Tips\n\n- Use quotes for exact phrases\n- Filter by date using 'after:2024'"
},
"external_links": [
{
"name": "<string>",
"url": "<string>"
}
],
"template_type": "portrait-gallery",
"field_mappings": {
"boundingBox": "ocr_bbox",
"extractedText": "ocr_text",
"thumbnail": "page_thumbnail_url",
"title": "document_title"
},
"extensions": {
"show_timestamps": true,
"video_autoplay": true
},
"retriever_config": {}
},
"retriever_id": "<string>",
"public_name": "<string>",
"description": "<string>"
}
],
"password_protected": true,
"has_unpublished_changes": false,
"monitoring_config": {
"enabled": true,
"error_boundary_enabled": true,
"sentry_enabled": true,
"posthog_enabled": true,
"custom_error_message": "<string>",
"auto_fix_enabled": true
},
"repo_url": "<string>",
"repo_branch": "<string>",
"github_installation_id": 123,
"versions": [
{
"version": 123,
"s3_version_id": "<string>",
"asset_prefix": "<string>",
"asset_manifest": {},
"asset_manifest_url": "<string>",
"deployed_by": "<string>",
"deployed_at": "2023-11-07T05:31:56Z",
"environment": "production",
"build_duration_ms": 123,
"message": "<string>",
"source_files": {},
"git_commit_sha": "<string>",
"git_commit_message": "<string>",
"git_author": "<string>"
}
]
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}Update an App
Partially update an App configuration (saved as draft).
All fields are optional — only the fields you provide are updated.
Updates are draft by default. Set publish: true to apply and publish
in a single call.
curl --request PATCH \
--url https://api.mixpeek.com/v1/apps/{app_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"slug": "<string>",
"meta": {
"title": "<string>",
"description": "Search across 10k+ product images",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"indexable": false
},
"auth_config": {
"mode": "public",
"clerk_org_id": "<string>",
"clerk_allowed_providers": [
"<string>"
],
"password": "<string>",
"password_hash": "<string>",
"saml_idp_metadata_url": "<string>",
"saml_sp_entity_id": "<string>",
"saml_acs_url": "<string>",
"oidc_issuer": "<string>",
"oidc_client_id": "<string>",
"oidc_client_secret_name": "<string>",
"oidc_scopes": [
"<string>"
],
"jwt_jwks_url": "<string>",
"jwt_audience": "<string>",
"jwt_issuer": "<string>",
"api_keys": [
{}
]
},
"build_config": {
"entry": "src/layout.jsx",
"framework": "react",
"tailwind": true,
"env_vars": {},
"secrets": {},
"asset_prefix": "<string>"
},
"monitoring_config": {
"enabled": true,
"error_boundary_enabled": true,
"sentry_enabled": true,
"posthog_enabled": true,
"custom_error_message": "<string>",
"auto_fix_enabled": true
},
"is_active": true,
"publish": false,
"template": "<string>",
"sections": [
{
"type": "<string>",
"section_id": "<string>",
"props": {},
"order": 123
}
],
"custom_html": "<string>",
"hero": {
"headline": "<string>",
"subheadline": "<string>",
"background_type": "solid",
"background_url": "<string>",
"background_color": "<string>",
"text_color": "#FFFFFF",
"logo_url": "<string>",
"height": "420px",
"cta_label": "<string>",
"cta_url": "<string>"
},
"theme": {
"primary_color": "#007AFF",
"secondary_color": "#FF6B6B",
"font_family": "system-ui, -apple-system, sans-serif",
"background_color": "#FFFFFF",
"text_color": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"stats": [
{
"label": "<string>",
"value": "<string>"
}
],
"featured_gallery": {
"enabled": true,
"title": "Featured",
"retriever_id": "<string>",
"public_name": "<string>",
"default_inputs": {},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"field_config": {}
},
"tabs": [
{
"tab_id": "<string>",
"label": "<string>",
"display_config": {
"title": "<string>",
"inputs": [
{
"field_name": "<string>",
"field_schema": {
"default": null,
"items": null,
"properties": {},
"examples": [
"<unknown>"
],
"description": "<string>",
"enum": [
"<unknown>"
],
"required": false
},
"label": "<string>",
"input_type": "text",
"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",
"icon_base64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"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": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"components": {
"show_hero": true,
"show_search": true,
"show_filters": false,
"show_results_header": true,
"result_layout": "grid",
"result_card": {
"card_click_action": "viewDetails",
"card_style": "default",
"field_order": [
"title",
"description",
"category",
"created_at"
],
"layout": "vertical",
"show_find_similar": true,
"show_score": true,
"show_thumbnail": true,
"thumbnail_aspect_ratio": "16/9",
"thumbnail_field": "image_url",
"thumbnail_fit": "cover",
"title_field": "title",
"truncate_description": 120,
"truncate_title": 60
}
},
"field_config": {},
"custom_cta": {
"label": "Search Tips",
"markdown_content": "# Search Tips\n\n- Use quotes for exact phrases\n- Filter by date using 'after:2024'"
},
"external_links": [
{
"name": "<string>",
"url": "<string>"
}
],
"template_type": "portrait-gallery",
"field_mappings": {
"boundingBox": "ocr_bbox",
"extractedText": "ocr_text",
"thumbnail": "page_thumbnail_url",
"title": "document_title"
},
"extensions": {
"show_timestamps": true,
"video_autoplay": true
},
"retriever_config": {}
},
"retriever_id": "<string>",
"public_name": "<string>",
"description": "<string>"
}
],
"password_secret_name": "<string>"
}
EOFimport requests
url = "https://api.mixpeek.com/v1/apps/{app_id}"
payload = {
"slug": "<string>",
"meta": {
"title": "<string>",
"description": "Search across 10k+ product images",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"indexable": False
},
"auth_config": {
"mode": "public",
"clerk_org_id": "<string>",
"clerk_allowed_providers": ["<string>"],
"password": "<string>",
"password_hash": "<string>",
"saml_idp_metadata_url": "<string>",
"saml_sp_entity_id": "<string>",
"saml_acs_url": "<string>",
"oidc_issuer": "<string>",
"oidc_client_id": "<string>",
"oidc_client_secret_name": "<string>",
"oidc_scopes": ["<string>"],
"jwt_jwks_url": "<string>",
"jwt_audience": "<string>",
"jwt_issuer": "<string>",
"api_keys": [{}]
},
"build_config": {
"entry": "src/layout.jsx",
"framework": "react",
"tailwind": True,
"env_vars": {},
"secrets": {},
"asset_prefix": "<string>"
},
"monitoring_config": {
"enabled": True,
"error_boundary_enabled": True,
"sentry_enabled": True,
"posthog_enabled": True,
"custom_error_message": "<string>",
"auto_fix_enabled": True
},
"is_active": True,
"publish": False,
"template": "<string>",
"sections": [
{
"type": "<string>",
"section_id": "<string>",
"props": {},
"order": 123
}
],
"custom_html": "<string>",
"hero": {
"headline": "<string>",
"subheadline": "<string>",
"background_type": "solid",
"background_url": "<string>",
"background_color": "<string>",
"text_color": "#FFFFFF",
"logo_url": "<string>",
"height": "420px",
"cta_label": "<string>",
"cta_url": "<string>"
},
"theme": {
"primary_color": "#007AFF",
"secondary_color": "#FF6B6B",
"font_family": "system-ui, -apple-system, sans-serif",
"background_color": "#FFFFFF",
"text_color": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": ["fitness", "yoga", "workout", "exercise videos"],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": { "applicationCategory": "Search" },
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"stats": [
{
"label": "<string>",
"value": "<string>"
}
],
"featured_gallery": {
"enabled": True,
"title": "Featured",
"retriever_id": "<string>",
"public_name": "<string>",
"default_inputs": {},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": False
},
"field_config": {}
},
"tabs": [
{
"tab_id": "<string>",
"label": "<string>",
"display_config": {
"title": "<string>",
"inputs": [
{
"field_name": "<string>",
"field_schema": {
"default": None,
"items": None,
"properties": {},
"examples": ["<unknown>"],
"description": "<string>",
"enum": ["<unknown>"],
"required": False
},
"label": "<string>",
"input_type": "text",
"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",
"icon_base64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": ["fitness", "yoga", "workout", "exercise videos"],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": { "applicationCategory": "Search" },
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"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": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": False
},
"components": {
"show_hero": True,
"show_search": True,
"show_filters": False,
"show_results_header": True,
"result_layout": "grid",
"result_card": {
"card_click_action": "viewDetails",
"card_style": "default",
"field_order": ["title", "description", "category", "created_at"],
"layout": "vertical",
"show_find_similar": True,
"show_score": True,
"show_thumbnail": True,
"thumbnail_aspect_ratio": "16/9",
"thumbnail_field": "image_url",
"thumbnail_fit": "cover",
"title_field": "title",
"truncate_description": 120,
"truncate_title": 60
}
},
"field_config": {},
"custom_cta": {
"label": "Search Tips",
"markdown_content": "# Search Tips
- Use quotes for exact phrases
- Filter by date using 'after:2024'"
},
"external_links": [
{
"name": "<string>",
"url": "<string>"
}
],
"template_type": "portrait-gallery",
"field_mappings": {
"boundingBox": "ocr_bbox",
"extractedText": "ocr_text",
"thumbnail": "page_thumbnail_url",
"title": "document_title"
},
"extensions": {
"show_timestamps": True,
"video_autoplay": True
},
"retriever_config": {}
},
"retriever_id": "<string>",
"public_name": "<string>",
"description": "<string>"
}
],
"password_secret_name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slug: '<string>',
meta: {
title: '<string>',
description: 'Search across 10k+ product images',
logo_url: 'https://cdn.example.com/logo.png',
favicon_url: 'https://cdn.example.com/favicon.ico',
indexable: false
},
auth_config: {
mode: 'public',
clerk_org_id: '<string>',
clerk_allowed_providers: ['<string>'],
password: '<string>',
password_hash: '<string>',
saml_idp_metadata_url: '<string>',
saml_sp_entity_id: '<string>',
saml_acs_url: '<string>',
oidc_issuer: '<string>',
oidc_client_id: '<string>',
oidc_client_secret_name: '<string>',
oidc_scopes: ['<string>'],
jwt_jwks_url: '<string>',
jwt_audience: '<string>',
jwt_issuer: '<string>',
api_keys: [{}]
},
build_config: {
entry: 'src/layout.jsx',
framework: 'react',
tailwind: true,
env_vars: {},
secrets: {},
asset_prefix: '<string>'
},
monitoring_config: {
enabled: true,
error_boundary_enabled: true,
sentry_enabled: true,
posthog_enabled: true,
custom_error_message: '<string>',
auto_fix_enabled: true
},
is_active: true,
publish: false,
template: '<string>',
sections: [{type: '<string>', section_id: '<string>', props: {}, order: 123}],
custom_html: '<string>',
hero: {
headline: '<string>',
subheadline: '<string>',
background_type: 'solid',
background_url: '<string>',
background_color: '<string>',
text_color: '#FFFFFF',
logo_url: '<string>',
height: '420px',
cta_label: '<string>',
cta_url: '<string>'
},
theme: {
primary_color: '#007AFF',
secondary_color: '#FF6B6B',
font_family: 'system-ui, -apple-system, sans-serif',
background_color: '#FFFFFF',
text_color: '#374151',
heading_font_family: 'Georgia, serif',
surface_color: '#F9FAFB',
muted_color: '#6B7280',
border_color: '#E5E7EB',
border_radius: '8px',
card_style: 'elevated',
card_hover_effect: 'lift'
},
seo: {
author: 'Mixpeek',
favicon_url: 'https://example.com/favicon.ico',
keywords: ['fitness', 'yoga', 'workout', 'exercise videos'],
locale: 'en_US',
logo_url: 'https://example.com/logo.png',
meta_description: 'Search and discover fitness videos using AI-powered semantic search.',
meta_title: 'Fitness Video Search | Mixpeek',
og_image_alt: 'Fitness video search interface',
og_image_url: 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
og_type: 'website',
robots: 'index, follow',
site_name: 'Mixpeek',
structured_data: {additional_properties: {applicationCategory: 'Search'}, type: 'WebApplication'},
twitter_card: 'summary_large_image',
twitter_site: '@mixpeek'
},
stats: [{label: '<string>', value: '<string>'}],
featured_gallery: {
enabled: true,
title: 'Featured',
retriever_id: '<string>',
public_name: '<string>',
default_inputs: {},
layout: {mode: 'grid', columns: 3, gap: '16px', full_width: false},
field_config: {}
},
tabs: [
{
tab_id: '<string>',
label: '<string>',
display_config: {
title: '<string>',
inputs: [
{
field_name: '<string>',
field_schema: {
default: null,
items: null,
properties: {},
examples: ['<unknown>'],
description: '<string>',
enum: ['<unknown>'],
required: false
},
label: '<string>',
input_type: 'text',
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',
icon_base64: 'data:image/png;base64,iVBORw0KGgoAAAANS...',
seo: {
author: 'Mixpeek',
favicon_url: 'https://example.com/favicon.ico',
keywords: ['fitness', 'yoga', 'workout', 'exercise videos'],
locale: 'en_US',
logo_url: 'https://example.com/logo.png',
meta_description: 'Search and discover fitness videos using AI-powered semantic search.',
meta_title: 'Fitness Video Search | Mixpeek',
og_image_alt: 'Fitness video search interface',
og_image_url: 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
og_type: 'website',
robots: 'index, follow',
site_name: 'Mixpeek',
structured_data: {additional_properties: {applicationCategory: 'Search'}, type: 'WebApplication'},
twitter_card: 'summary_large_image',
twitter_site: '@mixpeek'
},
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: '#374151',
heading_font_family: 'Georgia, serif',
surface_color: '#F9FAFB',
muted_color: '#6B7280',
border_color: '#E5E7EB',
border_radius: '8px',
card_style: 'elevated',
card_hover_effect: 'lift'
},
layout: {mode: 'grid', columns: 3, gap: '16px', full_width: false},
components: {
show_hero: true,
show_search: true,
show_filters: false,
show_results_header: true,
result_layout: 'grid',
result_card: {
card_click_action: 'viewDetails',
card_style: 'default',
field_order: ['title', 'description', 'category', 'created_at'],
layout: 'vertical',
show_find_similar: true,
show_score: true,
show_thumbnail: true,
thumbnail_aspect_ratio: '16/9',
thumbnail_field: 'image_url',
thumbnail_fit: 'cover',
title_field: 'title',
truncate_description: 120,
truncate_title: 60
}
},
field_config: {},
custom_cta: {
label: 'Search Tips',
markdown_content: '# Search Tips\n\n- Use quotes for exact phrases\n- Filter by date using \'after:2024\''
},
external_links: [{name: '<string>', url: '<string>'}],
template_type: 'portrait-gallery',
field_mappings: {
boundingBox: 'ocr_bbox',
extractedText: 'ocr_text',
thumbnail: 'page_thumbnail_url',
title: 'document_title'
},
extensions: {show_timestamps: true, video_autoplay: true},
retriever_config: {}
},
retriever_id: '<string>',
public_name: '<string>',
description: '<string>'
}
],
password_secret_name: '<string>'
})
};
fetch('https://api.mixpeek.com/v1/apps/{app_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mixpeek.com/v1/apps/{app_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'slug' => '<string>',
'meta' => [
'title' => '<string>',
'description' => 'Search across 10k+ product images',
'logo_url' => 'https://cdn.example.com/logo.png',
'favicon_url' => 'https://cdn.example.com/favicon.ico',
'indexable' => false
],
'auth_config' => [
'mode' => 'public',
'clerk_org_id' => '<string>',
'clerk_allowed_providers' => [
'<string>'
],
'password' => '<string>',
'password_hash' => '<string>',
'saml_idp_metadata_url' => '<string>',
'saml_sp_entity_id' => '<string>',
'saml_acs_url' => '<string>',
'oidc_issuer' => '<string>',
'oidc_client_id' => '<string>',
'oidc_client_secret_name' => '<string>',
'oidc_scopes' => [
'<string>'
],
'jwt_jwks_url' => '<string>',
'jwt_audience' => '<string>',
'jwt_issuer' => '<string>',
'api_keys' => [
[
]
]
],
'build_config' => [
'entry' => 'src/layout.jsx',
'framework' => 'react',
'tailwind' => true,
'env_vars' => [
],
'secrets' => [
],
'asset_prefix' => '<string>'
],
'monitoring_config' => [
'enabled' => true,
'error_boundary_enabled' => true,
'sentry_enabled' => true,
'posthog_enabled' => true,
'custom_error_message' => '<string>',
'auto_fix_enabled' => true
],
'is_active' => true,
'publish' => false,
'template' => '<string>',
'sections' => [
[
'type' => '<string>',
'section_id' => '<string>',
'props' => [
],
'order' => 123
]
],
'custom_html' => '<string>',
'hero' => [
'headline' => '<string>',
'subheadline' => '<string>',
'background_type' => 'solid',
'background_url' => '<string>',
'background_color' => '<string>',
'text_color' => '#FFFFFF',
'logo_url' => '<string>',
'height' => '420px',
'cta_label' => '<string>',
'cta_url' => '<string>'
],
'theme' => [
'primary_color' => '#007AFF',
'secondary_color' => '#FF6B6B',
'font_family' => 'system-ui, -apple-system, sans-serif',
'background_color' => '#FFFFFF',
'text_color' => '#374151',
'heading_font_family' => 'Georgia, serif',
'surface_color' => '#F9FAFB',
'muted_color' => '#6B7280',
'border_color' => '#E5E7EB',
'border_radius' => '8px',
'card_style' => 'elevated',
'card_hover_effect' => 'lift'
],
'seo' => [
'author' => 'Mixpeek',
'favicon_url' => 'https://example.com/favicon.ico',
'keywords' => [
'fitness',
'yoga',
'workout',
'exercise videos'
],
'locale' => 'en_US',
'logo_url' => 'https://example.com/logo.png',
'meta_description' => 'Search and discover fitness videos using AI-powered semantic search.',
'meta_title' => 'Fitness Video Search | Mixpeek',
'og_image_alt' => 'Fitness video search interface',
'og_image_url' => 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
'og_type' => 'website',
'robots' => 'index, follow',
'site_name' => 'Mixpeek',
'structured_data' => [
'additional_properties' => [
'applicationCategory' => 'Search'
],
'type' => 'WebApplication'
],
'twitter_card' => 'summary_large_image',
'twitter_site' => '@mixpeek'
],
'stats' => [
[
'label' => '<string>',
'value' => '<string>'
]
],
'featured_gallery' => [
'enabled' => true,
'title' => 'Featured',
'retriever_id' => '<string>',
'public_name' => '<string>',
'default_inputs' => [
],
'layout' => [
'mode' => 'grid',
'columns' => 3,
'gap' => '16px',
'full_width' => false
],
'field_config' => [
]
],
'tabs' => [
[
'tab_id' => '<string>',
'label' => '<string>',
'display_config' => [
'title' => '<string>',
'inputs' => [
[
'field_name' => '<string>',
'field_schema' => [
'default' => null,
'items' => null,
'properties' => [
],
'examples' => [
'<unknown>'
],
'description' => '<string>',
'enum' => [
'<unknown>'
],
'required' => false
],
'label' => '<string>',
'input_type' => 'text',
'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',
'icon_base64' => 'data:image/png;base64,iVBORw0KGgoAAAANS...',
'seo' => [
'author' => 'Mixpeek',
'favicon_url' => 'https://example.com/favicon.ico',
'keywords' => [
'fitness',
'yoga',
'workout',
'exercise videos'
],
'locale' => 'en_US',
'logo_url' => 'https://example.com/logo.png',
'meta_description' => 'Search and discover fitness videos using AI-powered semantic search.',
'meta_title' => 'Fitness Video Search | Mixpeek',
'og_image_alt' => 'Fitness video search interface',
'og_image_url' => 'https://mixpeek-public-pages.s3.amazonaws.com/og.png',
'og_type' => 'website',
'robots' => 'index, follow',
'site_name' => 'Mixpeek',
'structured_data' => [
'additional_properties' => [
'applicationCategory' => 'Search'
],
'type' => 'WebApplication'
],
'twitter_card' => 'summary_large_image',
'twitter_site' => '@mixpeek'
],
'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' => '#374151',
'heading_font_family' => 'Georgia, serif',
'surface_color' => '#F9FAFB',
'muted_color' => '#6B7280',
'border_color' => '#E5E7EB',
'border_radius' => '8px',
'card_style' => 'elevated',
'card_hover_effect' => 'lift'
],
'layout' => [
'mode' => 'grid',
'columns' => 3,
'gap' => '16px',
'full_width' => false
],
'components' => [
'show_hero' => true,
'show_search' => true,
'show_filters' => false,
'show_results_header' => true,
'result_layout' => 'grid',
'result_card' => [
'card_click_action' => 'viewDetails',
'card_style' => 'default',
'field_order' => [
'title',
'description',
'category',
'created_at'
],
'layout' => 'vertical',
'show_find_similar' => true,
'show_score' => true,
'show_thumbnail' => true,
'thumbnail_aspect_ratio' => '16/9',
'thumbnail_field' => 'image_url',
'thumbnail_fit' => 'cover',
'title_field' => 'title',
'truncate_description' => 120,
'truncate_title' => 60
]
],
'field_config' => [
],
'custom_cta' => [
'label' => 'Search Tips',
'markdown_content' => '# Search Tips
- Use quotes for exact phrases
- Filter by date using \'after:2024\''
],
'external_links' => [
[
'name' => '<string>',
'url' => '<string>'
]
],
'template_type' => 'portrait-gallery',
'field_mappings' => [
'boundingBox' => 'ocr_bbox',
'extractedText' => 'ocr_text',
'thumbnail' => 'page_thumbnail_url',
'title' => 'document_title'
],
'extensions' => [
'show_timestamps' => true,
'video_autoplay' => true
],
'retriever_config' => [
]
],
'retriever_id' => '<string>',
'public_name' => '<string>',
'description' => '<string>'
]
],
'password_secret_name' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mixpeek.com/v1/apps/{app_id}"
payload := strings.NewReader("{\n \"slug\": \"<string>\",\n \"meta\": {\n \"title\": \"<string>\",\n \"description\": \"Search across 10k+ product images\",\n \"logo_url\": \"https://cdn.example.com/logo.png\",\n \"favicon_url\": \"https://cdn.example.com/favicon.ico\",\n \"indexable\": false\n },\n \"auth_config\": {\n \"mode\": \"public\",\n \"clerk_org_id\": \"<string>\",\n \"clerk_allowed_providers\": [\n \"<string>\"\n ],\n \"password\": \"<string>\",\n \"password_hash\": \"<string>\",\n \"saml_idp_metadata_url\": \"<string>\",\n \"saml_sp_entity_id\": \"<string>\",\n \"saml_acs_url\": \"<string>\",\n \"oidc_issuer\": \"<string>\",\n \"oidc_client_id\": \"<string>\",\n \"oidc_client_secret_name\": \"<string>\",\n \"oidc_scopes\": [\n \"<string>\"\n ],\n \"jwt_jwks_url\": \"<string>\",\n \"jwt_audience\": \"<string>\",\n \"jwt_issuer\": \"<string>\",\n \"api_keys\": [\n {}\n ]\n },\n \"build_config\": {\n \"entry\": \"src/layout.jsx\",\n \"framework\": \"react\",\n \"tailwind\": true,\n \"env_vars\": {},\n \"secrets\": {},\n \"asset_prefix\": \"<string>\"\n },\n \"monitoring_config\": {\n \"enabled\": true,\n \"error_boundary_enabled\": true,\n \"sentry_enabled\": true,\n \"posthog_enabled\": true,\n \"custom_error_message\": \"<string>\",\n \"auto_fix_enabled\": true\n },\n \"is_active\": true,\n \"publish\": false,\n \"template\": \"<string>\",\n \"sections\": [\n {\n \"type\": \"<string>\",\n \"section_id\": \"<string>\",\n \"props\": {},\n \"order\": 123\n }\n ],\n \"custom_html\": \"<string>\",\n \"hero\": {\n \"headline\": \"<string>\",\n \"subheadline\": \"<string>\",\n \"background_type\": \"solid\",\n \"background_url\": \"<string>\",\n \"background_color\": \"<string>\",\n \"text_color\": \"#FFFFFF\",\n \"logo_url\": \"<string>\",\n \"height\": \"420px\",\n \"cta_label\": \"<string>\",\n \"cta_url\": \"<string>\"\n },\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"stats\": [\n {\n \"label\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"featured_gallery\": {\n \"enabled\": true,\n \"title\": \"Featured\",\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"default_inputs\": {},\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"field_config\": {}\n },\n \"tabs\": [\n {\n \"tab_id\": \"<string>\",\n \"label\": \"<string>\",\n \"display_config\": {\n \"title\": \"<string>\",\n \"inputs\": [\n {\n \"field_name\": \"<string>\",\n \"field_schema\": {\n \"default\": null,\n \"items\": null,\n \"properties\": {},\n \"examples\": [\n \"<unknown>\"\n ],\n \"description\": \"<string>\",\n \"enum\": [\n \"<unknown>\"\n ],\n \"required\": false\n },\n \"label\": \"<string>\",\n \"input_type\": \"text\",\n \"placeholder\": \"Enter search terms...\",\n \"helper_text\": \"Describe the aesthetic, outfit, or vibe you're looking for\",\n \"suggestions\": [\n \"streetwear urban\",\n \"clean girl minimal\",\n \"summer haul bright\"\n ],\n \"required\": true,\n \"order\": 0\n }\n ],\n \"exposed_fields\": [\n \"<string>\"\n ],\n \"description\": \"Search through thousands of products\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"icon_base64\": \"data:image/png;base64,iVBORw0KGgoAAAANS...\",\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"markdowns\": [\n {\n \"title\": \"<string>\",\n \"content\": \"<string>\"\n }\n ],\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"components\": {\n \"show_hero\": true,\n \"show_search\": true,\n \"show_filters\": false,\n \"show_results_header\": true,\n \"result_layout\": \"grid\",\n \"result_card\": {\n \"card_click_action\": \"viewDetails\",\n \"card_style\": \"default\",\n \"field_order\": [\n \"title\",\n \"description\",\n \"category\",\n \"created_at\"\n ],\n \"layout\": \"vertical\",\n \"show_find_similar\": true,\n \"show_score\": true,\n \"show_thumbnail\": true,\n \"thumbnail_aspect_ratio\": \"16/9\",\n \"thumbnail_field\": \"image_url\",\n \"thumbnail_fit\": \"cover\",\n \"title_field\": \"title\",\n \"truncate_description\": 120,\n \"truncate_title\": 60\n }\n },\n \"field_config\": {},\n \"custom_cta\": {\n \"label\": \"Search Tips\",\n \"markdown_content\": \"# Search Tips\\n\\n- Use quotes for exact phrases\\n- Filter by date using 'after:2024'\"\n },\n \"external_links\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ],\n \"template_type\": \"portrait-gallery\",\n \"field_mappings\": {\n \"boundingBox\": \"ocr_bbox\",\n \"extractedText\": \"ocr_text\",\n \"thumbnail\": \"page_thumbnail_url\",\n \"title\": \"document_title\"\n },\n \"extensions\": {\n \"show_timestamps\": true,\n \"video_autoplay\": true\n },\n \"retriever_config\": {}\n },\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"password_secret_name\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.mixpeek.com/v1/apps/{app_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"<string>\",\n \"meta\": {\n \"title\": \"<string>\",\n \"description\": \"Search across 10k+ product images\",\n \"logo_url\": \"https://cdn.example.com/logo.png\",\n \"favicon_url\": \"https://cdn.example.com/favicon.ico\",\n \"indexable\": false\n },\n \"auth_config\": {\n \"mode\": \"public\",\n \"clerk_org_id\": \"<string>\",\n \"clerk_allowed_providers\": [\n \"<string>\"\n ],\n \"password\": \"<string>\",\n \"password_hash\": \"<string>\",\n \"saml_idp_metadata_url\": \"<string>\",\n \"saml_sp_entity_id\": \"<string>\",\n \"saml_acs_url\": \"<string>\",\n \"oidc_issuer\": \"<string>\",\n \"oidc_client_id\": \"<string>\",\n \"oidc_client_secret_name\": \"<string>\",\n \"oidc_scopes\": [\n \"<string>\"\n ],\n \"jwt_jwks_url\": \"<string>\",\n \"jwt_audience\": \"<string>\",\n \"jwt_issuer\": \"<string>\",\n \"api_keys\": [\n {}\n ]\n },\n \"build_config\": {\n \"entry\": \"src/layout.jsx\",\n \"framework\": \"react\",\n \"tailwind\": true,\n \"env_vars\": {},\n \"secrets\": {},\n \"asset_prefix\": \"<string>\"\n },\n \"monitoring_config\": {\n \"enabled\": true,\n \"error_boundary_enabled\": true,\n \"sentry_enabled\": true,\n \"posthog_enabled\": true,\n \"custom_error_message\": \"<string>\",\n \"auto_fix_enabled\": true\n },\n \"is_active\": true,\n \"publish\": false,\n \"template\": \"<string>\",\n \"sections\": [\n {\n \"type\": \"<string>\",\n \"section_id\": \"<string>\",\n \"props\": {},\n \"order\": 123\n }\n ],\n \"custom_html\": \"<string>\",\n \"hero\": {\n \"headline\": \"<string>\",\n \"subheadline\": \"<string>\",\n \"background_type\": \"solid\",\n \"background_url\": \"<string>\",\n \"background_color\": \"<string>\",\n \"text_color\": \"#FFFFFF\",\n \"logo_url\": \"<string>\",\n \"height\": \"420px\",\n \"cta_label\": \"<string>\",\n \"cta_url\": \"<string>\"\n },\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"stats\": [\n {\n \"label\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"featured_gallery\": {\n \"enabled\": true,\n \"title\": \"Featured\",\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"default_inputs\": {},\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"field_config\": {}\n },\n \"tabs\": [\n {\n \"tab_id\": \"<string>\",\n \"label\": \"<string>\",\n \"display_config\": {\n \"title\": \"<string>\",\n \"inputs\": [\n {\n \"field_name\": \"<string>\",\n \"field_schema\": {\n \"default\": null,\n \"items\": null,\n \"properties\": {},\n \"examples\": [\n \"<unknown>\"\n ],\n \"description\": \"<string>\",\n \"enum\": [\n \"<unknown>\"\n ],\n \"required\": false\n },\n \"label\": \"<string>\",\n \"input_type\": \"text\",\n \"placeholder\": \"Enter search terms...\",\n \"helper_text\": \"Describe the aesthetic, outfit, or vibe you're looking for\",\n \"suggestions\": [\n \"streetwear urban\",\n \"clean girl minimal\",\n \"summer haul bright\"\n ],\n \"required\": true,\n \"order\": 0\n }\n ],\n \"exposed_fields\": [\n \"<string>\"\n ],\n \"description\": \"Search through thousands of products\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"icon_base64\": \"data:image/png;base64,iVBORw0KGgoAAAANS...\",\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"markdowns\": [\n {\n \"title\": \"<string>\",\n \"content\": \"<string>\"\n }\n ],\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"components\": {\n \"show_hero\": true,\n \"show_search\": true,\n \"show_filters\": false,\n \"show_results_header\": true,\n \"result_layout\": \"grid\",\n \"result_card\": {\n \"card_click_action\": \"viewDetails\",\n \"card_style\": \"default\",\n \"field_order\": [\n \"title\",\n \"description\",\n \"category\",\n \"created_at\"\n ],\n \"layout\": \"vertical\",\n \"show_find_similar\": true,\n \"show_score\": true,\n \"show_thumbnail\": true,\n \"thumbnail_aspect_ratio\": \"16/9\",\n \"thumbnail_field\": \"image_url\",\n \"thumbnail_fit\": \"cover\",\n \"title_field\": \"title\",\n \"truncate_description\": 120,\n \"truncate_title\": 60\n }\n },\n \"field_config\": {},\n \"custom_cta\": {\n \"label\": \"Search Tips\",\n \"markdown_content\": \"# Search Tips\\n\\n- Use quotes for exact phrases\\n- Filter by date using 'after:2024'\"\n },\n \"external_links\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ],\n \"template_type\": \"portrait-gallery\",\n \"field_mappings\": {\n \"boundingBox\": \"ocr_bbox\",\n \"extractedText\": \"ocr_text\",\n \"thumbnail\": \"page_thumbnail_url\",\n \"title\": \"document_title\"\n },\n \"extensions\": {\n \"show_timestamps\": true,\n \"video_autoplay\": true\n },\n \"retriever_config\": {}\n },\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"password_secret_name\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mixpeek.com/v1/apps/{app_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slug\": \"<string>\",\n \"meta\": {\n \"title\": \"<string>\",\n \"description\": \"Search across 10k+ product images\",\n \"logo_url\": \"https://cdn.example.com/logo.png\",\n \"favicon_url\": \"https://cdn.example.com/favicon.ico\",\n \"indexable\": false\n },\n \"auth_config\": {\n \"mode\": \"public\",\n \"clerk_org_id\": \"<string>\",\n \"clerk_allowed_providers\": [\n \"<string>\"\n ],\n \"password\": \"<string>\",\n \"password_hash\": \"<string>\",\n \"saml_idp_metadata_url\": \"<string>\",\n \"saml_sp_entity_id\": \"<string>\",\n \"saml_acs_url\": \"<string>\",\n \"oidc_issuer\": \"<string>\",\n \"oidc_client_id\": \"<string>\",\n \"oidc_client_secret_name\": \"<string>\",\n \"oidc_scopes\": [\n \"<string>\"\n ],\n \"jwt_jwks_url\": \"<string>\",\n \"jwt_audience\": \"<string>\",\n \"jwt_issuer\": \"<string>\",\n \"api_keys\": [\n {}\n ]\n },\n \"build_config\": {\n \"entry\": \"src/layout.jsx\",\n \"framework\": \"react\",\n \"tailwind\": true,\n \"env_vars\": {},\n \"secrets\": {},\n \"asset_prefix\": \"<string>\"\n },\n \"monitoring_config\": {\n \"enabled\": true,\n \"error_boundary_enabled\": true,\n \"sentry_enabled\": true,\n \"posthog_enabled\": true,\n \"custom_error_message\": \"<string>\",\n \"auto_fix_enabled\": true\n },\n \"is_active\": true,\n \"publish\": false,\n \"template\": \"<string>\",\n \"sections\": [\n {\n \"type\": \"<string>\",\n \"section_id\": \"<string>\",\n \"props\": {},\n \"order\": 123\n }\n ],\n \"custom_html\": \"<string>\",\n \"hero\": {\n \"headline\": \"<string>\",\n \"subheadline\": \"<string>\",\n \"background_type\": \"solid\",\n \"background_url\": \"<string>\",\n \"background_color\": \"<string>\",\n \"text_color\": \"#FFFFFF\",\n \"logo_url\": \"<string>\",\n \"height\": \"420px\",\n \"cta_label\": \"<string>\",\n \"cta_url\": \"<string>\"\n },\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"stats\": [\n {\n \"label\": \"<string>\",\n \"value\": \"<string>\"\n }\n ],\n \"featured_gallery\": {\n \"enabled\": true,\n \"title\": \"Featured\",\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"default_inputs\": {},\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"field_config\": {}\n },\n \"tabs\": [\n {\n \"tab_id\": \"<string>\",\n \"label\": \"<string>\",\n \"display_config\": {\n \"title\": \"<string>\",\n \"inputs\": [\n {\n \"field_name\": \"<string>\",\n \"field_schema\": {\n \"default\": null,\n \"items\": null,\n \"properties\": {},\n \"examples\": [\n \"<unknown>\"\n ],\n \"description\": \"<string>\",\n \"enum\": [\n \"<unknown>\"\n ],\n \"required\": false\n },\n \"label\": \"<string>\",\n \"input_type\": \"text\",\n \"placeholder\": \"Enter search terms...\",\n \"helper_text\": \"Describe the aesthetic, outfit, or vibe you're looking for\",\n \"suggestions\": [\n \"streetwear urban\",\n \"clean girl minimal\",\n \"summer haul bright\"\n ],\n \"required\": true,\n \"order\": 0\n }\n ],\n \"exposed_fields\": [\n \"<string>\"\n ],\n \"description\": \"Search through thousands of products\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"icon_base64\": \"data:image/png;base64,iVBORw0KGgoAAAANS...\",\n \"seo\": {\n \"author\": \"Mixpeek\",\n \"favicon_url\": \"https://example.com/favicon.ico\",\n \"keywords\": [\n \"fitness\",\n \"yoga\",\n \"workout\",\n \"exercise videos\"\n ],\n \"locale\": \"en_US\",\n \"logo_url\": \"https://example.com/logo.png\",\n \"meta_description\": \"Search and discover fitness videos using AI-powered semantic search.\",\n \"meta_title\": \"Fitness Video Search | Mixpeek\",\n \"og_image_alt\": \"Fitness video search interface\",\n \"og_image_url\": \"https://mixpeek-public-pages.s3.amazonaws.com/og.png\",\n \"og_type\": \"website\",\n \"robots\": \"index, follow\",\n \"site_name\": \"Mixpeek\",\n \"structured_data\": {\n \"additional_properties\": {\n \"applicationCategory\": \"Search\"\n },\n \"type\": \"WebApplication\"\n },\n \"twitter_card\": \"summary_large_image\",\n \"twitter_site\": \"@mixpeek\"\n },\n \"markdowns\": [\n {\n \"title\": \"<string>\",\n \"content\": \"<string>\"\n }\n ],\n \"theme\": {\n \"primary_color\": \"#007AFF\",\n \"secondary_color\": \"#FF6B6B\",\n \"font_family\": \"system-ui, -apple-system, sans-serif\",\n \"background_color\": \"#FFFFFF\",\n \"text_color\": \"#374151\",\n \"heading_font_family\": \"Georgia, serif\",\n \"surface_color\": \"#F9FAFB\",\n \"muted_color\": \"#6B7280\",\n \"border_color\": \"#E5E7EB\",\n \"border_radius\": \"8px\",\n \"card_style\": \"elevated\",\n \"card_hover_effect\": \"lift\"\n },\n \"layout\": {\n \"mode\": \"grid\",\n \"columns\": 3,\n \"gap\": \"16px\",\n \"full_width\": false\n },\n \"components\": {\n \"show_hero\": true,\n \"show_search\": true,\n \"show_filters\": false,\n \"show_results_header\": true,\n \"result_layout\": \"grid\",\n \"result_card\": {\n \"card_click_action\": \"viewDetails\",\n \"card_style\": \"default\",\n \"field_order\": [\n \"title\",\n \"description\",\n \"category\",\n \"created_at\"\n ],\n \"layout\": \"vertical\",\n \"show_find_similar\": true,\n \"show_score\": true,\n \"show_thumbnail\": true,\n \"thumbnail_aspect_ratio\": \"16/9\",\n \"thumbnail_field\": \"image_url\",\n \"thumbnail_fit\": \"cover\",\n \"title_field\": \"title\",\n \"truncate_description\": 120,\n \"truncate_title\": 60\n }\n },\n \"field_config\": {},\n \"custom_cta\": {\n \"label\": \"Search Tips\",\n \"markdown_content\": \"# Search Tips\\n\\n- Use quotes for exact phrases\\n- Filter by date using 'after:2024'\"\n },\n \"external_links\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ],\n \"template_type\": \"portrait-gallery\",\n \"field_mappings\": {\n \"boundingBox\": \"ocr_bbox\",\n \"extractedText\": \"ocr_text\",\n \"thumbnail\": \"page_thumbnail_url\",\n \"title\": \"document_title\"\n },\n \"extensions\": {\n \"show_timestamps\": true,\n \"video_autoplay\": true\n },\n \"retriever_config\": {}\n },\n \"retriever_id\": \"<string>\",\n \"public_name\": \"<string>\",\n \"description\": \"<string>\"\n }\n ],\n \"password_secret_name\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"app_id": "<string>",
"slug": "<string>",
"url": "<string>",
"meta": {
"title": "<string>",
"description": "Search across 10k+ product images",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"indexable": false
},
"is_active": true,
"version": 123,
"custom_domains": [
{
"domain": "<string>",
"status": "pending",
"verification_token": "<string>",
"cname_target": "<string>",
"tls_cert_id": "<string>",
"tls_expires_at": "2023-11-07T05:31:56Z",
"verified_at": "2023-11-07T05:31:56Z",
"is_primary": false
}
],
"auth_config": {
"mode": "public",
"clerk_org_id": "<string>",
"clerk_allowed_providers": [
"<string>"
],
"password_hash": "<string>",
"saml_idp_metadata_url": "<string>",
"saml_sp_entity_id": "<string>",
"saml_acs_url": "<string>",
"oidc_issuer": "<string>",
"oidc_client_id": "<string>",
"oidc_client_secret_name": "<string>",
"oidc_scopes": [
"<string>"
],
"jwt_jwks_url": "<string>",
"jwt_audience": "<string>",
"jwt_issuer": "<string>",
"api_keys": [
{}
]
},
"build_config": {
"entry": "src/layout.jsx",
"framework": "react",
"tailwind": true,
"env_vars": {},
"secrets": {},
"asset_prefix": "<string>"
},
"environments": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"template": "<string>",
"sections": [
{
"type": "<string>",
"section_id": "<string>",
"props": {},
"order": 123
}
],
"custom_html": "<string>",
"hero": {
"headline": "<string>",
"subheadline": "<string>",
"background_type": "solid",
"background_url": "<string>",
"background_color": "<string>",
"text_color": "#FFFFFF",
"logo_url": "<string>",
"height": "420px",
"cta_label": "<string>",
"cta_url": "<string>"
},
"theme": {
"primary_color": "#007AFF",
"secondary_color": "#FF6B6B",
"font_family": "system-ui, -apple-system, sans-serif",
"background_color": "#FFFFFF",
"text_color": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"stats": [
{
"label": "<string>",
"value": "<string>"
}
],
"featured_gallery": {
"enabled": true,
"title": "Featured",
"retriever_id": "<string>",
"public_name": "<string>",
"default_inputs": {},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"field_config": {}
},
"tabs": [
{
"tab_id": "<string>",
"label": "<string>",
"display_config": {
"title": "<string>",
"inputs": [
{
"field_name": "<string>",
"field_schema": {
"default": null,
"items": null,
"properties": {},
"examples": [
"<unknown>"
],
"description": "<string>",
"enum": [
"<unknown>"
],
"required": false
},
"label": "<string>",
"input_type": "text",
"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",
"icon_base64": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"seo": {
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": {
"applicationCategory": "Search"
},
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
},
"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": "#374151",
"heading_font_family": "Georgia, serif",
"surface_color": "#F9FAFB",
"muted_color": "#6B7280",
"border_color": "#E5E7EB",
"border_radius": "8px",
"card_style": "elevated",
"card_hover_effect": "lift"
},
"layout": {
"mode": "grid",
"columns": 3,
"gap": "16px",
"full_width": false
},
"components": {
"show_hero": true,
"show_search": true,
"show_filters": false,
"show_results_header": true,
"result_layout": "grid",
"result_card": {
"card_click_action": "viewDetails",
"card_style": "default",
"field_order": [
"title",
"description",
"category",
"created_at"
],
"layout": "vertical",
"show_find_similar": true,
"show_score": true,
"show_thumbnail": true,
"thumbnail_aspect_ratio": "16/9",
"thumbnail_field": "image_url",
"thumbnail_fit": "cover",
"title_field": "title",
"truncate_description": 120,
"truncate_title": 60
}
},
"field_config": {},
"custom_cta": {
"label": "Search Tips",
"markdown_content": "# Search Tips\n\n- Use quotes for exact phrases\n- Filter by date using 'after:2024'"
},
"external_links": [
{
"name": "<string>",
"url": "<string>"
}
],
"template_type": "portrait-gallery",
"field_mappings": {
"boundingBox": "ocr_bbox",
"extractedText": "ocr_text",
"thumbnail": "page_thumbnail_url",
"title": "document_title"
},
"extensions": {
"show_timestamps": true,
"video_autoplay": true
},
"retriever_config": {}
},
"retriever_id": "<string>",
"public_name": "<string>",
"description": "<string>"
}
],
"password_protected": true,
"has_unpublished_changes": false,
"monitoring_config": {
"enabled": true,
"error_boundary_enabled": true,
"sentry_enabled": true,
"posthog_enabled": true,
"custom_error_message": "<string>",
"auto_fix_enabled": true
},
"repo_url": "<string>",
"repo_branch": "<string>",
"github_installation_id": 123,
"versions": [
{
"version": 123,
"s3_version_id": "<string>",
"asset_prefix": "<string>",
"asset_manifest": {},
"asset_manifest_url": "<string>",
"deployed_by": "<string>",
"deployed_at": "2023-11-07T05:31:56Z",
"environment": "production",
"build_duration_ms": 123,
"message": "<string>",
"source_files": {},
"git_commit_sha": "<string>",
"git_commit_message": "<string>",
"git_author": "<string>"
}
]
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"status": 123,
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": {}
},
"success": false
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
App ID (e.g. app_abc123def456)
Body
Request to update an existing App (all fields optional).
For deploy-based apps, typically only auth_config, build_config,
meta, and slug are updated here. Code changes go through the
deploy pipeline.
Legacy page-builder fields are accepted for backward compatibility but deprecated.
3 - 60^[a-z0-9][a-z0-9-]*[a-z0-9]$Page-level metadata (REQUIRED when creating a page).
This object is separate from the optional seo field.
meta controls the visible page chrome (browser tab title, logo, favicon),
while seo controls search-engine tags (og:title, og:description, etc.).
Show child attributes
Show child attributes
End-user authentication configuration for an App.
Supported modes:
public: No authentication required (default)clerk: Managed auth via Clerk Organizations — handles Google, GitHub, email/password signup/login. Each canvas app maps to a Clerk Organization. Users are synced to canvas_users via Clerk webhooks.password: Simple password gate — visitors must enter a password to access the app. The password is hashed (bcrypt) before storage.api_key,jwt,sso_oidc,sso_saml: Advanced modes retained for future use.
Show child attributes
Show child attributes
JSX build configuration for an App.
Phase 1: schema only. Phase 3: used by the build pipeline Celery task.
Show child attributes
Show child attributes
Opt-in monitoring configuration for a Canvas app.
All monitoring is off by default except error_boundary_enabled, which
is a client-side UX safety net (shows fallback UI instead of blank page)
and sends no data externally.
When sentry_enabled or posthog_enabled are turned on, monitoring
data is sent to Mixpeek-internal Sentry/PostHog — never to the
customer's own observability stack. PII is stripped via beforeSend /
mask_all_text, and session replay is always off.
Show child attributes
Show child attributes
When true, applies the update and immediately publishes.
Show child attributes
Show child attributes
Hero section configuration for a page.
Show child attributes
Show child attributes
Theme configuration for public retriever UI.
Defines colors, fonts, and visual styling for the public search interface.
Show child attributes
Show child attributes
SEO configuration for public retriever discoverability.
Auto-generated during publishing with sensible defaults inferred from the retriever's display_config. All fields can be overridden manually.
This configuration controls how the public retriever appears in:
- Search engine results (Google, Bing, etc.)
- Social media shares (Twitter, Facebook, LinkedIn)
- Link previews in messaging apps
Show child attributes
Show child attributes
{
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": { "applicationCategory": "Search" },
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
}
Show child attributes
Show child attributes
Configuration for the featured gallery section.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Updated App configuration
Response model for an App.
Deploy-based apps use versions, environments, build_config,
and auth_config. Legacy page-builder fields (template,
sections, custom_html, hero, theme, seo, stats,
featured_gallery, tabs, password_protected) are included
for backward compatibility but deprecated.
Canonical published URL (https://{slug}.mxp.co)
Page-level metadata (REQUIRED when creating a page).
This object is separate from the optional seo field.
meta controls the visible page chrome (browser tab title, logo, favicon),
while seo controls search-engine tags (og:title, og:description, etc.).
Show child attributes
Show child attributes
Show child attributes
Show child attributes
End-user authentication configuration for an App.
Supported modes:
public: No authentication required (default)clerk: Managed auth via Clerk Organizations — handles Google, GitHub, email/password signup/login. Each canvas app maps to a Clerk Organization. Users are synced to canvas_users via Clerk webhooks.password: Simple password gate — visitors must enter a password to access the app. The password is hashed (bcrypt) before storage.api_key,jwt,sso_oidc,sso_saml: Advanced modes retained for future use.
Show child attributes
Show child attributes
JSX build configuration for an App.
Phase 1: schema only. Phase 3: used by the build pipeline Celery task.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Hero section configuration for a page.
Show child attributes
Show child attributes
Theme configuration for public retriever UI.
Defines colors, fonts, and visual styling for the public search interface.
Show child attributes
Show child attributes
SEO configuration for public retriever discoverability.
Auto-generated during publishing with sensible defaults inferred from the retriever's display_config. All fields can be overridden manually.
This configuration controls how the public retriever appears in:
- Search engine results (Google, Bing, etc.)
- Social media shares (Twitter, Facebook, LinkedIn)
- Link previews in messaging apps
Show child attributes
Show child attributes
{
"author": "Mixpeek",
"favicon_url": "https://example.com/favicon.ico",
"keywords": [
"fitness",
"yoga",
"workout",
"exercise videos"
],
"locale": "en_US",
"logo_url": "https://example.com/logo.png",
"meta_description": "Search and discover fitness videos using AI-powered semantic search.",
"meta_title": "Fitness Video Search | Mixpeek",
"og_image_alt": "Fitness video search interface",
"og_image_url": "https://mixpeek-public-pages.s3.amazonaws.com/og.png",
"og_type": "website",
"robots": "index, follow",
"site_name": "Mixpeek",
"structured_data": {
"additional_properties": { "applicationCategory": "Search" },
"type": "WebApplication"
},
"twitter_card": "summary_large_image",
"twitter_site": "@mixpeek"
}
Show child attributes
Show child attributes
Configuration for the featured gallery section.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Opt-in monitoring configuration for a Canvas app.
All monitoring is off by default except error_boundary_enabled, which
is a client-side UX safety net (shows fallback UI instead of blank page)
and sends no data externally.
When sentry_enabled or posthog_enabled are turned on, monitoring
data is sent to Mixpeek-internal Sentry/PostHog — never to the
customer's own observability stack. PII is stripped via beforeSend /
mask_all_text, and session replay is always off.
Show child attributes
Show child attributes
Deploy version history with timestamps and environment info
Show child attributes
Show child attributes
Was this page helpful?

