Request
Body Params application/jsonRequired
{
"sandbox_id": "string",
"command": "string",
"envs": {},
"cwd": "string"
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/v1/302/claude-code/commands' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"sandbox_id": "string",
"command": "string",
"envs": {},
"cwd": "string"
}'
Responses
application/json {
"success": true,
"result": {
"exit_code": 0,
"stdout": "string",
"stderr": "string",
"error": "string"
}
}
Modified at 2025-12-19 11:49:23