Vyhledávání produktů
Vyhledávejte produkty na webu a strukturujte výsledky podle svého schématu.
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. max_resultspřijímá hodnoty1až7a výchozí hodnota je7.- Jedno vyhledávání stojí 5 kreditů bez ohledu na počet vrácených produktů.
- Bez
webhook_urlpožadavek čeká na odpověď200. Swebhook_urlLasso vrátí202a dokončený výsledek odešle na vaši URL. modelje zastaralé kompatibilní pole. Služba jeho hodnotu ignoruje a používá nakonfigurovaný Gemini provider.- Při nedostatku kreditů synchronní režim aktuálně vrátí HTTP
200serror: "Insufficient credits", prázdným polemresultsacredits_used: 0.
query, například Sony sluchátka do 5 000 Kč s nabíjením USB-C.
Příklady
Autorizace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Tělo
Natural language search objective
ID of an existing schema. Mutually exclusive with columns.
Inline column definitions. Mutually exclusive with schema_id.
1 <= x <= 7Legacy compatibility field. The service ignores the requested value and uses its configured Gemini provider.
If provided, results are delivered via webhook and 202 is returned immediately.
Odpověď
Search results in synchronous mode. Worker failures such as insufficient credits can currently appear as an error field in this HTTP 200 response.
completed Present when the worker could not complete the search, including insufficient-credit outcomes. The current synchronous handler can still return this payload with HTTP 200.

