Skip to content

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

605 B
Raw Blame
import { SeekPage } from '@activepieces/core-utils';
import {
  ListPlatformAppConnectionsRequestQuery,
  PlatformAppConnectionOwnersResponse,
  PlatformAppConnectionsListItem,
} from '@activepieces/shared';

import { api } from '@/lib/api';

export const platformAppConnectionsApi = {
  list(request: ListPlatformAppConnectionsRequestQuery) {
    return api.get<SeekPage<PlatformAppConnectionsListItem>>(
      '/v1/platform-app-connections',
      request,
    );
  },
  listOwners() {
    return api.get<PlatformAppConnectionOwnersResponse>(
      '/v1/platform-app-connections/owners',
    );
  },
};