curl --request POST \
--url https://api.getcargo.io/v1/context/runtime/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"command": "<string>",
"args": [
"<string>"
]
}
'{
"exitCode": 123,
"stdout": "<string>",
"stderr": "<string>",
"dirty": true
}Run a shell command in the workspace runtime sandbox. Changes are persisted in the snapshot but never pushed to GitHub.
curl --request POST \
--url https://api.getcargo.io/v1/context/runtime/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"command": "<string>",
"args": [
"<string>"
]
}
'{
"exitCode": 123,
"stdout": "<string>",
"stderr": "<string>",
"dirty": true
}Documentation Index
Fetch the complete documentation index at: https://docs.getcargo.ai/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.
Was this page helpful?