import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const bucket = await client.ai.embeddings.buckets.retrieve('bucket_name');
console.log(bucket.data);{
"data": [
{
"filename": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_embedded_at": "2023-11-07T05:31:56Z",
"error_reason": "<string>"
}
]
}Get all embedded files for a given user bucket, including their processing status.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const bucket = await client.ai.embeddings.buckets.retrieve('bucket_name');
console.log(bucket.data);{
"data": [
{
"filename": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_embedded_at": "2023-11-07T05:31:56Z",
"error_reason": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?