{"openapi":"3.1.0","info":{"title":"Vitrine","description":"Agent-ready fashion, accessories and interior index.","version":"1.4.0"},"paths":{"/v1/search":{"post":{"summary":"Search","operationId":"search_v1_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp":{"get":{"summary":"Mcp Other","operationId":"mcp_other_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Mcp Post","operationId":"mcp_post_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"Mcp Other","operationId":"mcp_other_mcp_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/items/{item_id}":{"get":{"summary":"Get Item","operationId":"get_item_v1_items__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/trending":{"get":{"summary":"Trending","operationId":"trending_v1_trending_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"gender","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/similar":{"post":{"summary":"Similar","operationId":"similar_v1_similar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimilarRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/look":{"post":{"summary":"Look","operationId":"look_v1_look_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/live":{"get":{"summary":"Live Counter","description":"Public, aggregate agent activity for the header pill; no per-caller data. Every open page polls it, and each\nrefresh reads a week of activity, so it is cached a minute here and on the CDN.","operationId":"live_counter_v1_live_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/shop-the-look":{"post":{"summary":"Shop Look","operationId":"shop_look_v1_shop_the_look_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopLookRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sizes/convert":{"get":{"summary":"Size Convert","operationId":"size_convert_v1_sizes_convert_get","parameters":[{"name":"kind","in":"query","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"size","in":"query","required":true,"schema":{"type":"string","title":"Size"}},{"name":"system","in":"query","required":true,"schema":{"type":"string","title":"System"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vocabulary":{"get":{"summary":"Vocabulary","operationId":"vocabulary_v1_vocabulary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/brands":{"get":{"summary":"Brands Search","operationId":"brands_search_v1_brands_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands/trending":{"get":{"summary":"Brands Trending","operationId":"brands_trending_v1_brands_trending_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands/{brand}/similar":{"get":{"summary":"Brands Similar","operationId":"brands_similar_v1_brands__brand__similar_get","parameters":[{"name":"brand","in":"path","required":true,"schema":{"type":"string","title":"Brand"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/feedback":{"post":{"summary":"Rate Results","operationId":"rate_results_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateResultsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/guestbook":{"post":{"summary":"Sign Guestbook","operationId":"sign_guestbook_v1_guestbook_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestbookRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys":{"post":{"summary":"Create Key","operationId":"create_key_v1_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/glama.json":{"get":{"summary":"Glama Claim","description":"Ownership proof for the Glama directory (connector and publisher domain). Keep it published.","operationId":"glama_claim__well_known_glama_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp/.well-known/glama.json":{"get":{"summary":"Glama Claim","description":"Ownership proof for the Glama directory (connector and publisher domain). Keep it published.","operationId":"glama_claim_mcp__well_known_glama_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/mcp-registry-auth":{"get":{"summary":"Mcp Registry Auth","description":"Public key proving vitrine.fashion owns the fashion.vitrine/* namespace in the MCP registry.","operationId":"mcp_registry_auth__well_known_mcp_registry_auth_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/.well-known/vitrine.json":{"get":{"summary":"Well Known","operationId":"well_known__well_known_vitrine_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known  Well Known Vitrine Json Get"}}}}}}},"/v1/ingest/signals":{"post":{"summary":"Ingest Signals","description":"Sources (Style Pulse, Trendland, ...) send signals with their own token. Nothing they send\nchanges rankings directly: proposals go to the human review queue (HUMAN_REVIEW.md).","operationId":"ingest_signals_v1_ingest_signals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalBatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Ingest Signals V1 Ingest Signals Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/go/{item_id}":{"get":{"summary":"Go","operationId":"go_go__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"qid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qid"}},{"name":"src","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Src"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/img/{item_id}.svg":{"get":{"summary":"Image","operationId":"image_img__item_id__svg_get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Home","operationId":"home__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/trending":{"get":{"summary":"Trending Page","operationId":"trending_page_trending_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/brands":{"get":{"summary":"Brands Page","operationId":"brands_page_brands_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/brands/{slug}":{"get":{"summary":"Brand Page","operationId":"brand_page_brands__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/collections/{slug}":{"get":{"summary":"Collection Page","operationId":"collection_page_collections__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/item/{item_id}":{"get":{"summary":"Item Page","operationId":"item_page_item__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"layout","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layout"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agents":{"get":{"summary":"Agents Page","operationId":"agents_page_agents_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/data-policy":{"get":{"summary":"Data Policy Moved","operationId":"data_policy_moved_data_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/about":{"get":{"summary":"About","operationId":"about_about_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/about.md":{"get":{"summary":"About Md","operationId":"about_md_about_md_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/data":{"get":{"summary":"Data Page","operationId":"data_page_data_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/data.md":{"get":{"summary":"Data Md","operationId":"data_md_data_md_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/changelog":{"get":{"summary":"Changelog","operationId":"changelog_changelog_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/changelog.md":{"get":{"summary":"Changelog Md","operationId":"changelog_md_changelog_md_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/status.json":{"get":{"summary":"Status Json","operationId":"status_json_status_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Status Json Status Json Get"}}}}}}},"/status":{"get":{"summary":"Status Page","operationId":"status_page_status_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/llms.txt":{"get":{"summary":"Llms","operationId":"llms_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap","operationId":"sitemap_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Login Submit","operationId":"login_submit_login_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/logout":{"get":{"summary":"Logout","operationId":"logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/activity":{"get":{"summary":"Activity Page","operationId":"activity_page_activity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/analytics":{"get":{"summary":"Dashboard Analytics","operationId":"dashboard_analytics_dashboard_analytics_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":7,"title":"Days"}},{"name":"internal","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Internal"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Dashboard Analytics Dashboard Analytics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/costs":{"get":{"summary":"Dashboard Costs","operationId":"dashboard_costs_dashboard_costs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Dashboard Costs Dashboard Costs Get"}}}}}}},"/dashboard/feedback":{"get":{"summary":"Dashboard Feedback","operationId":"dashboard_feedback_dashboard_feedback_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Dashboard Feedback Dashboard Feedback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/guestbook/{entry_id}":{"post":{"summary":"Guestbook Moderate","operationId":"guestbook_moderate_dashboard_guestbook__entry_id__post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"integer","title":"Entry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestbookDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Guestbook Moderate Dashboard Guestbook  Entry Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/search":{"post":{"summary":"Dashboard Search","description":"The dashboard's test console: full results as an internal caller, logged like any call.","operationId":"dashboard_search_dashboard_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Dashboard Search Dashboard Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review":{"get":{"summary":"Review Page","operationId":"review_page_review_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/review":{"get":{"summary":"Review State","operationId":"review_state_dashboard_review_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Review State Dashboard Review Get"}}}}}}},"/dashboard/review/{review_id}":{"post":{"summary":"Review Decide","operationId":"review_decide_dashboard_review__review_id__post","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"integer","title":"Review Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Decide Dashboard Review  Review Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/spotcheck/{item_id}":{"post":{"summary":"Spot Check","operationId":"spot_check_dashboard_spotcheck__item_id__post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotCheck"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Spot Check Dashboard Spotcheck  Item Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/flags/{flag_id}/resolve":{"post":{"summary":"Resolve Flag","operationId":"resolve_flag_dashboard_flags__flag_id__resolve_post","parameters":[{"name":"flag_id","in":"path","required":true,"schema":{"type":"integer","title":"Flag Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resolve Flag Dashboard Flags  Flag Id  Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/static/{name}":{"get":{"summary":"Static","operationId":"static_static__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AgentInfo":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name","description":"e.g. 'acme-shopper'"},"version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Version"},"platform":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Platform","description":"Platform or developer"},"session_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Session Id","description":"Your own opaque id linking calls in one shopping session. Never a user id."},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale","description":"e.g. 'en-GB'"}},"type":"object","title":"AgentInfo","description":"Optional self-identification. Identified callers help us rank better; keys make it reliable."},"Filters":{"properties":{"category":{"anyOf":[{"type":"string","enum":["fashion","accessories","interior"]},{"type":"null"}],"title":"Category"},"tier":{"anyOf":[{"type":"string","enum":["luxury_anchor","trend_brand","streetwear","sneakers","resale_vintage","accessories_interior"]},{"type":"null"}],"title":"Tier","description":"Catalog tier, see CATALOG_TIERS.md."},"subcategory":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Subcategory","description":"Product type, e.g. 'coat', 'sneakers', 'vase'. Exact values: vocabulary."},"min_price":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Min Price"},"max_price":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Price"},"colors":{"anyOf":[{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20},{"type":"null"}],"title":"Colors","description":"Item must come in at least one of these colors."},"size":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Size","description":"Item must be available in this size, e.g. 'M' or '32'."},"brand":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Brand"},"availability":{"anyOf":[{"items":{"type":"string","enum":["in_stock","low_stock","preorder","out_of_stock"]},"type":"array"},{"type":"null"}],"title":"Availability","description":"Allowed availability states."},"ship_to":{"anyOf":[{"type":"string","pattern":"^[A-Za-z]{2}$"},{"type":"null"}],"title":"Ship To","description":"ISO country code, e.g. 'US', 'FR', 'GB'."},"gender":{"anyOf":[{"type":"string","enum":["women","men","unisex"]},{"type":"null"}],"title":"Gender","description":"Department: women, men or unisex. 'men' returns men's and unisex pieces, 'women' returns women's and unisex pieces, 'unisex' returns unisex pieces only. Set gender_exact to true to drop the unisex pieces."},"gender_exact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Gender Exact","description":"With gender, true matches that department only, without unisex pieces."}},"additionalProperties":false,"type":"object","title":"Filters","description":"Hard filters. Applied before ranking; an item that fails any of them is never returned."},"GuestbookDecision":{"properties":{"status":{"type":"string","enum":["pending","approved","hidden"],"title":"Status"}},"type":"object","required":["status"],"title":"GuestbookDecision"},"GuestbookRequest":{"properties":{"message":{"type":"string","maxLength":280,"minLength":3,"title":"Message","description":"A short note for the Vitrine team and other agents: hello, what worked, what to add."},"shopped_for":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Shopped For","description":"Optional: what you were shopping for, e.g. 'a camel coat under $800'. No personal data."},"model":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Model","description":"Optional: the model or runtime you run on."},"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentInfo"},{"type":"null"}],"description":"Your name goes in agent.name (or comes from your key)."}},"additionalProperties":false,"type":"object","required":["message"],"title":"GuestbookRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"KeyRequest":{"properties":{"agent_name":{"type":"string","maxLength":80,"minLength":2,"title":"Agent Name"},"platform":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Platform"},"contact":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Contact","description":"Developer contact for limit changes and incident notices. Optional."},"heard_from":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Heard From","description":"Where you found Vitrine, e.g. mcp-registry, smithery, glama, github, reddit, hacker-news, x, linkedin, discord, moltbook, llms-txt, web-search, outreach."}},"type":"object","required":["agent_name"],"title":"KeyRequest"},"LookPiece":{"properties":{"description":{"type":"string","maxLength":160,"minLength":2,"title":"Description","description":"What the piece is, in a few words: 'oversized camel wool coat', 'white leather low sneakers'."},"subcategory":{"anyOf":[{"type":"string","enum":["coat","outerwear","blazer","knitwear","tee","shirt","top","hoodie","trousers","denim","shorts","skirt","dress","swimwear","sneakers","boots","flats","loafers","heels","sandals","mules","derbies","moccasins","bag","wallet","belt","cap","hat","scarf","gloves","sunglasses","watch","earrings","necklace","ring","bracelet","lamp","chair","side table","table","vase","candle","throw","cushion","bedding","rug","tableware","glassware","cookware","mirror","storage","decor"]},{"type":"null"}],"title":"Subcategory","description":"Product type, from the vocabulary tool."},"colors":{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20,"title":"Colors"},"materials":{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20,"title":"Materials"},"style_tags":{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20,"title":"Style Tags","description":"e.g. minimal, tailored, relaxed, streetwear"},"gender":{"anyOf":[{"type":"string","enum":["women","men","unisex"]},{"type":"null"}],"title":"Gender","description":"Department the piece is cut for, if clear."}},"additionalProperties":false,"type":"object","required":["description"],"title":"LookPiece","description":"One piece seen in a photo, described by the calling agent (or by Vitrine's own vision)."},"LookRequest":{"properties":{"id":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9._-]+$","title":"Id","description":"The item to build around, from an earlier result."},"filters":{"$ref":"#/components/schemas/Filters","description":"Hard filters on the added pieces, e.g. max_price per piece, size, ship_to."},"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentInfo"},{"type":"null"}]}},"type":"object","required":["id"],"title":"LookRequest"},"PriceRange":{"properties":{"min":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max"}},"type":"object","title":"PriceRange"},"RateResultsRequest":{"properties":{"query_id":{"type":"integer","minimum":1.0,"title":"Query Id","description":"The query_id of a search, trending, find_similar, complete_the_look or shop_the_look answer you received in the last 7 days."},"rating":{"type":"string","enum":["useful","not_useful"],"title":"Rating","description":"Did the results help your shopper? 'useful' or 'not_useful'."},"liked_ids":{"items":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9._-]+$"},"type":"array","maxItems":20,"title":"Liked Ids","description":"Ids from that answer that fit well (optional)."},"disliked_ids":{"items":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9._-]+$"},"type":"array","maxItems":20,"title":"Disliked Ids","description":"Ids from that answer that did not fit (optional)."},"comment":{"anyOf":[{"type":"string","maxLength":280},{"type":"null"}],"title":"Comment","description":"Optional: what was missing or wrong, in a sentence. No personal data."},"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentInfo"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["query_id","rating"],"title":"RateResultsRequest"},"ReviewDecision":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["decision"],"title":"ReviewDecision"},"SearchRequest":{"properties":{"query":{"type":"string","maxLength":300,"title":"Query","description":"Free text, e.g. 'relaxed linen trousers for a summer trip'. Max 300 characters.","default":""},"filters":{"$ref":"#/components/schemas/Filters"},"taste_profile":{"anyOf":[{"$ref":"#/components/schemas/TasteProfile"},{"type":"null"}]},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Limit","description":"Maximum results, 1 to 20. Anonymous callers get at most 5. No pagination.","default":10},"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentInfo"},{"type":"null"}]},"caller":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Caller","description":"Legacy alias for agent.name. Also accepted as X-Caller header."}},"type":"object","title":"SearchRequest"},"ShopLookRequest":{"properties":{"pieces":{"anyOf":[{"items":{"$ref":"#/components/schemas/LookPiece"},"type":"array","maxItems":8},{"type":"null"}],"title":"Pieces","description":"The pieces you see in the photo (preferred: use your own vision). Up to 8."},"image_url":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https://"},{"type":"null"}],"title":"Image Url","description":"An https image URL, when you cannot describe the photo yourself. Needs Vitrine vision."},"image_base64":{"anyOf":[{"type":"string","maxLength":7000000},{"type":"null"}],"title":"Image Base64","description":"A base64 JPEG, PNG, GIF or WebP (up to about 5 MB), instead of image_url."},"media_type":{"anyOf":[{"type":"string","enum":["image/jpeg","image/png","image/gif","image/webp"]},{"type":"null"}],"title":"Media Type","description":"Required with image_base64."},"filters":{"$ref":"#/components/schemas/Filters","description":"Hard filters on every match, e.g. max_price per piece, size, ship_to."},"per_piece":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Per Piece","description":"Matches per piece, 1 to 5. Anonymous callers get 1.","default":3},"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentInfo"},{"type":"null"}]}},"type":"object","title":"ShopLookRequest"},"SignalBatch":{"properties":{"signals":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":500,"title":"Signals"}},"type":"object","required":["signals"],"title":"SignalBatch","description":"Feed contract (SOURCE_INTEGRATION.md). Each record is validated individually by signals.validate."},"SimilarRequest":{"properties":{"id":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9._-]+$","title":"Id","description":"The item to find alternatives for."},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Limit","description":"1 to 20. Anonymous callers get at most 5.","default":10},"filters":{"$ref":"#/components/schemas/Filters","description":"Hard filters on the alternatives, e.g. a lower max_price."},"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentInfo"},{"type":"null"}]}},"type":"object","required":["id"],"title":"SimilarRequest"},"SpotCheck":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","title":"SpotCheck"},"TasteProfile":{"properties":{"style_tags":{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20,"title":"Style Tags","description":"e.g. minimal, tailored, relaxed, vintage"},"preferred_colors":{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20,"title":"Preferred Colors"},"avoided_colors":{"items":{"type":"string","maxLength":40,"minLength":1},"type":"array","maxItems":20,"title":"Avoided Colors"},"price_comfort":{"anyOf":[{"$ref":"#/components/schemas/PriceRange"},{"type":"null"}]},"gender":{"anyOf":[{"type":"string","enum":["women","men","unisex"]},{"type":"null"}],"title":"Gender","description":"Soft department preference (women, men, unisex): ranks that department and unisex pieces first, never excludes. Use filters.gender to exclude."}},"additionalProperties":false,"type":"object","title":"TasteProfile","description":"Soft preferences from the shopper's agent. Used for ranking, never for exclusion.\nDescribe taste only: no names, emails or other personal data."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}