List your credit holds
GET https://weights.fyi/run/v1/reservations
GET https://weights.fyi/run/v1/reservations?reservation_id=<id>
Authorization: Bearer <token> scope: read- Available since
- Not available yet: built on 2026-11-14, live with the deploy that carries it.
- Answer time
- synchronous: the answer is read from your account's records at once.
Lists the credit holds your account took with POST /v1/reservations and has not released, oldest first. Each is credit set aside: it is no longer part of what your other work can reserve.
With reservation_id the call answers that one hold, whether it is still held or was released, with the compute plan it counts against. Use it to check a hold before releasing it, or to see that a release took effect.
Request
| Name | Where | Required | Meaning |
|---|---|---|---|
Authorization | header | yes | Bearer and a token that holds read. |
reservation_id | query | no | Answer this one hold instead of the list. |
The call takes no body.
Return value
200 OK with object: "list" and the holds under data; or, with reservation_id, the one hold.
| Field | Meaning |
|---|---|
reservation_id | The hold's id. |
state | held, or released. |
amount_usd_micros | The amount held. |
created_at, released_at, release_reason | When it was taken, and when and why it was released. |
plan | The compute plan whose budget counts the hold, with its budget figures; null when it counts against credit alone. |
Errors
| Status | Code | When it happens | What to do |
|---|---|---|---|
400 | invalid_reservation | reservation_id is not an id. | Send the id the hold was taken with. |
401 | unauthorized, invalid_token, token_revoked, token_expired | No token, or one that does not work (any more). | Use a valid token. |
403 | scope_required, account_suspended | The token lacks read, or the account is suspended. | Use a token with read. |
404 | reservation_not_found | Your account took no hold with this id. | Check the id. |
Examples
curl -s https://weights.fyi/run/v1/reservations -H "Authorization: Bearer $WEIGHTS_API_KEY"{
"object": "list",
"data": [
{"object": "reservation", "dry_run": false, "reservation_id": "wave-44-triage", "state": "held",
"amount_usd_micros": 2500000, "created_at": "2026-11-14T21:40:12.118Z", "released_at": null,
"release_reason": null, "plan": null}
]
}History
- 2026-11-14: built.