← Public packages
@cameronpak/box
Full Box Public API v1 client: lifecycle, prompts, files, commands, snapshots, environments, webhooks, desktop, hosting, and account.
src/get-limits.ts
9 lines · 358 B · TypeScriptimport { boxRequest, type Result } from './client.ts'
/**
* Read quota, access readiness, and concurrent-box capacity for this account.
* The response shape is passed through as the API returns it.
*/
export default async function getLimits(): Promise<Result<Record<string, unknown>>> {
return boxRequest<Record<string, unknown>>({ path: '/limits' })
}