POST /projects/{projectId}/ci/runs

POST /api/v1/projects/{projectId}/ci/runs on the Caveman Cloud control plane. Requires the experiment:run scope. Not exposed to autonomous agents: Mints a spend-capped gateway key returned once to the caller. An agent must never mint credentials (the boundary POST /keys keeps).

post/projects/{projectId}/ci/runs

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/projects/{projectId}/ci/runs
  • Auth
    • OAuth 2
      Authorization code: /api/v1/oauth/authorize
      Token URL: /api/v1/oauth/token scopes: experiment:run
    • or HTTP bearer
    • or API key in cookie cave_access
    • or API key in cookie __Secure-cave_identity.session_token

Request body

event'pull_request' | 'push' | 'merge_group' required
pr_numberinteger
base_shastring
base_refstring
jobstring required
max_usdnumber
forkboolean
request_idstring uuid required
repository_idinteger required
shastring required
refstring required
run_idstring required
run_attemptinteger required

Response

Successful response. Exact status depends on synchronous or durable delivery outcome.

Changes

No recorded changes to this operation across all 1 revision of this API.