-
Semantic Routing
-
Model-Based Routing
curl --location '<public-endpoint>/<base-path>/chat/completions' \
--header 'Content-Type: application/json' \
--header 'client_id: <client-id>' \
--header 'client_secret: <client-secret>' \
--data '{
"messages": [
{ "role": "developer", "content": "You are a helpful assistant" },
{ "role": "user", "content": "Hello, please introduce yourself" }
]
}'
curl --location '<public-endpoint>/<base-path>/chat/completions' \
--header 'Content-Type: application/json' \
--header 'client_id: <client-id>' \
--header 'client_secret: <client-secret>' \
--data '{
"model": "gemini/gemini-3-flash-preview",
"messages": [
{ "role": "developer", "content": "You are a helpful assistant" },
{ "role": "user", "content": "Hello, please introduce yourself" }
]
}'



