v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
Models

Sync model with git

post/api/v1/models/{modelId}/git/sync

Path parameters

modelIdstring uuid required

Model UUID

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

Model UUID

Request body

commitMessagestring

Optional commit message for the git sync operation

Example request

{
  "commitMessage": "Update model schema"
}

Response

Sync status and result (includes inSync=false for conflicts requiring manual resolution)

didSyncboolean required

Whether a sync operation was performed

gitShastring nullable required

The git SHA after the sync operation

inSyncboolean required

Whether the model is currently in sync with git

messagestring required

Human-readable message about the sync status