Skip to main content
POST
openrouter_session_cost

Authorizations

X-API-Key
string
header
required

Your fetchbean API key (fb_…). Keys are not accepted through Authorization.

Headers

Idempotency-Key
string

A caller-generated key for safely retrying this execution after a network failure. Reusing the same key with the same operation and input returns the original result; reusing it for a different call is rejected.

Body

application/json
app_slug
string

e.g. claude-code

model
string

model permaslug, to compare harnesses at a fixed model

turn_range
Allowed value: "1-turn"
limit
integer
Required range: 1 <= x <= 500
offset
integer
Required range: 0 <= x <= 5000

Response

Success

The response is of type object.