Constructors

Properties

Methods

Constructors

Properties

client: Composio

Methods

  • Creates a new integration in the Composio platform.

    This method allows clients to create a new integration by providing the necessary details such as app ID, name, authentication mode, and configuration.

    Parameters

    • data: undefined | {
          appId?: string;
          authConfig?: {
              api_key?: string;
              base_url?: string;
              client_id?: string;
              client_secret?: string;
              consumer_key?: string;
              consumer_secret?: string;
              [key: string]: unknown;
          };
          authScheme?: AuthScheme;
          name?: string;
          useComposioAuth?: boolean;
      }

      The data for the request.

    Returns CancelablePromise<CreateIntegrationResponse>

    A promise that resolves to the created integration model.

    Throws

    If the request fails.

  • Retrieves details of a specific integration in the Composio platform by providing its integration name.

    The response includes the integration's name, display name, description, input parameters, expected response, associated app information, and enabled status.

    Parameters

    Returns CancelablePromise<GetIntegrationResponse>

    A promise that resolves to the details of the integration.

    Throws

    If the request fails.

  • Retrieves a list of all available integrations in the Composio platform.

    This method allows clients to explore and discover the supported integrations. It returns an array of integration objects, each containing essential details such as the integration's key, name, description, logo, categories, and unique identifier.

    Parameters

    Returns CancelablePromise<ListAllIntegrationsResponse>

    A promise that resolves to the list of all integrations.

    Throws

    If the request fails.