What tool calls rented through Monid, and what it has cost.
Each lease is something a call rented that keeps charging until released (a phone number, an inbox, a browser, a machine, a voice, a monitor, storage), owned by the run and crew that rented it: state (active, releasing: Monid releases some only at their paid-through date, released, release_failed: Koidog asks again), rent as Monid's catalog states it, and chargedUsd (the renting call plus every charge Monid reported for it).
GET/api/v1/tool-leases
Scoperead
Released when its crew ends or is canceled, and checked against Monid at boot. Query: crewId, state.
Query parameters.
crewIdstring
Filter by crew. At least 5 characters.
stateenum
One or more states, comma-separated. One of active, releasing, released, release_failed.
limit1–200
Page size. Default 50.
cursorstring
Previous page’s nextCursor. Keep filters and order. At least 1 character.
orderenum
Sort by creation time, then ID. desc newest, asc oldest. One of asc, desc. Default desc.
createdAfterstring
From this UTC timestamp, inclusive (e.g. 2027-01-01T00:00:00Z). Uses run start, node pairing, move request, event or log time, otherwise creation.
createdBeforestring
Through this UTC timestamp, inclusive. See createdAfter.
Response.
200 OK · data: object[]. Pass nextCursor as cursor when hasMore is true.