Introduction
The AI Actions API client can be used to interact with any of the API endpoints that AI Actions supports. Below are a few examples of common uses for the client.Creating a client
See the authentication guide for more information on how to authenticate.Checking a user’s authentication
This is useful if you want to check if a user’s AI Actions OAuth token is valid.Error handling
The@zapier/ai-actions
package exports an AiActionsHttpError
type that can be used to get JSON from errors.
Listing a user’s actions
Actions can be created or edited either on the AI Actions website or using the@zapier/ai-actions-react
library