Skip to main content

Get a campaign run's costs

GET 

/run/:id/costs

Returns what each attack run of a campaign run spent: model calls by role (target, attacker, judge), the target's tokens, elapsed time and the target's latency, with per-goal samples (calls and time to the first jailbreak). Accepts a login token or an API key (not a run token). Every response has a weak ETag: send it back as If-None-Match to get 304 without a body while nothing changed.

Request​

Responses​

OK