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

444 B
Raw Blame
import {
  PlatformConfiguration,
  UpdatePlatformConfigurationRequestBody,
} from '@activepieces/shared';

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

export const platformConfigurationApi = {
  get() {
    return api.get<PlatformConfiguration>('/v1/platform-configurations');
  },
  update(request: UpdatePlatformConfigurationRequestBody) {
    return api.post<PlatformConfiguration>(
      '/v1/platform-configurations',
      request,
    );
  },
};