examples for automation apis