Skip to main content
POST
/
v1
/
tables
/
{table_id}
/
enhance
/
bulk
const job = await client.enhance.bulk("tbl_abc123", {
  row_id: "row_xyz789",
  columns: [
    { key: "description", prompt: "Write a product description." },
    { key: "seo_title", prompt: "Generate an SEO-optimized title.", web_search: true },
    { key: "description_de", prompt: "Translate the description to German." },
  ],
});
{
  "id": "enhance_abc123",
  "status": "queued",
  "estimated_credits": 1.5,
  "rows_queued": 1
}

Path parameters

table_id
string
required
The unique identifier of the table.

Request body

row_id
string
required
The row ID to enhance.
columns
array
required
Array of column enhancement configurations. Must be non-empty.

Response

id
string
Enhancement job identifier.
status
string
Always queued.
estimated_credits
number
Estimated credit cost.
rows_queued
integer
Always 1.
const job = await client.enhance.bulk("tbl_abc123", {
  row_id: "row_xyz789",
  columns: [
    { key: "description", prompt: "Write a product description." },
    { key: "seo_title", prompt: "Generate an SEO-optimized title.", web_search: true },
    { key: "description_de", prompt: "Translate the description to German." },
  ],
});
{
  "id": "enhance_abc123",
  "status": "queued",
  "estimated_credits": 1.5,
  "rows_queued": 1
}