Obohacení produktů
Dohledávejte cílová pole v částečných produktových záznamech. Pole může zůstat beze změny, pokud Lasso hodnotu nezjistí.
Poznámky k použití
- Odešlete buď
schema_id, nebocolumns, nikdy obojí. Když vynecháte obě pole, Lasso použije výchozí Product Schema. - Požadavek může obsahovat nejvýše 50 produktů. Pro synchronní odpověď odešlete 1 až 5 produktů. Pro 6 až 50 produktů musíte zadat
webhook_url, protože veřejný endpoint pro načtení výsledku Enrich úlohy neexistuje. thinkingstojí 4 kredity za produkt prohard, 2 promediuma 1 prolow.- S
web_search: falseLasso používá znalosti modelu a v polibasisnevrací citace. - Pole
contextpoužijte pro pokyny, které platí pro všechny položky požadavku. modelje zastaralé kompatibilní pole. Služba ho ignoruje; úroveňthinkingvybírá modelový tier řízený službou.- Při nedostatku kreditů synchronní režim aktuálně vrátí HTTP
200serror: "Insufficient credits", bez obohacených položek a scredits_used: 0.
Příklady
Autorizace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Tělo
Send at most 5 items for a synchronous response. Requests with 6 to 50 items require webhook_url to make the completed result retrievable.
1 - 50 elementsID of an existing schema. Mutually exclusive with columns.
Inline column definitions. Mutually exclusive with schema_id.
Additional context for the AI enrichment
Legacy compatibility field. The service ignores the requested value; thinking selects the service-controlled model tier.
Whether to use web search for enrichment. When false, the AI fills fields from its own knowledge and no basis/citations are returned.
Controls the depth of AI reasoning. hard — most capable model, best for complex or ambiguous products. medium — balanced speed and quality (default). low — fastest, suitable for straightforward lookups.
hard, medium, low Delivers results asynchronously and returns 202. Required for 6 to 50 items because there is no public Enrich job-result endpoint.
Odpověď
Enrichment results for 1 to 5 items in synchronous mode. A request-wide failure such as insufficient credits can currently appear as an error field in this HTTP 200 response.

