CI
CI workflow / run / runner control plane (ADR 0014, 0017).
50 operations
- POST
/api/jobs/{job_id}/cancelCancel a single job of a workflow run - GET
/api/jobs/{job_id}/cancel-watchLong-poll: block until the job is cancelled - POST
/api/jobs/{job_id}/env-recordReport a running job's environment record - GET
/api/jobs/{job_id}/logsRead a job's log bytes from an offset - POST
/api/jobs/{job_id}/logsAppend a chunk of log bytes for an in-flight job - GET
/api/jobs/{job_id}/logs/streamLive-tail a job's log as a binary frame stream - POST
/api/jobs/{job_id}/stepsReplace the step snapshot for an in-flight job - GET
/api/repos/{owner}/{repo}/actions/cachesList a repository's Actions cache entries - DELETE
/api/repos/{owner}/{repo}/actions/caches/{entry_id}Delete one Actions cache entry - GET
/api/repos/{owner}/{repo}/actions/usageGet a repository's CI minutes usage - GET
/api/repos/{owner}/{repo}/ci/requested-secretsList the secret names this repository's workflows reference - GET
/api/repos/{owner}/{repo}/commits/{sha}/workflow-runsList every workflow run for one commit (across workflows) - GET
/api/repos/{owner}/{repo}/flakyList a repo's flaky-test observations - GET
/api/repos/{owner}/{repo}/quarantineList a repo's quarantined tests - POST
/api/repos/{owner}/{repo}/quarantineQuarantine a test - DELETE
/api/repos/{owner}/{repo}/quarantine/{test_id}Un-quarantine a test - GET
/api/repos/{owner}/{repo}/workflow-pinsList the caller's pinned workflows in a repository - GET
/api/repos/{owner}/{repo}/workflow-runsList a repository's workflow runs (newest first) - GET
/api/repos/{owner}/{repo}/workflow-runs/activityStatuses of a repository's newest workflow runs - GET
/api/repos/{owner}/{repo}/workflowsList a repository's workflow definitions - PUT
/api/repos/{owner}/{repo}/workflows/{workflow_id}/pinPin a workflow - DELETE
/api/repos/{owner}/{repo}/workflows/{workflow_id}/pinUnpin a workflow - POST
/api/runnersRegister a runner - POST
/api/runners/leases/{lease_id}/completeFinish a job and release its lease - POST
/api/runners/leases/{lease_id}/heartbeatRenew a job lease - DELETE
/api/runners/{runner_id}Deregister a runner - POST
/api/runners/{runner_id}/claimLong-poll: claim a Ready job whose runs_on matches the runner's labels - PUT
/api/runners/{runner_id}/machineReport the runner's display name and machine facts - GET
/api/runs/{run_id}/annotationsList a workflow run's CI annotations - GET
/api/user/runnersList the caller's own runners - POST
/api/workflow-runsEnqueue a workflow run - GET
/api/workflow-runs/{run_id}Get a workflow run - POST
/api/workflow-runs/{run_id}/approveApprove a pending pull-request workflow run - POST
/api/workflow-runs/{run_id}/cancelCancel a workflow run - GET
/api/workflow-runs/{run_id}/jobsList a run's jobs with their step records - POST
/api/workflow-runs/{run_id}/rerunRe-run a completed workflow run - POST
/api/workflow-runs/{run_id}/rerun-failed-jobsRe-run the failed jobs of a completed workflow run - POST
/api/workflowsUpsert a workflow definition - DELETE
/api/workflows/{workflow_id}Delete a workflow definition - GET
/api/workflows/{workflow_id}/jobs/{job_key}/duration-statsHow long a workflow's job usually takes, by phase - GET
/api/workspaces/{workspace_id}/ci/secretsList workspace CI secret names (never values) - PUT
/api/workspaces/{workspace_id}/ci/secrets/{name}Set (create or replace) a workspace CI secret - DELETE
/api/workspaces/{workspace_id}/ci/secrets/{name}Delete a workspace CI secret - GET
/api/workspaces/{workspace_id}/runner-enrollmentsList a workspace's runner enrollments - POST
/api/workspaces/{workspace_id}/runner-enrollmentsCreate a runner enrollment token - GET
/api/workspaces/{workspace_id}/runner-enrollments/{enrollment_id}Show a runner enrollment - POST
/api/workspaces/{workspace_id}/runner-enrollments/{enrollment_id}/revokeRevoke a runner enrollment - GET
/api/workspaces/{workspace_id}/runnersList a workspace's self-hosted runners - DELETE
/api/workspaces/{workspace_id}/runners/{runner_id}Deregister a runner - GET
/api/workspaces/{workspace_id}/runners/{runner_id}/vm-cacheShow a direct-VM runner's capacity and cache disks