Updated on 2026-09-17 GMT+08:00

CLI Command Reference

Related to tenants

API Name

Command

Description

Operation

Querying the Built-in Executor Specifications

hcloud CodeArtsBuild ShowAvailableInnerSpec

This API is used to query the specifications of the built-in executor.

Go debug

Tracking Expiration Dates of a Package

hcloud CodeArtsBuild ShowPackageSpecCountDown

This API is used to obtain expiration details of a package.

Go debug

Querying Tenant Status

hcloud CodeArtsBuild ShowDomainStatus

This API is used to query tenant status.

Go debug

Querying the Current Tenant (Billing) Type

hcloud CodeArtsBuild ShowUserChargeType

This API is used to query the current tenant (billing) type.

Go debug

Obtaining the Project Information List of the Current User

hcloud CodeArtsBuild ShowRelatedProject

Obtaining the Project Information List of the Current User

Go debug

Obtaining the Project List

hcloud CodeArtsBuild ListRelatedProjectInfo

Obtaining the Project List

Go debug

Obtaining the Total Number of Tasks and Their Success Rate in the Tenant Account

hcloud CodeArtsBuild ShowSummaryBuildJobInfo

Obtaining the Total Number of Tasks and Their Success Rate in the Tenant Account

Go debug

Checking If the Monthly Duration for the Project Used by the Current User Exceeds the Tenant's Yearly/Monthly Package Quota

hcloud CodeArtsBuild ShowUserOverPackageQuota

Checking If the Monthly Duration for the Project Used by the Current User Exceeds the Tenant's Yearly/Monthly Package Quota

Go debug

Obtaining User Permissions

hcloud CodeArtsBuild ShowProjectPermission

Obtaining User Permissions

Go debug

Mirror template

API Name

Command

Description

Operation

Obtaining the Dockerfile Template

hcloud CodeArtsBuild ShowDockerfileTemplate

Obtaining the Dockerfile Template

Go debug

Obtaining Image Templates

hcloud CodeArtsBuild ShowImageTemplateList

Obtaining Image Templates

Go debug

Build task management

API Name

Command

Description

Operation

Favoriting a Task

hcloud CodeArtsBuild AddFavouriteTask

This API is used to favorite a task.

Go debug

Unfavoriting a Task

hcloud CodeArtsBuild RemoverFavouriteTask

This API is used to unfavorite a task.

Go debug

Determining If a Task Uses Project-level Permissions

hcloud CodeArtsBuild ApplyProjectPermission

This API is used to determine if a task uses project-level permissions.

Go debug

Modifying Task Permissions in Batches

hcloud CodeArtsBuild BatchUpdateJobRolePermission

This API is used to modifying task permissions in batches.

Go debug

Whether secure intranet access is enabled

hcloud CodeArtsBuild CheckJobInternal

This API is used to check whether secure access to intranet is enabled.

Go debug

Querying the List of Self-Hosted Repos

hcloud CodeArtsBuild ListEndPoints

This API is used to query the list of self-hosted repos.

Go debug

Updating Notification Settings

hcloud CodeArtsBuild UpdateNewNoticeNew

This API is used to update notification settings.

Go debug

Obtaining Notification Information

hcloud CodeArtsBuild ShowJobNoticeConfigInfo

Obtaining Notification Information

Go debug

Obtaining the Status, Completion Percentage, and Estimated Time Remaining for a Named Build

hcloud CodeArtsBuild ShowBuildDetails

This API is used to obtain the status, completion percentage, and estimated time remaining for a named build.

Go debug

Querying the Status of Other Tenants in Cross-Tenant Scenarios

hcloud CodeArtsBuild ShowDomainsStatuses

This API is used to query the status of other tenants in cross-tenant scenarios.

Go debug

Obtaining Build Task Information in a Pipeline

hcloud CodeArtsBuild ShowJobPipelineInfo

This API is used to obtain build task information in a pipeline.

Go debug

Stopping a Build Task (Version 1)

hcloud CodeArtsBuild StopTheJob

This API is used to stop a build task.

Go debug

Obtaining the Roles and Permissions Matrix of a Build Task.

hcloud CodeArtsBuild ShowProjectJobPermission

This API is used to obtain the roles and permissions matrix of a build task.

Go debug

Creating a Build Task

hcloud CodeArtsBuild CreateNewJob

Creating a Build Task

Go debug

Restoring Tasks from the Recycle Bin

hcloud CodeArtsBuild RestoreRecyclingJobs

Restoring Tasks from the Recycle Bin

Go debug

Setting the Retention Period for Tasks in the Recycle Bin

hcloud CodeArtsBuild SetKeepTime

This API allows tenant accounts to set the retention period for tasks in the recycle bin, but it is not accessible to member accounts.

Go debug

Updating a Build Task

hcloud CodeArtsBuild UpdateNewJob

Updating a Build Task

Go debug

Checking the Webhook URL Parameter

hcloud CodeArtsBuild CheckWebhookUrl

Checking the Webhook URL Parameter

Go debug

Running a Build

hcloud CodeArtsBuild ExecuteJob

Running a Build

Go debug

Disabling a Task

hcloud CodeArtsBuild DisableTheJob

Disabling a Task

Go debug

Cloning a Build Task

hcloud CodeArtsBuild CopyJob

Cloning a Build Task

Go debug

Deleting a Task

hcloud CodeArtsBuild DeleteTheJob

Deleting a Task

Go debug

Deleting Tasks from the Recycle Bin

hcloud CodeArtsBuild DeleteRecyclingJobs

Deleting Tasks from the Recycle Bin

Go debug

Emptying the Recycle Bin

hcloud CodeArtsBuild ClearRecyclingJobs

Emptying the Recycle Bin

Go debug

Checking Whether a Task Is Disabled

hcloud CodeArtsBuild ShowDisable

Checking Whether a Task Is Disabled

Go debug

Copying a Task Name

hcloud CodeArtsBuild ShowCopyName

Copying a Task Name

Go debug

Querying Task Status

hcloud CodeArtsBuild ShowJobStepStatus

Querying Task Status

Go debug

Obtaining the Default Roles and Permissions Matrix of the Current Project

hcloud CodeArtsBuild ShowDefaultProjectPermission

Obtaining the Default Roles and Permissions Matrix of the Current Project

Go debug

Obtaining the Update Records

hcloud CodeArtsBuild ListUpdateJobHistory

Obtaining the Update Records

Go debug

Checking If the Build Task Is Running

hcloud CodeArtsBuild ShowRunningStatus

Checking If the Build Task Is Running

Go debug

Obtaining Default Parameters

hcloud CodeArtsBuild ShowDefaultBuildParameters

Obtaining Default Parameters

Go debug

Checking If the Project Has a Task with the Specified Name

hcloud CodeArtsBuild CheckJobNameIsExists

Checking If the Project Has a Task with the Specified Name

Go debug

Querying All Build Tasks

hcloud CodeArtsBuild ListJob

Querying All Build Tasks

Go debug

Checking If the Task Count Has Reached the Upper Limit

hcloud CodeArtsBuild CheckJobCountIsTopLimit

Checking If the Task Count Has Reached the Upper Limit

Go debug

Obtaining Build Parameters on the Details Page

hcloud CodeArtsBuild ListBuildParameter

Obtaining Build Parameters on the Details Page

Go debug

Querying the Build Tasks in the Recycle Bin

hcloud CodeArtsBuild ListRecyclingJob

Querying the Build Tasks in the Recycle Bin

Go debug

Querying Predefined Parameters

hcloud CodeArtsBuild ShowJobSystemParameters

Querying Predefined Parameters

Go debug

Viewing Build Information of a Build Task

hcloud CodeArtsBuild ShowJobInfo

Viewing Build Information of a Build Task

Go debug

Obtaining Parameter Types on the Task Editing Page

hcloud CodeArtsBuild ShowBuildParamsList

Obtaining Parameter Types on the Task Editing Page

Go debug

Obtaining the Differences Between Build Task Configurations

hcloud CodeArtsBuild ShowJobConfigDiff

Obtaining the Differences Between Build Task Configurations

Go debug

Obtaining the Roles and Permissions Matrix of a Build Task

hcloud CodeArtsBuild ShowJobRolePermission

Obtaining the Roles and Permissions Matrix of a Build Task

Go debug

Querying Tasks of a Project

hcloud CodeArtsBuild ListProjectJobs

Querying Tasks of a Project

Go debug

Obtaining Build Task Details (Version 1)

hcloud CodeArtsBuild ShowJobConfig

Obtaining Build Task Details (Version 1)

Go debug

Build records

API Name

Command

Description

Operation

Obtaining the Brief Build Information of a Specified Project

hcloud CodeArtsBuild ListBriefRecord

Obtaining the Brief Build Information of a Specified Project

Go debug

Obtaining Information About Each Task Stage

hcloud CodeArtsBuild ShowBuildRecordFullStages

Obtaining Information About Each Task Stage

Go debug

Obtaining the Build Record List of a Specified Project

hcloud CodeArtsBuild ListRecords

Obtaining the Build Record List of a Specified Project

Go debug

Obtaining Build Records of a Task

hcloud CodeArtsBuild ShowBuildInfoRecord

Obtaining Build Records of a Task

Go debug

Obtaining the Directed Acyclic Graph of a Build Record

hcloud CodeArtsBuild ShowBuildRecordFlowGraph

Obtaining the Directed Acyclic Graph of a Build Record

Go debug

Obtaining Build Record Information (Version 1)

hcloud CodeArtsBuild ShowJobBuildRecordDetail

Obtaining Build Record Information (Version 1)

Go debug

Obtaining the Number of Builds on the Build History Page

hcloud CodeArtsBuild ShowJobTotal

Obtaining the Number of Builds on the Build History Page

Go debug

Querying Details About a Specified Build Record

hcloud CodeArtsBuild ShowBuildRecord

Querying Details About a Specified Build Record

Go debug

Obtaining the Build Script of a Build Record

hcloud CodeArtsBuild ShowBuildRecordBuildScript

Obtaining the Build Script of a Build Record

Go debug

Obtaining Build Records of a Task (Version 1)

hcloud CodeArtsBuild ListBuildInfoRecordByJobId

Obtaining Build Records of a Task (Version 1)

Go debug

Construction report

API Name

Command

Description

Operation

Querying the Build Success Rate

hcloud CodeArtsBuild ShowJobBuildSuccessRatio

Querying the Build Success Rate

Go debug

Obtaining the Coverage

hcloud CodeArtsBuild ShowReportSummary

Obtaining the Coverage

Go debug

Obtaining Unit Test Coverage Reports

hcloud CodeArtsBuild ListJunitCoverageSummary

Obtaining Unit Test Coverage Reports

Go debug

Viewing Repositories

hcloud CodeArtsBuild ListRepository

Viewing Repositories

Go debug

Obtaining Information About All Branches of a Task

hcloud CodeArtsBuild ListRepoBranch

Obtaining Information About All Branches of a Task

Go debug

Obtaining the Unit Test Coverage Report Package

hcloud CodeArtsBuild DownloadJunitCoverageZip

Obtaining the Unit Test Coverage Report Package

Go debug

Obtaining the Build Duration Information on the Dashboard

hcloud CodeArtsBuild ShowJobBuildTime

Obtaining the Build Duration Information on the Dashboard

Go debug

Template management

API Name

Command

Description

Operation

Favoriting an Official Template

hcloud CodeArtsBuild AddFavouriteOfficialTemplate

This API is used to favorite an official template.

Go debug

Unfavoriting an Official Template

hcloud CodeArtsBuild RemoverFavouriteOfficialTemplate

This API is used to unfavorite an official template.

Go debug

Favoriting a Custom Template

hcloud CodeArtsBuild AddFavouriteCustomTemplate

This API is used to favorite a custom template.

Go debug

Unfavoriting a Custom Template

hcloud CodeArtsBuild RemoverFavouriteCustomTemplate

This API is used to unfavorite a custom template.

Go debug

Querying a Specific Template Based on Its UUID

hcloud CodeArtsBuild ShowTemplate

This API is used to query a specific template based on its UUID.

Go debug

Saving Template Use Records

hcloud CodeArtsBuild SaveTemplateUsedInfo

This API is used to save template use records.

Go debug

Creating a Build Template (Version 1)

hcloud CodeArtsBuild CreateTemplate

Creating a Build Template (Version 1)

Go debug

Obtaining Recommended Templates

hcloud CodeArtsBuild ListRecommendOfficialTemplate

Obtaining Recommended Templates

Go debug

Deleting a Build Template (Version 1)

hcloud CodeArtsBuild DeleteTemplate

Deleting a Build Template (Version 1)

Go debug

Obtaining the Default Template for a YAML Build

hcloud CodeArtsBuild ShowYamlTemplate

Obtaining the Default Template for a YAML Build

Go debug

Querying Templates based on Specified Conditions

hcloud CodeArtsBuild ListCustomTemplate

Querying Templates based on Specified Conditions

Go debug

Querying Official Templates

hcloud CodeArtsBuild ListOfficialTemplate

Querying Official Templates

Go debug

File management

API Name

Command

Description

Operation

Configuring File Permissions

hcloud CodeArtsBuild UpdateKeystorePermission

This API is used to configure permissions for a file.

Go debug

Granting File Permissions

hcloud CodeArtsBuild AddKeystorePermission

This API is used to grant a user the permissions for a file.

Go debug

Uploading a File

hcloud CodeArtsBuild UploadKeystore

Uploading a File

Go debug

Updating File Information

hcloud CodeArtsBuild UpdateKeystore

This API is used to update file information.

Go debug

Deleting a File

hcloud CodeArtsBuild DeleteKeystore

Deleting a File

Go debug

Deleting File Permissions

hcloud CodeArtsBuild DeleteKeystorePermission

Deleting File Permissions

Go debug

Downloading a File from File Manager

hcloud CodeArtsBuild DownloadKeystoreByName

Downloading a File from File Manager

Go debug

Querying File Permissions

hcloud CodeArtsBuild ShowKeystorePermission

Querying File Permissions

Go debug

Querying Files Available to a User

hcloud CodeArtsBuild ListKeystore

Querying Files Available to a User

Go debug

Querying Files of the Tenant

hcloud CodeArtsBuild ListKeystoreSearch

Querying Files of the Tenant

Go debug

CodeArtsBuild(TheOld)

API Name

Command

Description

Operation

Deleting Build Tasks in Batches

hcloud CodeArtsBuild BatchDeleteBuildJobs

This API is used to delete build tasks in batches.

Go debug

View the build task build history list based on the start time and end time.

hcloud CodeArtsBuild ShowListPeriodHistory

View the build task build history list based on the start time and end time.

Go debug

View the build history list of build task.

hcloud CodeArtsBuild ShowListHistory

View the build history list of build task.

Go debug

KeyStore File Download

hcloud CodeArtsBuild DownloadKeystore

Downloading KeyStore Files of a Specified Tenant

Go debug

Checking the Task Running Status

hcloud CodeArtsBuild ShowJobStatus

Checking the Task Running Status

Go debug

View the build task list of users under a project.

hcloud CodeArtsBuild ShowJobListByProjectId

View the build task list of users under a project.

Go debug

Run the build task command.

hcloud CodeArtsBuild RunJob

Run the build task command to transfer user-defined parameters.

Go debug

Queries the latest successful build history of a specified code repository.

hcloud CodeArtsBuild ShowLastHistory

Queries the latest successful build history of a specified code repository.

Go debug

API for Obtaining Historical Build Details

hcloud CodeArtsBuild ShowHistoryDetails

API for Obtaining Historical Build Details

Go debug

Check the build task build success rate based on the start time and end time.

hcloud CodeArtsBuild ShowJobSuccessRatio

Check the build task build success rate based on the start time and end time.

Go debug

Download Full Build Log

hcloud CodeArtsBuild DownloadBuildLog

Download Full Build Log

Go debug

Download Build Step Log

hcloud CodeArtsBuild DownloadTaskLog

Download Build Step Log

Go debug

Obtaining Build Records

hcloud CodeArtsBuild ShowRecordDetail

Obtaining Build Records

Go debug

Obtaining Build Product Details

hcloud CodeArtsBuild ShowOutputInfo

Obtaining Build Product Details

Go debug

Build Stop Result

hcloud CodeArtsBuild StopBuildJob

Build Stop Result

Go debug

Delete Build Task

hcloud CodeArtsBuild DeleteBuildJob

Delete Build Task

Go debug

Disable Build Tasks

hcloud CodeArtsBuild DisableBuildJob

Disable Build Tasks

Go debug

Resume Build Task

hcloud CodeArtsBuild ResumeBuildJob

Resume Build Task

Go debug

Creating a Build Job

hcloud CodeArtsBuild CreateBuildJob

Creating a Build Job

Go debug

Updating the build task

hcloud CodeArtsBuild UpdateBuildJob

Updating the build task

Go debug

Querying a Build Template

hcloud CodeArtsBuild ListTemplates

Querying a Build Template

Go debug

Creating a Build Template

hcloud CodeArtsBuild CreateTemplates

Creating a Build Template

Go debug

Deleting a Build Template

hcloud CodeArtsBuild DeleteTemplates

Deleting a Build Template

Go debug

Query a Notification

hcloud CodeArtsBuild ListNotice

Query a Notification

Go debug

Sending Asynchronous Notifications When Updating Resource Types

hcloud CodeArtsBuild UpdateNotice

Sending Asynchronous Notifications When Updating Resource Types

Go debug

Cancel Notification

hcloud CodeArtsBuild DisableNotice

Cancel Notification

Go debug

Obtaining build task Details

hcloud CodeArtsBuild ListJobConfig

Obtaining build task Details

Go debug

Download Real Time Log

hcloud CodeArtsBuild DownloadRealTimeLog

Download Real Time Log

Go debug

Obtaining Build INFO Records

hcloud CodeArtsBuild ListBuildInfoRecord

Obtaining Build INFO Records

Go debug

CodeArtsBuild(Offline)

API Name

Command

Description

Operation

Downloading Build Logs (To Be Taken Offline)

hcloud CodeArtsBuild DownloadLogByRecordId

Downloading Build Logs (To Be Taken Offline)

Go debug

Obtaining a Directed Acyclic Graph of Build Records (To Be Offline)

hcloud CodeArtsBuild ShowFlowGraph

Obtaining a Directed Acyclic Graph of Build Records (To Be Offline)

Go debug

Obtaining Build Records (To Be Offline)

hcloud CodeArtsBuild ShowRecordInfo

Obtaining Build Records (To Be Offline)

Go debug

Stopping the build task (To Be Offline)

hcloud CodeArtsBuild StopJob

Stopping the build task (To Be Offline)

Go debug

LogManager

API Name

Command

Description

Operation

Obtaining All Run Logs

hcloud CodeArtsBuild DownloadBuildRealTimeLog

This API is used to obtain all run logs.

Go debug

Downloading All Build Logs

hcloud CodeArtsBuild DownloadBuildFullLog

This API is used to download all build logs.

Go debug

Obtaining Build Logs After Task Execution

hcloud CodeArtsBuild ShowActionIInfo

This API is used to obtain build logs after task execution.

Go debug

GroupManager

API Name

Command

Description

Operation

Modifying Group Information

hcloud CodeArtsBuild UpdateJobGroup

This API is used to modify group information.

Go debug

Querying a Group Tree

hcloud CodeArtsBuild ListGroupTree

This API is used to query a group tree.

Go debug

Swapping Group Order

hcloud CodeArtsBuild SwitchedPacket

This API is used to swap group order.

Go debug

Moving Build Tasks to a Specified Group

hcloud CodeArtsBuild MoveGroup

This API is used to move build tasks to a specified group.

Go debug

Deleting a Group

hcloud CodeArtsBuild DeleteGroup

This API is used to delete a group.

Go debug

Creating a Build Task Group

hcloud CodeArtsBuild CreateJobGroup

This API is used to create a build task group.

Go debug