DocsOperateBilling and usage
Operate

Understand billing and usage

Follow available and reserved balance through estimate, reservation, settlement, release, and ledger records.

On this page

EntireFeed uses prepaid usage billing. Estimation is free. Creating a paid generation reserves its current estimate from available balance while work is active.

Read balance without changing it

GET /v1/billing/summary returns available, reserved, and total USD amounts. GET /v1/billing/ledger returns immutable balance movements and supports cursor, type, date, and generation filters.

Public API keys can only read billing data. Adding balance and managing payment methods remain signed-in Console actions.

Reconcile each generation

Read usage.billing_status on the generation. reserved means the estimate is still held. settled means usage was charged. released means held balance returned to available balance. manual_review means automation must stop until the cost is resolved.

The ledger is the audit trail. A single generation can produce a reserve followed by settlement, release, or a bounded adjustment. When final cost exceeds the reservation, any extra debit is capped at the current available balance and cannot make that balance negative.

01

Read available and reserved balance

curl https://api.entirefeed.com/v1/billing/summary \
  -X GET \
  -H "Authorization: Bearer $ENTIREFEED_API_KEY"
200 Balance summary
{
  "available": {
    "amount_usd": "23.80"
  },
  "reserved": {
    "amount_usd": "1.20"
  },
  "total": {
    "amount_usd": "25.00"
  },
  "currency": "usd"
}
02

Read the usage ledger

curl https://api.entirefeed.com/v1/billing/ledger?generation_id=gen_0123456789abcdef0123456789abcdef \
  -X GET \
  -H "Authorization: Bearer $ENTIREFEED_API_KEY"
200 Ledger page
{
  "data": [
    {
      "id": "8e2dc660-4b75-4a51-9176-6d70fe0b2c08",
      "type": "RESERVE",
      "amount_usd": "-1.20",
      "available_after_usd": "23.80",
      "reserved_after_usd": "1.20",
      "generation_id": "gen_0123456789abcdef0123456789abcdef",
      "description": "Reserved estimated operation cost.",
      "created_at": "2026-07-12T08:30:00Z"
    }
  ],
  "next_cursor": null
}
03

Interpret billing status

reservedThe current estimate is held while work is active.Included in reserved balance, not available balance.
settledFinal usage was charged.The settled amount remains spent; unused hold can be released.
releasedThe held amount was returned.Released funds are available again.
manual_reviewFinal cost could not be resolved automatically.The hold remains unavailable until resolution.
04

Reconcile releases and bounded adjustments

Final cost below reservation$1.20 reserved; $0.90 finalSettle $0.90 and release $0.30 to available balance.
Overage covered$1.20 reserved; $1.50 final; at least $0.30 availableSettle $1.20 and debit a $0.30 adjustment.
Overage capped$1.20 reserved; $1.50 final; $0.20 availableSettle $1.20 and debit a $0.20 adjustment. Available balance stops at $0.00.

Additional debit is capped at the current available balance and cannot create a negative balance. The published cap is available_balance.