Drive a Studio app
List and execute an app's actions over HTTP.
An app built in Studio can expose actions, and those actions can be listed and executed over the public API. That is how something you built in Studio becomes callable by the rest of your stack.
Steps
- Register the actions in the Studio project — see Project integrations and custom tools.
- Call the actions endpoint to list what is available.
- Execute one, with its parameters.
You're done when an external call executes an action and returns its result.
Gotchas
- Actions are per project. Keys and actions are scoped to the project that registered them.
- The app has to be running. Executing an action on a project whose host is asleep fails until the host wakes.