Skip to main content

Updating Route


curl -X PUT -H "Content-Type: application/json" -H "x-api-key: $JAVELIN_API_KEY" -d '{
"name": "test_route_1",
"type": "chat",
"models": [
{
"name": "gpt-4",
"provider": "openai",
"suffix": "/chat/completions"
}
],
"config": {
"rate_limit": 3,
"retries": 5
}
}' "https://api-dev.javelin.live/v1/admin/routes/test_route_1"