Skip to main content
PATCH
Update a dataset column

Authorizations

Authorization
string
header
required

Workspace API key. Pass as Authorization: Bearer <key>.

Path Parameters

datasetId
string
required

Unique identifier for an entity, between 20 and 80 characters.

Required string length: 20 - 80
columnId
string
required

Unique identifier for an entity, between 20 and 80 characters.

Required string length: 20 - 80

Body

application/json
name
string
Minimum string length: 1
settings
Prompt Column Settings · object

Response

Column updated.

A dataset column, discriminated by type. Static columns have optional empty settings. Prompt columns require promptId. API columns require method + url.

id
string
required

Unique identifier for an entity, between 20 and 80 characters.

Required string length: 20 - 80
name
string
required
type
enum<string>
required
Available options:
static
settings
object
required

Static columns have no configurable settings.

createdAt
integer<int64>
required

Unix timestamp in milliseconds.

Required range: 1672511400000 <= x <= 33229420200000
updatedAt
integer<int64>
required

Unix timestamp in milliseconds.

Required range: 1672511400000 <= x <= 33229420200000