try {
const input = {action_id: 'my-action-id'};
const {data:{action}} = await dots.action.getAction(input);
console.log(action);
} catch (error) {
console.log(error);
}
try {
const input = {per_page: 100};
const {data:{actions}} = await dots.action.listActions(input);
console.log(actions);
} catch (error) {
console.log(error);
}