v1

latestOpenAPI 3.1.02026-07-26269227514.8 KB
organizations

Clone Repo

post/v2/enterprise/organizations/{org_id}/clone

Path parameters

org_idstring required

Request body

pull_repo_commandsstring[] nullable

Commands to pull the repository. Recommended to leave blank as it is auto-generated.

repo_notestring nullable
repo_pathstring required

Repository path in the format 'owner/repo_name' (e.g., 'acme/my-project')

run_lint_commandsstring[] nullable
run_project_commandsstring[] nullable
run_tests_commandsstring[] nullable
update_dependencies_commandsstring[] nullable

Example request

{
  "repo_path": "owner/repo_name"
}

Response

Successful Response

ami_idstring nullable

AMI ID of the snapshot (may be null if still being created)

created_atstring date-time required

Timestamp when the snapshot was created

org_idstring required

Organization ID the snapshot belongs to

snapshot_idstring required

ID of the created snapshot

statusstring required

Status of the snapshot (e.g., 'pending', 'available')