Products
Generate artifacts for multiple products
Authorization
ApiKey AuthorizationBearer <token>
In: header
Request Body
application/json
model?string
productIds?array<>
Response Body
application/json
application/json
curl -X POST "https://api.trainfog.com/developers/v1.0/products/artifacts" \ -H "Content-Type: application/json" \ -d '{}'{
"ok": true
}{
"error": "Unauthorized"
}Create a new product POST
Create a new product into catalog. The workspace ID is automatically inherited from the API request context.
Generate product artifacts POST
This endpoint triggers Trainfog's AI processing engine to generate and elaborate comprehensive artifacts (descriptions, SEO copy, etc.) for a specified product.