Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions info/projects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,13 @@ Concurrency limits control how many browsers can run at once. To control monthly

| Method | Path | Description |
| --- | --- | --- |
| `GET` | `/org/limits` | Get the org concurrency limit and the default per-project cap |
| `PATCH` | `/org/limits` | Set the default per-project cap (send `0` to clear it) |
| `GET` | `/org/limits` | Get the effective org concurrency limit, current usage, available capacity, and default per-project cap |
| `PATCH` | `/org/limits` | Set the default per-project cap (send `0` to clear it) and return the updated limits and usage |
| `GET` | `/org/projects/{id}/limits` | Get a single project's limit overrides |
| `PATCH` | `/org/projects/{id}/limits` | Set a single project's limit overrides (send `0` to clear a cap) |

The `GET` and `PATCH` responses include `concurrent_sessions_used` and `concurrent_sessions_available`. Usage includes active on-demand browser sessions and browser pool reservations. `concurrent_sessions_available` is the effective organization limit minus current usage, floored at zero. Both fields are `null` when current usage can't be read.

<Info>
`max_pooled_sessions` is deprecated. Pooled browsers now count toward `max_concurrent_sessions`, and requests that set `max_pooled_sessions` return a `400`.
</Info>
Expand Down
4 changes: 3 additions & 1 deletion reference/cli/org.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ kernel org entitlements --output json

## `kernel org limits get`

Show the organization's maximum concurrent browser sessions and the default per-project cap.
Show the organization's effective concurrency limits, current browser usage, available capacity, and default per-project cap.

The JSON response includes `concurrent_sessions_used` and `concurrent_sessions_available`. Usage includes active on-demand browser sessions and browser pool reservations. Both fields are `null` when current usage can't be read.

| Flag | Description |
|------|-------------|
Expand Down
Loading