ACE (Agentic Commerce Engine)
API ReferenceEnrichmentPipeline

Run the full enrichment pipeline

POST
/enrichment/pipeline

Generate rules for a product set, then generate the selected content types per product grounded in those rules, and optionally push results back to a connected store. Always returns a durable job (202). Requires the enrichment:write scope.

Authorization

AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/enrichment/pipeline" \  -H "Content-Type: application/json" \  -d '{    "source": {      "type": "inline",      "products": [        {          "id": "string",          "title": "string"        }      ]    }  }'
{  "data": {    "id": "string",    "kind": "rules",    "status": "pending",    "progress": {      "phase": "string",      "completed": 0,      "total": 0    },    "estimateMs": 0,    "productCount": 0,    "succeededCount": 0,    "failedCount": 0,    "storeId": "string",    "createdAt": "2019-08-24T14:15:22Z",    "links": {      "self": "string",      "results": "string"    }  }}
{  "error": {    "code": "INSUFFICIENT_CREDITS",    "message": "Not enough credits for this request.",    "details": null  }}
{  "error": {    "code": "INSUFFICIENT_CREDITS",    "message": "Not enough credits for this request.",    "details": null  }}