接口
认证
使用会话 Cookie 认证,或携带Authorization: Bearer <api-key>。
响应
array
可重放请求列表。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET "https://router.example.com/v1/router/replay" \
-H "Authorization: Bearer <api-key>"
{
"items": [
{
"id": "req_9f3a2b",
"entrypoint": "default-chat",
"model": "gpt-4o",
"timestamp": "2024-06-15T14:23:10Z",
"status": 200
},
{
"id": "req_8e1c4d",
"entrypoint": "agent-chat",
"model": "claude-3-5-sonnet-20241022",
"timestamp": "2024-06-15T14:25:44Z",
"status": 200
}
]
}
列出咏唱引擎 ROUTER 中可供重放的已捕获请求。按入口点、模型、状态与时间筛选。
curl -X GET "https://router.example.com/v1/router/replay" \
-H "Authorization: Bearer <api-key>"
{
"items": [
{
"id": "req_9f3a2b",
"entrypoint": "default-chat",
"model": "gpt-4o",
"timestamp": "2024-06-15T14:23:10Z",
"status": 200
},
{
"id": "req_8e1c4d",
"entrypoint": "agent-chat",
"model": "claude-3-5-sonnet-20241022",
"timestamp": "2024-06-15T14:25:44Z",
"status": 200
}
]
}
GET /v1/router/replay
Authorization: Bearer <api-key>。
curl -X GET "https://router.example.com/v1/router/replay" \
-H "Authorization: Bearer <api-key>"
{
"items": [
{
"id": "req_9f3a2b",
"entrypoint": "default-chat",
"model": "gpt-4o",
"timestamp": "2024-06-15T14:23:10Z",
"status": 200
},
{
"id": "req_8e1c4d",
"entrypoint": "agent-chat",
"model": "claude-3-5-sonnet-20241022",
"timestamp": "2024-06-15T14:25:44Z",
"status": 200
}
]
}
Was this page helpful?