Skip to main content
PATCH
Update Column
Update a column’s title, config, or dependencies. When the change invalidates existing cell values (e.g., the prompt template or code changes), the response includes requires_recalculation: true and the list of affected_column_ids. When the update changes column metadata or configuration, PromptLayer creates a new sheet version and returns version.

Authorizations

X-API-KEY
string
header
required

Path Parameters

table_id
string<uuid>
required
sheet_id
string<uuid>
required
column_id
string<uuid>
required

Body

application/json
title
string | null
config
object | null
dependencies
object[] | null

Response

Column updated

success
boolean
column
object

A column within a Table sheet.

requires_recalculation
boolean
affected_column_ids
string<uuid>[]
version
integer

Current sheet version_count for this response. It matches the sheet's version_count after any committed changes.