Skip to main content
GET
/
org
/
limits
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted
});

const orgLimits = await client.organization.limits.retrieve();

console.log(orgLimits.default_project_max_concurrent_sessions);
{
  "max_concurrent_sessions": 100,
  "default_project_max_concurrent_sessions": 10
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Organization limits

max_concurrent_sessions
integer

The organization's effective concurrent browser session ceiling, from its plan or an override. Read-only and shared across all projects in the org; a per-project default cannot exceed it.

Example:

100

default_project_max_concurrent_sessions
integer | null

Default maximum concurrent browser sessions applied to every project that has no explicit per-project override. Null means no org-level default, so such projects are uncapped (only the org-wide limit applies). Applies to existing and newly created projects.

Example:

10