Endpoint
Authentication
Authenticate with a session cookie or passAuthorization: Bearer <api-key>.
Response
array
List of replayable requests.
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
}
]
}
List captured router requests available for replay in the Aria Compute ROUTER. Filters by entrypoint, model, status, and time.
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?