v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBModel Git configuration
Get Git configuration
Retrieve the Git configuration for a shared model.
get/v1/models/{modelId}/git
Path parameters
modelIdstring uuid required
The unique identifier of the shared model.
Query parameters
include'webhookSecret'
Comma-separated list of additional fields to include in the response.
- webhookSecret - Include the webhook secret in the response
Response
Git configuration retrieved successfully
Example response
{
"authMethod": "ssh",
"cloneUrl": "git@github.com:org/repo.git",
"baseBranch": "main",
"gitServiceProvider": "github",
"modelPath": "omni/blobs_r_us",
"requirePullRequest": "users-only",
"sshUrl": "git@github.com:org/repo.git",
"webUrl": "https://github.com/org/repo",
"webhookUrl": "https://app.omni.co/api/webhooks/model/..."
}