POST /projects/{projectId}/agent-candidates/runs

POST /api/v1/projects/{projectId}/agent-candidates/runs on the Caveman Cloud control plane. Requires the trace:read_metadata scope. Exposed to autonomous agents as the runs action of the caveman_candidates tool (read access). Read an improvement session's own practice runs and route tries: each scored commit with the fixed scorer's mark (kept or discarded), its cost ratio and per-task outcomes, and each route try's verdicts. With wait_seconds it waits for a pending one to settle. Only an improvement session's case token may read; a person reads the same on the case.

post/projects/{projectId}/agent-candidates/runs

Request

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

Request body

wait_secondsinteger

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.