Skip to main content
GET
/
unstable
/
models
/
{modelId}
/
yaml
Get model YAML
curl --request GET \
  --url https://{instance}.omniapp.co/api/unstable/models/{modelId}/yaml \
  --header 'Authorization: Bearer <token>'
{
  "files": {},
  "version": 123,
  "viewNames": {}
}

Authorizations

Authorization
string
header
required

Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

Model ID

Query Parameters

branchId
string<uuid>

Branch ID

fileName
string

Specific file or regex pattern

mode
enum<string>

YAML mode (extension for extension-only format)

Available options:
extension

Response

Model YAML specification

files
object

Map of file paths to YAML content

version
integer
viewNames
object