Get an embedding task's status
GET/ai/embeddings/:task_id
Check the status of a current embedding task. Will be one of the following:
queued
- Task is waiting to be picked up by a workerprocessing
- The embedding task is runningsuccess
- Task completed successfully and the bucket is embeddedfailure
- Task failed and no files were embedded successfullypartial_success
- Some files were embedded successfully, but at least one failed
Request
Path Parameters
task_id Task Idrequired
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/ai/embeddings/:task_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"task_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"task_name": "string",
"status": "queued",
"created_at": "string",
"finished_at": "string"
}
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}