Appearance
Search content
POST
/search/{collection}
AI-powered semantic search with natural language query parsing, automatic filters, sorting, suggestions, and clarifying questions.
How it works:
- AI parses your query — extracts clean search terms, filters, and sort order
- Finds the most relevant results using semantic matching
- Falls back to broader language search if needed
- Drops irrelevant results below quality threshold
- Re-sorts by price or rating when detected in query
- Suggests alternatives if no results found
- Asks clarifying questions for ambiguous queries
Authorizations
apiKey
API key in sk_live_* format. Get yours from the dashboard at my.app-in.io.
Type
API Key (header: X-API-Key)
Parameters
Header Parameters
X-Platform
Platform type. Defaults automatically based on collection. Set to woocommerce when searching WooCommerce products. Set to shopify when searching Shopify products.
Type
string
Valid values
"product""page""doc""woocommerce""shopify"Path Parameters
collection*
Content collection to search
Type
Requiredstring
Valid values
"products""pages""docs"Request Body
application/json
JSON "query": "red shoes", "limit": 10
{
}
Responses
Search results
application/json
JSON "query": "string", "collection": "products", "results": [ { "id": "string", "url": "string", "title": "string", "snippet": "string", "type": "string" } ], "parsed_query": "string", "parsed_filters": { }, "sort_by": "string", "low_confidence": true, "corrected_query": "string", "market": { "country": "CH", "localized": true }, "suggestion": { "message": "string", "cheapest": { "title": "string", "price": 0, "currency": "string" }, "alternatives": [ { "id": "string", "url": "string", "title": "string", "snippet": "string", "score": 0, "type": "string", "payload": { } } ] }, "clarifications": { "question": "string", "facets": [ { "field": "string", "label": "string", "options": [ "string" ] } ] }
{
}