This method retrieves the status and the results of an async embedding task.
Task statuses:
processing: The platform is creating the embeddings.ready: Processing is complete. Embeddings are available in the response.failed: The task failed. Embeddings were not created.Invoke this method repeatedly until the status field is ready. When status is ready, use the embeddings from the response.
Embeddings are stored for seven days.
The current status of the task.
Values:
processing: The platform is creating the embeddingsready: Processing is complete. Embeddings are available in the data fieldfailed: The task failed. The data field is nullAn object containing the embedding results, or null otherwise.
A string representing the date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the resource was created.
A string representing the date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the resource was last updated.
An object describing why the embedding task failed. Present only when status is failed. Omitted otherwise.
Your API key.
You can find your API key on the API Keys page.