curl https://router.requesty.ai/v1/models/embedding \
-H "Authorization: Bearer YOUR_REQUESTY_API_KEY"
import httpx
response = httpx.get(
"https://router.requesty.ai/v1/models/embedding",
headers={"Authorization": "Bearer YOUR_REQUESTY_API_KEY"},
)
for model in response.json()["data"]:
print(model["id"])
const response = await fetch("https://router.requesty.ai/v1/models/embedding", {
headers: { Authorization: `Bearer ${process.env.REQUESTY_API_KEY}` },
});
const { data } = await response.json();
for (const model of data) {
console.log(model.id);
}
{
"object": "list",
"data": [
{
"api": "embedding",
"id": "vertex/google/gemini-embedding-2-preview",
"object": "model",
"created": 1774621394,
"updated": 1774621394,
"owned_by": "system",
"pricing": {
"input_text": 2e-07,
"input_audio": 6.4e-06,
"input_image": 4.651162791e-07,
"input_video": 1.19696969697e-05,
"input_document": 4.651162791e-07
},
"data_retention": false,
"data_retention_days": 0,
"data_used_for_training": true,
"privacy_comments": "N/A",
"geolocation": "global"
}
]
}
List Embedding Models
Get all available embedding models. If authenticated with a Requesty API key, returns only the models approved for your organization. Otherwise, returns all public models. Aliases and routing policies are chat-only and are never returned here.
GET
/
v1
/
models
/
embedding
curl https://router.requesty.ai/v1/models/embedding \
-H "Authorization: Bearer YOUR_REQUESTY_API_KEY"
import httpx
response = httpx.get(
"https://router.requesty.ai/v1/models/embedding",
headers={"Authorization": "Bearer YOUR_REQUESTY_API_KEY"},
)
for model in response.json()["data"]:
print(model["id"])
const response = await fetch("https://router.requesty.ai/v1/models/embedding", {
headers: { Authorization: `Bearer ${process.env.REQUESTY_API_KEY}` },
});
const { data } = await response.json();
for (const model of data) {
console.log(model.id);
}
{
"object": "list",
"data": [
{
"api": "embedding",
"id": "vertex/google/gemini-embedding-2-preview",
"object": "model",
"created": 1774621394,
"updated": 1774621394,
"owned_by": "system",
"pricing": {
"input_text": 2e-07,
"input_audio": 6.4e-06,
"input_image": 4.651162791e-07,
"input_video": 1.19696969697e-05,
"input_document": 4.651162791e-07
},
"data_retention": false,
"data_retention_days": 0,
"data_used_for_training": true,
"privacy_comments": "N/A",
"geolocation": "global"
}
]
}
curl https://router.requesty.ai/v1/models/embedding \
-H "Authorization: Bearer YOUR_REQUESTY_API_KEY"
import httpx
response = httpx.get(
"https://router.requesty.ai/v1/models/embedding",
headers={"Authorization": "Bearer YOUR_REQUESTY_API_KEY"},
)
for model in response.json()["data"]:
print(model["id"])
const response = await fetch("https://router.requesty.ai/v1/models/embedding", {
headers: { Authorization: `Bearer ${process.env.REQUESTY_API_KEY}` },
});
const { data } = await response.json();
for (const model of data) {
console.log(model.id);
}
{
"object": "list",
"data": [
{
"api": "embedding",
"id": "vertex/google/gemini-embedding-2-preview",
"object": "model",
"created": 1774621394,
"updated": 1774621394,
"owned_by": "system",
"pricing": {
"input_text": 2e-07,
"input_audio": 6.4e-06,
"input_image": 4.651162791e-07,
"input_video": 1.19696969697e-05,
"input_document": 4.651162791e-07
},
"data_retention": false,
"data_retention_days": 0,
"data_used_for_training": true,
"privacy_comments": "N/A",
"geolocation": "global"
}
]
}
/v1/embeddings endpoint.
Aliases and routing policies exist for chat only, so they never appear here.
Authentication
Authentication is optional. The API key can be sent as eitherAuthorization: Bearer YOUR_REQUESTY_API_KEY or X-Api-Key: YOUR_REQUESTY_API_KEY; both headers behave identically.
| Request | Status | Result |
|---|---|---|
No Authorization or X-Api-Key header | 200 | All publicly available models |
| Valid API key | 200 | Only the models approved for your organization and allowed by the key’s access list |
| Invalid, expired or revoked API key | 403 | Invalid authorization token — the request is rejected, not treated as anonymous |
Last modified on September 10, 2026
Was this page helpful?