API access to GitHub Codespaces


I was wondering if there is an API available somewhere that allows me to execute commands remotely in my Dev Container on GitHub Codespaces. For example, pass in a POST-HttpRequest a Linux command that will be executed in the container on Codespaces.

Thank you in advance!