Prepare sandbox infrastructure for high demand
curl --request POST \
--url https://api.klavis.ai/sandbox/prepare \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.klavis.ai/sandbox/prepare"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/sandbox/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/sandbox/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Sandbox
Prepare sandbox infrastructure for high demand
Scale up sandbox capacity for the specified benchmark in anticipation of heavy usage. The capacity boost is temporary and reverts automatically after approximately 1 hour. Can be called multiple times for different benchmarks; each benchmark’s capacity is managed independently.
POST
/
sandbox
/
prepare
Prepare sandbox infrastructure for high demand
curl --request POST \
--url https://api.klavis.ai/sandbox/prepare \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.klavis.ai/sandbox/prepare"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/sandbox/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.klavis.ai/sandbox/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Your Klavis AI API key.
Query Parameters
The benchmark to prepare capacity for. Defaults to general capacity if not specified. Supported benchmarks for sandbox initial environment
Available options:
MCP_Atlas, Toolathlon, MCP_Mark Response
Successful Response
