Skip to main content
A Project is a named container for Kernel resources inside an organization. Use projects to separate environments (like production and staging), split resources between teams, or isolate customer workloads — each project has its own browsers, profiles, credentials, proxies, extensions, deployments, and browser pools.

Why projects?

  • Isolate environments — keep production resources apart from staging or experiments.
  • Scope access — issue API keys that can only see resources in one project.
  • Concurrency limits — set an org-wide default cap for every project, or override it per project, so one team or environment can’t exhaust your org quota.

The default project

Every organization has at least one project. Resources that existed before projects were introduced have been moved into a project named Default, so your existing browsers, apps, profiles, and other resources continue to work without any changes on your end. Your organization must always have at least one active project. The API returns 409 Conflict if you try to delete the last remaining project:
A project must also be empty before it can be deleted. If active resources remain, the API returns 409 Conflict with code project_not_empty; delete or otherwise remove those resources and retry.

Scoping requests to a project

Use X-Kernel-Project to select a project by exact name or ID. X-Kernel-Project-Id accepts only an ID. Send one header, not both: sending both returns 400 conflicting_project_headers. Without either header or a project-scoped credential, reads and writes use your organization’s default project.

Resolution rules

  • Unknown or archived project — a header naming a project that doesn’t exist or isn’t active fails with 404 Not Found:
  • The default project is the baseline — naming your organization’s default project is exactly equivalent to omitting the header, for both reads and writes.
  • Scoped keys reject mismatches — with a project-scoped API key, a header naming any other project fails with 403 Forbidden (see API keys below).

SDK usage

Set the project ID on the client so every request is scoped to that project.

Authentication and project scope

API keys

API keys can be org-wide or project-scoped.
  • Organization-scoped API keys can reach resources across projects. If the key has a policy, its grants determine which actions and resources it can access. Include an X-Kernel-Project-Id header to select a project for a request.
  • Project-scoped API keys can only access resources inside the project they were issued for. Create one from the API Keys page in the dashboard, the CLI, an SDK, or the API keys guide, and pass the target project_id when generating the key. Requests made with a scoped key are automatically limited to that project — no header required. If you do send an X-Kernel-Project-Id header and it conflicts with the key’s project, the request is rejected with 403 Forbidden.
  • Most project administration requires an org-wide credential. A project-scoped key may rename its own project, but cannot create, archive, restore, or delete projects, or change project limits. See the project permissions.

OAuth

At native OAuth consent, you choose which actions the client can take and whether it can use one project or all projects. With one project selected, requests use that project automatically. With all projects selected, use X-Kernel-Project-Id or the CLI’s --project flag to target a project other than the default. Selecting a project for a request never grants access to it.

Workload identity federation

A federation rule names exactly one project, and the tokens it issues work only in that project. So does a service account API key. To give a workload access to two projects, such as staging and production, create one rule for each.

Using projects from the CLI

The Kernel CLI has first-class project support:
  • A global --project <id-or-name> flag scopes a command to a project by ID or exact name.
  • The KERNEL_PROJECT environment variable does the same, so you can set it once in your shell or CI.
  • A kernel projects command group lets you list, create, get, update, and delete projects, and manage per-project limit overrides.
Under the hood, --project (or the env var) adds the X-Kernel-Project header to every authenticated request. The project must be covered by your credential.

Managing projects

Use the /org/projects REST endpoints (or the SDKs’ projects resource) to manage projects.

Create a project

List projects

Get a project

Project names are unique within an organization. You can retrieve a project by its ID or by its name.

Update a project

Delete a project

Project deletion is a soft delete. A project that still owns active resources returns project_not_empty; the final active project returns last_active_project.

Concurrency limits

Kernel caps how many browsers can run at once, at two levels. A single limit covers both on-demand browsers (browsers.create()) and browser pools — standalone sessions and pool capacity count against the same cap.
  • Organization limit — the total concurrent browsers allowed across your whole organization, determined by your plan. See concurrency and limits for each plan’s limit. Every browser session and every browser in a browser pool counts against it.
  • Per-project limits — optional caps on individual projects, so one team or environment can’t consume the entire org limit.
Per-project caps come from two places:
  • An org-wide default — one value that every project inherits unless it sets its own. It applies to existing and newly created projects alike, so you don’t have to configure each project by hand.
  • A per-project override — an explicit cap on a single project that takes precedence over the default.
A project’s effective cap resolves in this order:
  1. The project’s explicit override, if set.
  2. Otherwise, the organization’s default project cap, if set.
  3. Otherwise, no per-project cap — only the organization limit applies.
A per-project cap never lets a project exceed your organization’s concurrency limit. Concurrency limits control how many browsers can run at once. To control monthly usage cost instead, see Spending Caps. 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.
max_pooled_sessions is deprecated. Pooled browsers now count toward max_concurrent_sessions, and requests that set max_pooled_sessions return a 400.

Set an org-wide default

Apply a default of 10 concurrent browsers to every project that doesn’t have its own override:
To cap a specific project differently, set an explicit override on it with PATCH /org/projects/{id}/limits — that value takes precedence over the default. See the API reference for full request and response schemas, including ProjectLimits for per-project concurrency caps.