v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBModels
Get git configuration
get/api/v1/models/{modelId}/git
Path parameters
modelIdstring uuid required
Model UUID
Example:123e4567-e89b-12d3-a456-426614174000
Model UUID
Query parameters
includestring
Comma-separated list of optional fields to include. Supported: "webhookSecret"
Example:webhookSecret
Comma-separated list of optional fields to include. Supported: "webhookSecret"
Response
Git configuration for the model
Example response
{
"authMethod": "ssh",
"baseBranch": "main",
"cloneUrl": "git@github.com:org/repo.git",
"commitSigningPublicKey": "ssh-ed25519 AAAA...",
"gitServiceProvider": "github",
"githubAppInstallationId": "12345678",
"modelPath": "omni/my_model",
"publicKey": "ssh-ed25519 AAAA...",
"requirePullRequest": "users-only",
"webUrl": "https://github.com/org/repo",
"webhookUrl": "https://app.omni.co/api/webhooks/model/..."
}