v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBModel Git configuration
Sync model with Git repository
Trigger a sync operation between the model and its configured Git repository.
This will pull the latest changes from the repository and apply them to the model.
post/v1/models/{modelId}/git/sync
Path parameters
modelIdstring uuid required
The unique identifier of the shared model.
Request body
Example request
{
"commitMessage": "Updated model configuration"
}Response
Sync operation completed successfully
Example response
{
"didSync": true,
"gitSha": "abc123def456",
"inSync": true,
"message": "Model synced successfully"
}