Skip to navigation

Clone Repo

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Path parameters

org_idstringRequired

Request

This endpoint expects an object.
repo_pathstringRequired

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

pull_repo_commandslist of strings or nullOptional

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

repo_notestring or nullOptional
run_lint_commandslist of strings or nullOptional
run_project_commandslist of strings or nullOptional
run_tests_commandslist of strings or nullOptional
update_dependencies_commandslist of strings or nullOptional

Response

Successful Response
created_atdatetime
Timestamp when the snapshot was created
org_idstring
Organization ID the snapshot belongs to
snapshot_idstring
ID of the created snapshot
statusstring

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

ami_idstring or nullOptional

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

Errors

422
Unprocessable Entity Error