Appearance
Example: Cost Optimization
Use routing policies to minimize cost while keeping performance acceptable.
Example request
bash
curl https://app.veriprompt.tech/api/gateway/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": "Summarize 3 bullet points.",
"routingPolicy": {
"strategy": "cost_optimized",
"maxLatencyMs": 4000
}
}'Tips
- Use cost-optimized policies for low-risk tasks.
- Run synthetic tests to confirm output quality.
