Code

Code-context quota pre-flight

Returns the tenant's current code_contexts usage and plan limit so the indexer CLI can run a transparent cost-preview before uploading any contexts.

get/api/code/quota

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/code/quota
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Response

Quota snapshot.

usedinteger

Code-file contexts currently stored for this tenant.

limitinteger

Plan limit for the code_contexts bucket.

remaininginteger

limit - used

percentUsednumber

0-100

planstring

Changes

No recorded changes to this operation across all 1 revision of this API.