# POST /v1/devboxes/{}/execute_sync is deprecated

Runloop API deprecated POST /v1/devboxes/{}/execute_sync without giving a shutdown date yet.

The POST /v1/devboxes/{}/execute_sync endpoint has been deprecated without a shutdown date. Calls made to this endpoint will eventually fail. The provider advises that users please use /execute_async instead to synchronously execute a shell command on a Devbox.

## What to use instead

Start the command with POST /v1/devboxes/{id}/execute_async and read its result from the returned execution.

- API: Runloop API (api.runloop.ai)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/devboxes/{}/execute_sync`
- Source: [Announcement](https://docs.runloop.ai/api-reference/devbox/deprecated-please-use-execute_async-synchronously-execute-a-shell-command-on-a-devbox.md)
- Verified: October 26, 2026, against Runloop API's own pages
- Page: https://www.okapi.bot/providers/runloop-api/breaking-changes/post-v1-devboxes-execute-sync-is-deprecated/

## Runloop API's words

> (Deprecated, please use /execute_async) Synchronously execute a shell command on a Devbox

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
