The API is available on every paid plan. On the Free plan every endpoint returns
403 FEATURE_DISABLED.Get your API key
- Log in to Bitscale.
- Go to Settings → Account → API Key.
- Copy the key.
POST /api-key/rotate; the old key stops working at once.
Authentication
Send the key in theX-API-KEY header on every request. No other header identifies the workspace.
Rate limits
Each workspace can make 5 requests per second, across all endpoints, polling included. Going over returns429 RATE_LIMIT_EXCEEDED. To change the limit, contact team@bitscale.ai.
Every response carries these headers:
Errors
Every error has the same shape: a machine-readablecode and a readable message.
Long-running requests
Tool runs and source searches wait up to 25 seconds for a result. If the work takes longer you get202 Accepted with a poll_url; call it every 2–5 seconds until the status is no longer running. Set your client timeout to at least 60 seconds.
Credits
Calls are billed to the workspace’s credits the same way as in the app. Listing tools and sources, reading schemas, counting and filter-value lookups are free. When the workspace runs out, calls return402.