Skip to main content
PATCH
/
projects
/
{id}
/
limits
Update project limits
curl --request PATCH \
  --url https://api.onkernel.com/projects/{id}/limits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "max_concurrent_sessions": 123,
  "max_concurrent_invocations": 123,
  "max_pooled_sessions": 123
}
'
{
  "max_concurrent_sessions": 10,
  "max_concurrent_invocations": 20,
  "max_pooled_sessions": 50
}

Documentation Index

Fetch the complete documentation index at: https://tbd-6fc993ce-hypeship-persist-sidebar-scroll.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Project ID

Body

application/json
max_concurrent_sessions
integer | null

Maximum concurrent browser sessions for this project. Set to 0 to remove the cap; omit to leave unchanged.

max_concurrent_invocations
integer | null

Maximum concurrent app invocations for this project. Set to 0 to remove the cap; omit to leave unchanged.

max_pooled_sessions
integer | null

Maximum pooled sessions capacity for this project. Set to 0 to remove the cap; omit to leave unchanged.

Response

Project limits updated

max_concurrent_sessions
integer | null

Maximum concurrent browser sessions for this project. Null means no project-level cap.

Example:

10

max_concurrent_invocations
integer | null

Maximum concurrent app invocations for this project. Null means no project-level cap.

Example:

20

max_pooled_sessions
integer | null

Maximum pooled sessions capacity for this project. Null means no project-level cap.

Example:

50