Agents

Read the caller's current API request budget window.

Changed on

Returns limit, remaining, windowSeconds and resetSeconds for this server instance. Anonymous callers see the client IP bucket; authenticated callers see the token bucket when per-token budgets are active (as reported by this response). The request does not consume a budget unit.

Inputs. No path or query fields are required. No request body is required.

Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

Rate limits. Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

get/api/v1/budget

Request

  • Base URL
    https://huggingbay.xyz
  • URL
    https://huggingbay.xyz/api/v1/budget
  • Auth
    none required

Response

Current budget window

schemaVersion'hugging-bay.api-budget.v1' required

Changes