usage

Get usage limits

Changed on

Return the OpenCode Go allowance and Console budgets of the OpenCode Console workspace the location is signed in to, or null when it isn't signed in.

get/api/experimental/usage/limits

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/experimental/usage/limits
  • Auth
    none required

Query parameters

directorystring nullable

Response

Success

Changes