Skip to main content
POST
UpdateDatasetSchemaAPI updates a dataset's schema (add/remove/rename columns,

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Path Parameters

datasetSlug
string
required

Body

application/json
class
string

(analysis by-product, hidden from listings by default). Omit to leave the class unchanged. Use this to promote a durable table that was mistakenly filed as scratch, or to demote one. A class-only update needs no operations.

dataset_slug
string
operations
UpdateSchemaOperation describes a single schema modification. · object[]

Response

Success response

class
string

'scratch'; empty for an unclassified legacy row left unchanged).

columns_added
integer<int64>
columns_removed
integer<int64>
columns_renamed
integer<int64>
columns_retyped
integer<int64>
current_columns
string[]