import HenrySDK from '@henrylabs/sdk';const client = new HenrySDK({ apiKey: process.env['HENRY_SDK_API_KEY'], // This is the default and can be omitted});const response = await client.products.enrich.retrieveStatus( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',);console.log(response.createdAt);
! This endpoint is experimental and unstable. The API contract may change without notice.
Poll the status of a product enrichment request.
GET
/
products
/
enrich
/
{id}
JavaScript
Copy
import HenrySDK from '@henrylabs/sdk';const client = new HenrySDK({ apiKey: process.env['HENRY_SDK_API_KEY'], // This is the default and can be omitted});const response = await client.products.enrich.retrieveStatus( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',);console.log(response.createdAt);