When using the AI Actions API, there are two ways that actions can be run: stored and stateless.

Stored Actions

Click here to get started with stored actions!

Stored actions are configured ahead of time, either using the AI Actions UI or the provided management endpoints.

Only user instructions and parameter hints are needed when running them.

Planned improvements to stored actions
While stored actions can only currently be configured on the AI Actions domain, work is planned to provide APIs and components that allow you to embed action configuration in your own UI.

Stateless Actions

Click here to get started with stateless actions!

Stateless actions are run by providing all the necessary parameters at runtime.

This gives you greater control over how actions are run.