Replace a spec with a new version specified using YAML
include_versions=true on the GET endpoint.spec: section of the YAML is editable - the metadata: section is read-only and ignored if included.API Key authentication. Format: "Bearer YOUR_API_KEY"
UUID of the spec
Complete YAML spec configuration replacing its previous version in the spec. The YAML should have a 'spec' root key containing one or more editable fields: description, requirements, data_property_variations, selected_sql_schema_column, selected_sql_query_columns. To check the expected spec YAML format, check the YAML section in spec view in the UI, or look at YAML returned by the Get spec API endpoint. If a 'metadata' section is present, it is ignored (read-only).
New spec version created and returned
Unique identifier for the spec
Spec name
Description of the spec's purpose (optional, for data organization purposes only)
Current status of the spec
PROCESSING, SUCCEEDED, FAILED Timestamp when the spec was created
Timestamp when the spec was last modified
ID of the seed dataset. Null for seedless specs.
Name of the seed dataset. Null for seedless specs.
Email of the user who created this spec
Parameters used during spec generation (model name, distribution settings, etc.)
All versions of this spec. Only included when include_versions=true. Empty when status is PROCESSING or FAILED.
The YAML content from the latest version of this spec. Null when status is PROCESSING or FAILED.
Error message when status is FAILED. Null otherwise.