Retrieve task status and results
This method retrieves the status and the results of an async embedding task.
Invoke this method repeatedly until the status field is ready or failed. When the status is ready, use the embeddings from the response. When the status is failed, the error.message field contains the reason.
Embeddings are stored for seven days.
Authentication
Your API key.
You can find your API key on the API Keys page.
Path parameters
Response
The current status of the task.
Values:
processing: The platform is creating the embeddingsready: Processing is complete. Embeddings are available in thedatafieldfailed: The task failed. Thedatafield isnull, and theerror.messagefield contains the reason
An 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.