Skip to main content

Get Tasks by Status

GET 
/ai/embeddings

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.

Request

Query Parameters

    status string[]

    List of task statuses i.e. status=queued&status=processing

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L 'https://api.telnyx.com/v2/ai/embeddings' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"user_id": "string",
"task_id": "string",
"task_name": "string",
"status": "queued",
"created_at": "2024-07-29T15:51:28.071Z",
"finished_at": "2024-07-29T15:51:28.071Z",
"bucket": "string"
}
]
}