v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
Models

Update model YAML

post/api/v1/models/{modelId}/yaml

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000

Model UUID

Request body

branchIdstring uuid

Branch ID for branch-aware operations

fileNamestring required

File name to create or update

mode'combined' | 'extension' | 'staged' | 'merged' | 'fully-resolved'

IDE mode for YAML operations

commitMessagestring

Commit message for git sync

fetchedAtMillisnumber

Timestamp when the file was fetched

fullyResolvedboolean

Treat the posted YAML as fully resolved (with the extends chain expanded). Only valid with mode=combined.

previousChecksumstring

Previous checksum for conflict detection

yamlstring required

YAML content for the file

Response

Model YAML updated

checksumsobject

Checksums for each file

filesobject required

YAML content for each file

versionnumber required

Model version number

viewNamesobject

View name mappings