Membrane SDK - v0.29.2
    Preparing search index...

    Interface ElementInstanceFields

    interface ElementInstanceFields {
        id: string;
        name: string;
        revision: string;
        parentId?: string;
        universalParentId?: string;
        userId: string;
        user?: {
            id: string;
            name: string;
            meta?: Record<string, any>;
            internalId: string;
            fields?: Record<string, any>;
            credentials?: any;
            lastActiveAt?: string;
            isTest?: boolean;
            isBillable?: boolean;
            isActive?: boolean;
            aiCreditsRolling30DayLimit?: number | null;
            createdAt?: string;
            archivedAt?: string;
        };
        instanceKey?: string;
        isCustomized?: boolean;
        connectionId: string;
        connection?: {
            user?: {
                id: string;
                name: string;
                meta?: Record<string, any>;
                internalId: string;
                fields?: Record<string, any>;
                credentials?: any;
                lastActiveAt?: string;
                isTest?: boolean;
                isBillable?: boolean;
                isActive?: boolean;
                aiCreditsRolling30DayLimit?: number | null;
                createdAt?: string;
                archivedAt?: string;
            };
            integration?: {
                logoUri: string;
                connectorId?: string;
                connectorVersion?: string;
                oAuthCallbackUri?: string;
                parameters?: any;
                archivedAt?: string;
                hasMissingParameters?: boolean;
                hasDocumentation?: boolean;
                hasOperations?: boolean;
                operationsCount?: number;
                hasData?: boolean;
                dataCollectionsCount?: number;
                hasEvents?: boolean;
                eventsCount?: number;
                hasGlobalWebhooks?: boolean;
                hasUdm?: boolean;
                isTest?: boolean;
                externalAppId?: string;
                appUuid?: string;
                isDeactivated?: boolean;
                authType?: | "proxy"
                | "integration-app-token"
                | "membrane-token"
                | "oauth2"
                | "oauth1"
                | "client-credentials";
                optionsConfig?: Record<
                    string,
                    { disabled?: boolean; parameters?: Record<string, any> },
                >;
                id: string;
                uuid?: string;
                key?: string;
                description?: string;
                meta?: Record<string, any>;
                name: string;
                state?:
                    | BUILDING
                    | CLIENT_ACTION_REQUIRED
                    | CONFIGURATION_ERROR
                    | SETUP_FAILED
                    | READY
                    | DISCONNECTING;
                errors?: ErrorDataSchema[];
                revision?: string;
                createdAt?: string;
                updatedAt?: string;
                isReadOnly?: boolean;
            };
            connectorParameters?: unknown;
            input?: unknown;
            type?: "connector"
            | "mcp";
            name: string;
            key?: string;
            isTest?: boolean;
            connected?: boolean;
            disconnected?: boolean;
            isDefunct?: boolean;
            state?:
                | BUILDING
                | CLIENT_ACTION_REQUIRED
                | CONFIGURATION_ERROR
                | SETUP_FAILED
                | READY
                | DISCONNECTING;
            errors?: ErrorDataSchema[];
            requestError?: ErrorDataSchema;
            error?: ErrorDataSchema;
            integrationId?: string;
            connectorId?: string;
            externalAppId?: string;
            connectorVersion?: string;
            authOptionKey?: string;
            createdAt: string;
            updatedAt: string;
            lastActiveAt?: string;
            nextCredentialsRefreshAt?: string;
            nextRetryTimestamp?: string;
            retryAttempts?: number;
            canTest?: boolean;
            canRefreshCredentials?: boolean;
            archivedAt?: string;
            isDeactivated?: boolean;
            meta?: Record<string, any>;
            buildingAgentSessionId?: string;
            clientAction?: {
                type: "connect" | "provide-input";
                description: string;
                uiUrl?: string;
                agentInstructions?: string;
                handoffAgentInstructions?: string;
                reason?: "provide-input" | "authenticate" | "reauthenticate";
            };
            id: string;
            userId: string;
            tenantId?: string;
        };
        integrationId?: string;
        integration?: {
            connection?: {
                type?: "connector"
                | "mcp";
                name: string;
                key?: string;
                isTest?: boolean;
                connected?: boolean;
                disconnected?: boolean;
                isDefunct?: boolean;
                state?:
                    | BUILDING
                    | CLIENT_ACTION_REQUIRED
                    | CONFIGURATION_ERROR
                    | SETUP_FAILED
                    | READY
                    | DISCONNECTING;
                errors?: ErrorDataSchema[];
                requestError?: ErrorDataSchema;
                error?: ErrorDataSchema;
                integrationId?: string;
                connectorId?: string;
                externalAppId?: string;
                connectorVersion?: string;
                authOptionKey?: string;
                createdAt: string;
                updatedAt: string;
                lastActiveAt?: string;
                nextCredentialsRefreshAt?: string;
                nextRetryTimestamp?: string;
                retryAttempts?: number;
                canTest?: boolean;
                canRefreshCredentials?: boolean;
                archivedAt?: string;
                isDeactivated?: boolean;
                meta?: Record<string, any>;
                buildingAgentSessionId?: string;
                clientAction?: {
                    type: "connect" | "provide-input";
                    description: string;
                    uiUrl?: string;
                    agentInstructions?: string;
                    handoffAgentInstructions?: string;
                    reason?: "provide-input" | "authenticate" | "reauthenticate";
                };
                id: string;
                userId: string;
                tenantId?: string;
            };
            spec?: any;
            authOptions?: {
                key: string;
                type: | "proxy"
                | "integration-app-token"
                | "membrane-token"
                | "oauth2"
                | "oauth1"
                | "client-credentials";
                title?: string;
                description?: string;
                inputSchema?: DataSchema;
                ui?: { schema?: any; helpUri?: string };
            }[];
            id?: string;
            logoUri?: string;
            appUri?: string;
            isConnected?: boolean;
            connectorId?: string;
            connectorVersion?: string;
            oAuthCallbackUri?: string;
            parameters?: any;
            archivedAt?: string;
            hasMissingParameters?: boolean;
            hasDocumentation?: boolean;
            hasOperations?: boolean;
            operationsCount?: number;
            hasData?: boolean;
            dataCollectionsCount?: number;
            hasEvents?: boolean;
            eventsCount?: number;
            hasGlobalWebhooks?: boolean;
            hasUdm?: boolean;
            isTest?: boolean;
            externalAppId?: string;
            appUuid?: string;
            isDeactivated?: boolean;
            authType?: | "proxy"
            | "integration-app-token"
            | "membrane-token"
            | "oauth2"
            | "oauth1"
            | "client-credentials";
            optionsConfig?: Record<
                string,
                { disabled?: boolean; parameters?: Record<string, any> },
            >;
            uuid?: string;
            key?: string;
            description?: string;
            meta?: Record<string, any>;
            name: string;
            state?:
                | BUILDING
                | CLIENT_ACTION_REQUIRED
                | CONFIGURATION_ERROR
                | SETUP_FAILED
                | READY
                | DISCONNECTING;
            errors?: ErrorDataSchema[];
            revision?: string;
            createdAt?: string;
            updatedAt?: string;
            isReadOnly?: boolean;
        };
        dependencies?: IntegrationElementInstance[];
        errors?: ErrorData[];
        createdAt?: string;
        updatedAt?: string;
        archivedAt?: string;
    }
    Index

    Properties

    id: string
    name: string
    revision: string
    parentId?: string
    universalParentId?: string
    userId: string
    user?: {
        id: string;
        name: string;
        meta?: Record<string, any>;
        internalId: string;
        fields?: Record<string, any>;
        credentials?: any;
        lastActiveAt?: string;
        isTest?: boolean;
        isBillable?: boolean;
        isActive?: boolean;
        aiCreditsRolling30DayLimit?: number | null;
        createdAt?: string;
        archivedAt?: string;
    }
    instanceKey?: string
    isCustomized?: boolean
    connectionId: string
    connection?: {
        user?: {
            id: string;
            name: string;
            meta?: Record<string, any>;
            internalId: string;
            fields?: Record<string, any>;
            credentials?: any;
            lastActiveAt?: string;
            isTest?: boolean;
            isBillable?: boolean;
            isActive?: boolean;
            aiCreditsRolling30DayLimit?: number | null;
            createdAt?: string;
            archivedAt?: string;
        };
        integration?: {
            logoUri: string;
            connectorId?: string;
            connectorVersion?: string;
            oAuthCallbackUri?: string;
            parameters?: any;
            archivedAt?: string;
            hasMissingParameters?: boolean;
            hasDocumentation?: boolean;
            hasOperations?: boolean;
            operationsCount?: number;
            hasData?: boolean;
            dataCollectionsCount?: number;
            hasEvents?: boolean;
            eventsCount?: number;
            hasGlobalWebhooks?: boolean;
            hasUdm?: boolean;
            isTest?: boolean;
            externalAppId?: string;
            appUuid?: string;
            isDeactivated?: boolean;
            authType?: | "proxy"
            | "integration-app-token"
            | "membrane-token"
            | "oauth2"
            | "oauth1"
            | "client-credentials";
            optionsConfig?: Record<
                string,
                { disabled?: boolean; parameters?: Record<string, any> },
            >;
            id: string;
            uuid?: string;
            key?: string;
            description?: string;
            meta?: Record<string, any>;
            name: string;
            state?:
                | BUILDING
                | CLIENT_ACTION_REQUIRED
                | CONFIGURATION_ERROR
                | SETUP_FAILED
                | READY
                | DISCONNECTING;
            errors?: ErrorDataSchema[];
            revision?: string;
            createdAt?: string;
            updatedAt?: string;
            isReadOnly?: boolean;
        };
        connectorParameters?: unknown;
        input?: unknown;
        type?: "connector"
        | "mcp";
        name: string;
        key?: string;
        isTest?: boolean;
        connected?: boolean;
        disconnected?: boolean;
        isDefunct?: boolean;
        state?:
            | BUILDING
            | CLIENT_ACTION_REQUIRED
            | CONFIGURATION_ERROR
            | SETUP_FAILED
            | READY
            | DISCONNECTING;
        errors?: ErrorDataSchema[];
        requestError?: ErrorDataSchema;
        error?: ErrorDataSchema;
        integrationId?: string;
        connectorId?: string;
        externalAppId?: string;
        connectorVersion?: string;
        authOptionKey?: string;
        createdAt: string;
        updatedAt: string;
        lastActiveAt?: string;
        nextCredentialsRefreshAt?: string;
        nextRetryTimestamp?: string;
        retryAttempts?: number;
        canTest?: boolean;
        canRefreshCredentials?: boolean;
        archivedAt?: string;
        isDeactivated?: boolean;
        meta?: Record<string, any>;
        buildingAgentSessionId?: string;
        clientAction?: {
            type: "connect" | "provide-input";
            description: string;
            uiUrl?: string;
            agentInstructions?: string;
            handoffAgentInstructions?: string;
            reason?: "provide-input" | "authenticate" | "reauthenticate";
        };
        id: string;
        userId: string;
        tenantId?: string;
    }

    Type Declaration

    • Optionaluser?: {
          id: string;
          name: string;
          meta?: Record<string, any>;
          internalId: string;
          fields?: Record<string, any>;
          credentials?: any;
          lastActiveAt?: string;
          isTest?: boolean;
          isBillable?: boolean;
          isActive?: boolean;
          aiCreditsRolling30DayLimit?: number | null;
          createdAt?: string;
          archivedAt?: string;
      }
    • Optionalintegration?: {
          logoUri: string;
          connectorId?: string;
          connectorVersion?: string;
          oAuthCallbackUri?: string;
          parameters?: any;
          archivedAt?: string;
          hasMissingParameters?: boolean;
          hasDocumentation?: boolean;
          hasOperations?: boolean;
          operationsCount?: number;
          hasData?: boolean;
          dataCollectionsCount?: number;
          hasEvents?: boolean;
          eventsCount?: number;
          hasGlobalWebhooks?: boolean;
          hasUdm?: boolean;
          isTest?: boolean;
          externalAppId?: string;
          appUuid?: string;
          isDeactivated?: boolean;
          authType?:
              | "proxy"
              | "integration-app-token"
              | "membrane-token"
              | "oauth2"
              | "oauth1"
              | "client-credentials";
          optionsConfig?: Record<
              string,
              { disabled?: boolean; parameters?: Record<string, any> },
          >;
          id: string;
          uuid?: string;
          key?: string;
          description?: string;
          meta?: Record<string, any>;
          name: string;
          state?:
              | BUILDING
              | CLIENT_ACTION_REQUIRED
              | CONFIGURATION_ERROR
              | SETUP_FAILED
              | READY
              | DISCONNECTING;
          errors?: ErrorDataSchema[];
          revision?: string;
          createdAt?: string;
          updatedAt?: string;
          isReadOnly?: boolean;
      }
      • logoUri: string

        Publicly accessible logo of the integrated app.

      • OptionalconnectorId?: string
      • OptionalconnectorVersion?: string
      • OptionaloAuthCallbackUri?: string
      • Optionalparameters?: any
      • OptionalarchivedAt?: string
      • OptionalhasMissingParameters?: boolean
      • OptionalhasDocumentation?: boolean
      • OptionalhasOperations?: boolean
      • OptionaloperationsCount?: number
      • OptionalhasData?: boolean
      • OptionaldataCollectionsCount?: number
      • OptionalhasEvents?: boolean
      • OptionaleventsCount?: number
      • OptionalhasGlobalWebhooks?: boolean
      • OptionalhasUdm?: boolean
      • OptionalisTest?: boolean
      • OptionalexternalAppId?: string
      • OptionalappUuid?: string

        Use externalAppId instead

      • OptionalisDeactivated?: boolean
      • OptionalauthType?:
            | "proxy"
            | "integration-app-token"
            | "membrane-token"
            | "oauth2"
            | "oauth1"
            | "client-credentials"
        • use authOptions instead
      • OptionaloptionsConfig?: Record<string, { disabled?: boolean; parameters?: Record<string, any> }>

        Per-auth-option configuration. Only returned with includeSecrets=true.

      • id: string
      • Optionaluuid?: string
      • Optionalkey?: string
      • Optionaldescription?: string
      • Optionalmeta?: Record<string, any>
      • name: string
      • Optionalstate?:
            | BUILDING
            | CLIENT_ACTION_REQUIRED
            | CONFIGURATION_ERROR
            | SETUP_FAILED
            | READY
            | DISCONNECTING
      • Optionalerrors?: ErrorDataSchema[]
      • Optionalrevision?: string
      • OptionalcreatedAt?: string
      • OptionalupdatedAt?: string
      • OptionalisReadOnly?: boolean
    • OptionalconnectorParameters?: unknown

      Decrypted connector parameters (e.g. OAuth app clientId/clientSecret/scopes for BYO-OAuth). Returned on single GET /connections/:id for any authenticated caller.

      Deliberate access asymmetry with list GET /connections, which gates these fields behind isWorkspaceManager + includeSecrets. Safe on single-GET post-CORE-586: connection docs no longer inherit integration-level params, so connectorParameters is purely tenant-written data. Kept off list responses for payload-bloat reasons, not security.

    • Optionalinput?: unknown

      Decrypted connection input (e.g. API key, form values the tenant provided). Returned on single GET /connections/:id for any authenticated caller — genuinely tenant-owned.

    • Optionaltype?: "connector" | "mcp"

      Discriminator for what backs the connection. Undefined = legacy connector-backed. 'mcp' connections have no connectorId and target an arbitrary MCP server URL.

    • name: string

      User-readable name of the connection

    • Optionalkey?: string

      Stable, human-readable key for addressing this connection. Unique per tenant. Matches the convention used for all workspace element keys.

    • OptionalisTest?: boolean
    • Optionalconnected?: boolean

      Whether the connection has been successfully authenticated and verified.

    • Optionaldisconnected?: boolean

      Use connected instead.

    • OptionalisDefunct?: boolean
      • use isDeactivated instead
    • Optionalstate?:
          | BUILDING
          | CLIENT_ACTION_REQUIRED
          | CONFIGURATION_ERROR
          | SETUP_FAILED
          | READY
          | DISCONNECTING
    • Optionalerrors?: ErrorDataSchema[]

      Validation or setup errors when state is not READY.

    • OptionalrequestError?: ErrorDataSchema

      Last error from a runtime operation (credential refresh, connection test, API call). Cleared when the operation succeeds.

    • Optionalerror?: ErrorDataSchema

      Use requestError and errors instead.

    • OptionalintegrationId?: string

      Id of an integration the connection is created with. Optional if connectorId is provided.

    • OptionalconnectorId?: string

      Id of a connector the connection is created with. Used for direct connector-based connections (without an integration).

    • OptionalexternalAppId?: string

      Id of an external app linked to this connection.

    • OptionalconnectorVersion?: string

      Version of the connector to use. Only applicable when connectorId is set.

    • OptionalauthOptionKey?: string
    • createdAt: string
    • updatedAt: string
    • OptionallastActiveAt?: string

      Timestamp when the connection was last active

    • OptionalnextCredentialsRefreshAt?: string

      Timestamp when the connection credentials should be refreshed

    • OptionalnextRetryTimestamp?: string

      Timestamp when the next connection retry should be attempted

    • OptionalretryAttempts?: number

      Number of retry attempts made for this connection

    • OptionalcanTest?: boolean

      Whether the connection can be tested

    • OptionalcanRefreshCredentials?: boolean

      Whether the connection credentials can be refreshed

    • OptionalarchivedAt?: string
    • OptionalisDeactivated?: boolean
    • Optionalmeta?: Record<string, any>
    • OptionalbuildingAgentSessionId?: string
    • OptionalclientAction?: {
          type: "connect" | "provide-input";
          description: string;
          uiUrl?: string;
          agentInstructions?: string;
          handoffAgentInstructions?: string;
          reason?: "provide-input" | "authenticate" | "reauthenticate";
      }
    • id: string
    • userId: string
    • OptionaltenantId?: string
    integrationId?: string
    integration?: {
        connection?: {
            type?: "connector" | "mcp";
            name: string;
            key?: string;
            isTest?: boolean;
            connected?: boolean;
            disconnected?: boolean;
            isDefunct?: boolean;
            state?:
                | BUILDING
                | CLIENT_ACTION_REQUIRED
                | CONFIGURATION_ERROR
                | SETUP_FAILED
                | READY
                | DISCONNECTING;
            errors?: ErrorDataSchema[];
            requestError?: ErrorDataSchema;
            error?: ErrorDataSchema;
            integrationId?: string;
            connectorId?: string;
            externalAppId?: string;
            connectorVersion?: string;
            authOptionKey?: string;
            createdAt: string;
            updatedAt: string;
            lastActiveAt?: string;
            nextCredentialsRefreshAt?: string;
            nextRetryTimestamp?: string;
            retryAttempts?: number;
            canTest?: boolean;
            canRefreshCredentials?: boolean;
            archivedAt?: string;
            isDeactivated?: boolean;
            meta?: Record<string, any>;
            buildingAgentSessionId?: string;
            clientAction?: {
                type: "connect" | "provide-input";
                description: string;
                uiUrl?: string;
                agentInstructions?: string;
                handoffAgentInstructions?: string;
                reason?: "provide-input" | "authenticate" | "reauthenticate";
            };
            id: string;
            userId: string;
            tenantId?: string;
        };
        spec?: any;
        authOptions?: {
            key: string;
            type: | "proxy"
            | "integration-app-token"
            | "membrane-token"
            | "oauth2"
            | "oauth1"
            | "client-credentials";
            title?: string;
            description?: string;
            inputSchema?: DataSchema;
            ui?: { schema?: any; helpUri?: string };
        }[];
        id?: string;
        logoUri?: string;
        appUri?: string;
        isConnected?: boolean;
        connectorId?: string;
        connectorVersion?: string;
        oAuthCallbackUri?: string;
        parameters?: any;
        archivedAt?: string;
        hasMissingParameters?: boolean;
        hasDocumentation?: boolean;
        hasOperations?: boolean;
        operationsCount?: number;
        hasData?: boolean;
        dataCollectionsCount?: number;
        hasEvents?: boolean;
        eventsCount?: number;
        hasGlobalWebhooks?: boolean;
        hasUdm?: boolean;
        isTest?: boolean;
        externalAppId?: string;
        appUuid?: string;
        isDeactivated?: boolean;
        authType?: | "proxy"
        | "integration-app-token"
        | "membrane-token"
        | "oauth2"
        | "oauth1"
        | "client-credentials";
        optionsConfig?: Record<
            string,
            { disabled?: boolean; parameters?: Record<string, any> },
        >;
        uuid?: string;
        key?: string;
        description?: string;
        meta?: Record<string, any>;
        name: string;
        state?:
            | BUILDING
            | CLIENT_ACTION_REQUIRED
            | CONFIGURATION_ERROR
            | SETUP_FAILED
            | READY
            | DISCONNECTING;
        errors?: ErrorDataSchema[];
        revision?: string;
        createdAt?: string;
        updatedAt?: string;
        isReadOnly?: boolean;
    }

    Type Declaration

    • Optionalconnection?: {
          type?: "connector" | "mcp";
          name: string;
          key?: string;
          isTest?: boolean;
          connected?: boolean;
          disconnected?: boolean;
          isDefunct?: boolean;
          state?:
              | BUILDING
              | CLIENT_ACTION_REQUIRED
              | CONFIGURATION_ERROR
              | SETUP_FAILED
              | READY
              | DISCONNECTING;
          errors?: ErrorDataSchema[];
          requestError?: ErrorDataSchema;
          error?: ErrorDataSchema;
          integrationId?: string;
          connectorId?: string;
          externalAppId?: string;
          connectorVersion?: string;
          authOptionKey?: string;
          createdAt: string;
          updatedAt: string;
          lastActiveAt?: string;
          nextCredentialsRefreshAt?: string;
          nextRetryTimestamp?: string;
          retryAttempts?: number;
          canTest?: boolean;
          canRefreshCredentials?: boolean;
          archivedAt?: string;
          isDeactivated?: boolean;
          meta?: Record<string, any>;
          buildingAgentSessionId?: string;
          clientAction?: {
              type: "connect" | "provide-input";
              description: string;
              uiUrl?: string;
              agentInstructions?: string;
              handoffAgentInstructions?: string;
              reason?: "provide-input" | "authenticate" | "reauthenticate";
          };
          id: string;
          userId: string;
          tenantId?: string;
      }
      • Optionaltype?: "connector" | "mcp"

        Discriminator for what backs the connection. Undefined = legacy connector-backed. 'mcp' connections have no connectorId and target an arbitrary MCP server URL.

      • name: string

        User-readable name of the connection

      • Optionalkey?: string

        Stable, human-readable key for addressing this connection. Unique per tenant. Matches the convention used for all workspace element keys.

      • OptionalisTest?: boolean
      • Optionalconnected?: boolean

        Whether the connection has been successfully authenticated and verified.

      • Optionaldisconnected?: boolean

        Use connected instead.

      • OptionalisDefunct?: boolean
        • use isDeactivated instead
      • Optionalstate?:
            | BUILDING
            | CLIENT_ACTION_REQUIRED
            | CONFIGURATION_ERROR
            | SETUP_FAILED
            | READY
            | DISCONNECTING
      • Optionalerrors?: ErrorDataSchema[]

        Validation or setup errors when state is not READY.

      • OptionalrequestError?: ErrorDataSchema

        Last error from a runtime operation (credential refresh, connection test, API call). Cleared when the operation succeeds.

      • Optionalerror?: ErrorDataSchema

        Use requestError and errors instead.

      • OptionalintegrationId?: string

        Id of an integration the connection is created with. Optional if connectorId is provided.

      • OptionalconnectorId?: string

        Id of a connector the connection is created with. Used for direct connector-based connections (without an integration).

      • OptionalexternalAppId?: string

        Id of an external app linked to this connection.

      • OptionalconnectorVersion?: string

        Version of the connector to use. Only applicable when connectorId is set.

      • OptionalauthOptionKey?: string
      • createdAt: string
      • updatedAt: string
      • OptionallastActiveAt?: string

        Timestamp when the connection was last active

      • OptionalnextCredentialsRefreshAt?: string

        Timestamp when the connection credentials should be refreshed

      • OptionalnextRetryTimestamp?: string

        Timestamp when the next connection retry should be attempted

      • OptionalretryAttempts?: number

        Number of retry attempts made for this connection

      • OptionalcanTest?: boolean

        Whether the connection can be tested

      • OptionalcanRefreshCredentials?: boolean

        Whether the connection credentials can be refreshed

      • OptionalarchivedAt?: string
      • OptionalisDeactivated?: boolean
      • Optionalmeta?: Record<string, any>
      • OptionalbuildingAgentSessionId?: string
      • OptionalclientAction?: {
            type: "connect" | "provide-input";
            description: string;
            uiUrl?: string;
            agentInstructions?: string;
            handoffAgentInstructions?: string;
            reason?: "provide-input" | "authenticate" | "reauthenticate";
        }
      • id: string
      • userId: string
      • OptionaltenantId?: string
    • Optionalspec?: any
    • OptionalauthOptions?: {
          key: string;
          type:
              | "proxy"
              | "integration-app-token"
              | "membrane-token"
              | "oauth2"
              | "oauth1"
              | "client-credentials";
          title?: string;
          description?: string;
          inputSchema?: DataSchema;
          ui?: { schema?: any; helpUri?: string };
      }[]

      Use POST /connectors/:id/generate-options endpoint instead

    • Optionalid?: string
    • OptionallogoUri?: string
    • OptionalappUri?: string
    • OptionalisConnected?: boolean

      Whether the underlying external app has recent API activity for the current workspace. Derived from externalAppId; absent when the integration has no external app attached.

    • OptionalconnectorId?: string
    • OptionalconnectorVersion?: string
    • OptionaloAuthCallbackUri?: string
    • Optionalparameters?: any
    • OptionalarchivedAt?: string
    • OptionalhasMissingParameters?: boolean
    • OptionalhasDocumentation?: boolean
    • OptionalhasOperations?: boolean
    • OptionaloperationsCount?: number
    • OptionalhasData?: boolean
    • OptionaldataCollectionsCount?: number
    • OptionalhasEvents?: boolean
    • OptionaleventsCount?: number
    • OptionalhasGlobalWebhooks?: boolean
    • OptionalhasUdm?: boolean
    • OptionalisTest?: boolean
    • OptionalexternalAppId?: string
    • OptionalappUuid?: string

      Use externalAppId instead

    • OptionalisDeactivated?: boolean
    • OptionalauthType?:
          | "proxy"
          | "integration-app-token"
          | "membrane-token"
          | "oauth2"
          | "oauth1"
          | "client-credentials"
      • use authOptions instead
    • OptionaloptionsConfig?: Record<string, { disabled?: boolean; parameters?: Record<string, any> }>

      Per-auth-option configuration. Only returned with includeSecrets=true.

    • Optionaluuid?: string
    • Optionalkey?: string
    • Optionaldescription?: string
    • Optionalmeta?: Record<string, any>
    • name: string
    • Optionalstate?:
          | BUILDING
          | CLIENT_ACTION_REQUIRED
          | CONFIGURATION_ERROR
          | SETUP_FAILED
          | READY
          | DISCONNECTING
    • Optionalerrors?: ErrorDataSchema[]
    • Optionalrevision?: string
    • OptionalcreatedAt?: string
    • OptionalupdatedAt?: string
    • OptionalisReadOnly?: boolean
    errors?: ErrorData[]
    createdAt?: string
    updatedAt?: string
    archivedAt?: string