Help Center

POST /api/ingest

POST /api/ingest

Main endpoint for submitting data to be processed.

Request Body (JSON)

Field Type Required Description
template string Yes Template to use (translate, pdf_extraction, seo_description)
products array Yes Array of objects to process
source_lang string No ISO source language (only for translate)
target_lang string No ISO target language (only for translate)
id_field string No Identifier field (only for translate)
keyword string No SEO keyword (only for seo_description)
pdf_files file[] No PDF files (only for pdf_extraction, multipart)

Response (201 Created)

{
  "message": "Enrichment session created",
  "session_id": 42
}

Errors

  • 422 Unprocessable Entity — Validation failed (missing field or incorrect format)
  • 401 Unauthorized — Missing or invalid API key