AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { SeekPage } from '@activepieces/core-utils';
import {
Alert,
CreateAlertParams,
ListAlertsParams,
} from '@activepieces/shared';
import { api } from '@/lib/api';
export const alertsApi = {
create(request: CreateAlertParams): Promise<Alert> {
return api.post<Alert>('/v1/alerts', request);
},
list(request: ListAlertsParams): Promise<SeekPage<Alert>> {
return api.get<SeekPage<Alert>>('/v1/alerts', request);
},
delete(alertId: string): Promise<void> {
return api.delete<void>(`/v1/alerts/${alertId}`);
},
};