The ci area has 26 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
ciChannelsGet
Release channels: the build each channel runs, holds, the schedule setting and recent promotions
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels
ciChannelsGet(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<Record<string, unknown>>ciChannelsHold
Hold a channel: no build is promoted into it until the hold is released
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels/{channel}/hold
ciChannelsHold(args: { tenantId: string; projectId: string; channel: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>ciChannelsPresetPut
Apply a channel preset to the project: set each channel’s name, image tag, deploy environment and data choice
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels/preset
ciChannelsPresetPut(args: { tenantId: string; projectId: string; body: ApplyChannelPresetRequest }, options?: CallOptions): Promise<Record<string, unknown>>ciChannelsPromote
Promote the newest build that passes the channel’s gates now; refused with the failed gates
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels/{channel}/promote
ciChannelsPromote(args: { tenantId: string; projectId: string; channel: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>ciChannelsReleaseHold
Release a channel’s hold
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels/{channel}/release-hold
ciChannelsReleaseHold(args: { tenantId: string; projectId: string; channel: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>ciChannelsRollback
Put the build a channel ran before back on it and hold the channel
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels/{channel}/rollback
ciChannelsRollback(args: { tenantId: string; projectId: string; channel: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>ciChannelsSettingsPut
Switch scheduled channel promotions on or off; while off, the schedule records what it would promote and changes nothing
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/ci/channels/settings
ciChannelsSettingsPut(args: { tenantId: string; projectId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>ciChecksGet
One registered check and its definition digest
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/checks/{checkId}
ciChecksGet(args: { tenantId: string; projectId: string; checkId: string }, options?: CallOptions): Promise<RegisteredCheck>ciChecksList
The project’s check registry
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/checks
ciChecksList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<CheckRegistryList>ciChecksPut
Register or replace a check definition (policy class); evidence under an older definition stops counting
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/ci/checks/{checkId} - Needs an approval for agents: class
policy_change
ciChecksPut(args: { tenantId: string; projectId: string; checkId: string; body: RegisterCheckRequest }, options?: CallOptions): Promise<RegisteredCheck>ciReleaseStart
Start a release now: bring in the latest main, then verify and deploy what changed since the last release
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/release
ciReleaseStart(args: { tenantId: string; projectId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>ciRunCancel
Cancel a CI run
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs/{runId}/cancel
ciRunCancel(args: { tenantId: string; projectId: string; runId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<PipelineRun>ciRunGet
Read one CI run
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs/{runId}
ciRunGet(args: { tenantId: string; projectId: string; runId: string }, options?: CallOptions): Promise<PipelineRun>ciRunLogs
A CI run’s logs, with secrets masked
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs/{runId}/logs
ciRunLogs(args: { tenantId: string; projectId: string; runId: string }, options?: CallOptions): Promise<RunLogResponse>ciRunReceipts
A CI run’s check receipts: commit, source fingerprint, definition digest, outcome, and whether the service signed it
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs/{runId}/receipts
ciRunReceipts(args: { tenantId: string; projectId: string; runId: string }, options?: CallOptions): Promise<RunReceiptsResponse>ciRunRerun
Run a CI run again
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs/{runId}/rerun
ciRunRerun(args: { tenantId: string; projectId: string; runId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<RunResponse>ciRunsList
List CI runs
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs
ciRunsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<RunListResponse>ciRunsStart
Start a CI run
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/runs
ciRunsStart(args: { tenantId: string; projectId: string; body: StartCiRunRequest }, options?: CallOptions): Promise<RunResponse>ciSchedulesList
List a project’s scheduled pipelines with the next time each runs
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/schedules
ciSchedulesList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<CiScheduleListResponse>ciSecretsDelete
Delete a CI secret (secrets class)
- Request:
DELETEon/v1/tenants/{tenantId}/projects/{projectId}/ci/secrets/{secretId} - Needs an approval for agents: class
secrets
ciSecretsDelete(args: { tenantId: string; projectId: string; secretId: string }, options?: CallOptions): Promise<Record<string, unknown>>ciSecretsList
List a project’s CI secrets by name, never their values
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/secrets
ciSecretsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<CiSecretListResponse>ciSecretsPut
Set a CI secret (secrets class)
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/ci/secrets - Needs an approval for agents: class
secrets
ciSecretsPut(args: { tenantId: string; projectId: string; body: SetCiSecretRequest }, options?: CallOptions): Promise<Record<string, unknown>>ciSettingsGet
Read a project’s CI settings
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/settings
ciSettingsGet(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<CiSettings>ciSettingsPut
Change a project’s CI settings (spend class)
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/ci/settings - Needs an approval for agents: class
spend
ciSettingsPut(args: { tenantId: string; projectId: string; body: UpdateCiSettingsRequest }, options?: CallOptions): Promise<CiSettings>ciUsage
CI minutes used this period
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/ci/usage
ciUsage(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<CiUsageResponse>ciValidate
Validate a workflow file
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/ci/validate
ciValidate(args: { tenantId: string; projectId: string; body: ValidateConfigRequest }, options?: CallOptions): Promise<ValidateConfigResponse>