import Kernel from '@onkernel/sdk';
const client = new Kernel({
apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted
});
const projectLimits = await client.projects.limits.retrieve('id');
console.log(projectLimits.max_concurrent_invocations);{
"max_concurrent_sessions": 10,
"max_persistent_sessions": 5,
"max_concurrent_invocations": 20,
"max_pooled_sessions": 50
}Get the resource limit overrides for a project. Null values mean no project-level cap (org limit applies).
import Kernel from '@onkernel/sdk';
const client = new Kernel({
apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted
});
const projectLimits = await client.projects.limits.retrieve('id');
console.log(projectLimits.max_concurrent_invocations);{
"max_concurrent_sessions": 10,
"max_persistent_sessions": 5,
"max_concurrent_invocations": 20,
"max_pooled_sessions": 50
}Documentation Index
Fetch the complete documentation index at: https://tbd-6fc993ce-hypeship-intro-create-control-observe.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Project ID
Project limits
Maximum concurrent browser sessions for this project. Null means no project-level cap.
10
Maximum persistent browser sessions for this project. Null means no project-level cap.
5
Maximum concurrent app invocations for this project. Null means no project-level cap.
20
Maximum pooled sessions capacity for this project. Null means no project-level cap.
50