Get Session Run Cost

A Session cost run's cost so far, against the same person's other runs in the same repo on the same agent kind over the last 30 days: what the detection's page draws (ADR-0087). 404 for another org's detection, 409 for another rule's.

get/api/v1/cost/detections/{detection_id}/run

Request

  • Base URL
    https://api.stacktrace.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.stacktrace.ai/api/v1/cost/detections/{detection_id}/run
  • Auth
    none declared

Path parameters

detection_idstring required

Headers

authorizationstring nullable

Response

Successful Response

run_idstring required
titlestring nullable required
repostring nullable required
costnumber nullable required
unpricedinteger required
mediannumber nullable required

Changes

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