Skip to main content
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

Authorization
string
header
required

Your Klavis AI API key.

Query Parameters

benchmark
enum<string> | null

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