API referenceask
Taste-personalized natural language answer
Returns a direct natural language answer personalized to the taste profile of the specified entity. Acts as a self-personalizing LLM replacement. Best for discovery and commerce use cases. OpenAI-compatible response schema (openresponses) — full compatibility is planned.
Authorization
ApiKeyAuth X-API-Key<token>
In: header
Query Parameters
relative_to_entity_id*string
The entity whose taste profile personalizes the answer.
in_terms_of_entity_type*string
The entity type context for affinity.
Value in
"content" | "place" | "brand" | "user" | "website" | "file"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
query*string
Natural language query from the user.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/ask?relative_to_entity_id=string&in_terms_of_entity_type=content" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'{
"answer": {}
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}