👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request POST \ --url https://{instance}.omniapp.co/api/unstable/models/{modelId}/yaml \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "fileName": "<string>", "yaml": "<string>", "mode": "combined", "commitMessage": "<string>" } '
{ "fileName": "<string>", "success": true }
Create or overwrite model YAML files (Beta)
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Model ID
File name (.topic, .view, or special files)
YAML content (empty with mode:extension removes file)
YAML mode
combined
extension
Commit message
YAML file updated successfully
Was this page helpful?