API Reference
Replace a domain's evaluation criteria
Saves the criteria new topics start with. Sentiment prompts and existing topics are left untouched; change a topic's criteria to rebuild its competition prompts.
X-API-Key<token>
API Key for programmatic access
In: header
Path Parameters
domainId*string
Domain identifier
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/api/domains/string/evaluation-criteria" \ -H "Content-Type: application/json" \ -d '{ "evaluationCriteria": [ "price", "customer-service", "product-quality" ] }'{ "evaluationCriteria": [ "price", "customer-service", "product-quality" ], "sentimentPromptCount": 3}