Documentation Index
Fetch the complete documentation index at: https://productlasso.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
The unique identifier of the table.
Request body
Array of row IDs to enhance. Must be non-empty.
The column key to enhance.
Instructions for the AI describing what to generate or how to transform the data.
model
string
default:"gemini-pro"
The AI model to use. Defaults to gemini-pro.
Whether the AI can use web search to find additional information.
Target language for translation-based enhancements.
Whether to apply your glossary terms during enhancement.
Response
Enhancement runs asynchronously. The response confirms the job was queued.
Enhancement job identifier.
Number of rows queued for enhancement.
const job = await client.enhance.cells("tbl_abc123", {
row_ids: ["row_1", "row_2", "row_3"],
column_key: "description",
prompt: "Write a compelling product description based on the product name and specifications.",
web_search: true,
});
console.log(job.id); // "enhance_..."
console.log(job.estimated_credits); // 6
{
"id": "enhance_abc123",
"status": "queued",
"estimated_credits": 6,
"rows_queued": 3
}