POST /projects/{projectId}/ci/runs/{runId}/finish

POST /api/v1/projects/{projectId}/ci/runs/{runId}/finish on the Caveman Cloud control plane. Requires the experiment:run scope. Not exposed to autonomous agents: Reads or completes a run whose key was minted to a person or a CI identity. Agents read its verdict through verdicts.get.

post/projects/{projectId}/ci/runs/{runId}/finish

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/projects/{projectId}/ci/runs/{runId}/finish
  • 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

status'completed' | 'failed' | 'cancelled' required
junitstring[]

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.