Check out our upcoming events and meetups! View events →
Retrieve tasks for the user that are either queued, processing, failed, success or partial_success based on the query string. Defaults to queued and processing.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const embeddings = await client.ai.embeddings.list();
console.log(embeddings.data);{
"data": [
{
"user_id": "<string>",
"task_id": "<string>",
"task_name": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"bucket": "<string>"
}
]
}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.
List of task statuses i.e. status=queued&status=processing
Successful Response
Show child attributes
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 embeddings = await client.ai.embeddings.list();
console.log(embeddings.data);{
"data": [
{
"user_id": "<string>",
"task_id": "<string>",
"task_name": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"bucket": "<string>"
}
]
}