Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST "https://router.example.com/v1/router/replay/req_9f3a2b/reroute" \ -H "Authorization: Bearer <api-key>"
{ "new_id": "req_7a4e1f", "decision": { "provider": "anthropic", "model": "claude-3-5-sonnet-20241022", "recipe": "semantic-router" }, "response": { "id": "msg_01example", "choices": [ { "index": 0, "message": {"role": "assistant", "content": "Hello again!"}, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 10, "completion_tokens": 8, "total_tokens": 18 } } }
按当前路由配置重放一次捕获到的咏唱引擎 ROUTER 请求,对比决策与响应。
POST /v1/router/replay/{id}/reroute
Authorization: Bearer <api-key>
Show 属性
Was this page helpful?