Check out our upcoming events and meetups! View events →
Returns a list of available embedding models. This endpoint is compatible with the OpenAI Models API format.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.ai.openai.embeddings.listEmbeddingModels();
console.log(response.data);{
"object": "list",
"data": [
{
"id": "thenlper/gte-large",
"object": "model",
"created": 123,
"owned_by": "telnyx"
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.ai.openai.embeddings.listEmbeddingModels();
console.log(response.data);{
"object": "list",
"data": [
{
"id": "thenlper/gte-large",
"object": "model",
"created": 123,
"owned_by": "telnyx"
}
]
}