> ## Documentation Index
> Fetch the complete documentation index at: https://tbd-6fc993ce-hypeship-changelog-august-13.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update organization limits

> Set the default per-project concurrency cap applied to projects without an explicit override. Set the value to 0 to remove the default; omit to leave it unchanged. The default cannot exceed the organization's concurrency limit.



## OpenAPI

````yaml https://api.onkernel.com/spec.json patch /org/limits
openapi: 3.1.0
info:
  description: Developer tools and cloud infrastructure for AI agents to use web browsers
  title: Kernel API
  version: 0.1.0
servers:
  - description: API Server
    url: https://api.onkernel.com
security:
  - bearerAuth: []
tags:
  - description: Create and manage browser sessions.
    name: Browsers
  - description: Control mouse, keyboard, and screen on the browser instance.
    name: Browser Computer Controls
  - description: Execute Playwright code against the browser instance.
    name: Browser Playwright
  - description: Read, write, and manage files on the browser instance.
    name: Browser Filesystem
  - description: Execute and manage processes on the browser instance.
    name: Browser Processes
  - description: Record and manage browser session video replays.
    name: Browser Replays
  - description: Stream logs from the browser instance.
    name: Browser Logs
  - description: Stream live telemetry events from a browser session.
    name: Browser Telemetry
  - description: Create, list, retrieve, and delete browser profiles.
    name: Profiles
  - description: Create and manage proxy configurations for routing browser traffic.
    name: Proxies
  - description: Create, list, retrieve, and delete browser extensions.
    name: Extensions
  - description: Create and manage browser pools for acquiring and releasing browsers.
    name: Browser Pools
  - description: Inspect the identity and authorization context for the current request.
    name: Authentication
  - description: >-
      Create and manage auth connections for automated credential capture and
      login.
    name: Managed Auth
  - description: Create and manage credentials for authentication.
    name: Credentials
  - description: Configure external credential providers like 1Password.
    name: Credential Providers
  - description: List applications and versions.
    name: Apps
  - description: Create and manage app deployments and stream deployment events.
    name: Deployments
  - description: Invoke actions and stream or query invocation status and events.
    name: Invocations
  - description: Read and manage organization-level limits.
    name: Organization
  - description: |
      Create and manage projects for resource isolation within an organization.
      When projects are disabled for the organization, project operations return
      `404` with code `projects_disabled`.
    name: Projects
  - description: Create and manage API keys for organization and project-scoped access.
    name: API Keys
  - description: Read audit log records for the authenticated organization.
    name: Audit Logs
  - description: Resolve browser and proxy recommendations for bot-protected sites.
    name: Site Configs
paths:
  /org/limits:
    patch:
      tags:
        - Organization
      summary: Update organization limits
      description: >-
        Set the default per-project concurrency cap applied to projects without
        an explicit override. Set the value to 0 to remove the default; omit to
        leave it unchanged. The default cannot exceed the organization's
        concurrency limit.
      operationId: patchOrgLimits
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrgLimitsRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgLimits'
          description: Organization limits updated
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateOrgLimitsRequest:
      properties:
        default_project_max_concurrent_sessions:
          description: >-
            Default maximum concurrent browsers for projects without an explicit
            override. Set to 0 to remove the default; omit to leave unchanged.
            Cannot exceed the organization's concurrency limit.
          nullable: true
          type: integer
      type: object
    OrgLimits:
      properties:
        auth_connections_used:
          description: >-
            The organization's current non-deleted managed auth connections,
            counted org-wide across every project. Compare against
            max_auth_connections to show remaining capacity before a create is
            rejected with 403 insufficient_plan.
          example: 2
          type: integer
        default_project_max_concurrent_sessions:
          description: >-
            Default maximum concurrent browsers 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
          nullable: true
          type: integer
        max_auth_connections:
          description: >-
            Maximum managed auth connections the organization's plan allows.
            Null means unlimited. Counted org-wide, so it cannot be multiplied
            across projects.
          example: 3
          nullable: true
          type: integer
        max_concurrent_sessions:
          description: >-
            The organization's effective concurrency limit — the maximum
            browsers running at once, covering both on-demand sessions and
            browser pool reservations — from its plan or an override. Read-only
            and shared across all projects in the org; a per-project default
            cannot exceed it.
          example: 500
          type: integer
        min_health_check_interval_seconds:
          description: >-
            Smallest health_check_interval the organization's plan accepts on a
            managed auth connection. Requests below this are rejected with 400.
            Existing connections stored below the floor are grandfathered until
            edited.
          example: 21600
          type: integer
      required:
        - max_auth_connections
        - auth_connections_used
        - min_health_check_interval_seconds
      type: object
    Error:
      properties:
        code:
          description: Application-specific error code (machine-readable)
          example: bad_request
          type: string
        details:
          description: Additional error details (for multiple errors)
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
        inner_error:
          $ref: '#/components/schemas/ErrorDetail'
        message:
          description: Human-readable error description for debugging
          example: 'Missing required field: app_name'
          type: string
      required:
        - code
        - message
      type: object
    ErrorDetail:
      properties:
        code:
          description: Lower-level error code providing more specific detail
          example: invalid_input
          type: string
        message:
          description: Further detail about the error
          example: Provided version string is not semver compliant
          type: string
      type: object
  responses:
    BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Bad Request – invalid input
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Unauthorized – missing or invalid authorization token
    Forbidden:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Forbidden – insufficient permissions or plan
    InternalError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Internal Server Error
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````