Skip to main content

IntegrationMutations

No description

type IntegrationMutations {
connectVendorMcp(
integrationId: Long!
): Integration
createIntegration(
integrationType: String!
name: String!
config: String!
secret: String!
): Integration
updateIntegration(
integrationId: Long!
name: String!
enabled: Boolean!
config: String!
secret: String
): Integration
setIntegrationBarryEnabled(
integrationId: Long!
barryEnabled: Boolean!
): Integration
deleteIntegration(
integrationId: Long!
): Boolean
testConnection(
integrationType: String!
config: String!
secret: String
integrationId: Long
): String
testAccessToken(
secret: String!
integrationId: Long
): String
testClientCredentials(
secret: String!
integrationId: Long
): String
generateAiJsonSchema(
integrationId: Long!
model: String!
prompt: String!
): String
}

Fields​

IntegrationMutations.connectVendorMcp ● Integration object​

Create or reuse a separate MCP connection using a saved Exa, Firecrawl or Browserbase integration key (requires canManageIntegrations). Tools still require administrator review and approval; future key changes are independent.

IntegrationMutations.connectVendorMcp.integrationId ● Long! non-null scalar​

IntegrationMutations.createIntegration ● Integration object​

Create a new integration (requires canManageIntegrations permission)

IntegrationMutations.createIntegration.integrationType ● String! non-null scalar​
IntegrationMutations.createIntegration.name ● String! non-null scalar​
IntegrationMutations.createIntegration.config ● String! non-null scalar​
IntegrationMutations.createIntegration.secret ● String! non-null scalar​

IntegrationMutations.updateIntegration ● Integration object​

Update an integration name, enabled and config (requires canManageIntegrations permission)

IntegrationMutations.updateIntegration.integrationId ● Long! non-null scalar​
IntegrationMutations.updateIntegration.name ● String! non-null scalar​
IntegrationMutations.updateIntegration.enabled ● Boolean! non-null scalar​
IntegrationMutations.updateIntegration.config ● String! non-null scalar​
IntegrationMutations.updateIntegration.secret ● String scalar​

IntegrationMutations.setIntegrationBarryEnabled ● Integration object​

Set whether the Barry AI copilot may use this integration from chat: its read-only native tools run directly, its mutating ones only behind an approval card the member answers; for an MCP connection, whether Barry may call the tools an administrator approved on it (read-only ones directly, mutating ones behind a card). On by default; a per-connection administrator opt-out (requires canManageIntegrations permission)

IntegrationMutations.setIntegrationBarryEnabled.integrationId ● Long! non-null scalar​
IntegrationMutations.setIntegrationBarryEnabled.barryEnabled ● Boolean! non-null scalar​

IntegrationMutations.deleteIntegration ● Boolean scalar​

Delete an integration (requires canManageIntegrations permission)

IntegrationMutations.deleteIntegration.integrationId ● Long! non-null scalar​

IntegrationMutations.testConnection ● String scalar​

Test a database connection with the given parameters

IntegrationMutations.testConnection.integrationType ● String! non-null scalar​
IntegrationMutations.testConnection.config ● String! non-null scalar​
IntegrationMutations.testConnection.secret ● String scalar​
IntegrationMutations.testConnection.integrationId ● Long scalar​

IntegrationMutations.testAccessToken ● String scalar​

Execute the Access Token exchange request and return the redacted request/response with token-found indicators as JSON

IntegrationMutations.testAccessToken.secret ● String! non-null scalar​
IntegrationMutations.testAccessToken.integrationId ● Long scalar​

IntegrationMutations.testClientCredentials ● String scalar​

Execute the OAuth Client Credentials token request and return the redacted request/response with token-found indicator as JSON

IntegrationMutations.testClientCredentials.secret ● String! non-null scalar​
IntegrationMutations.testClientCredentials.integrationId ● Long scalar​

IntegrationMutations.generateAiJsonSchema ● String scalar​

Generate a JSON Schema using an AI integration + model, returning the schema as a JSON string

IntegrationMutations.generateAiJsonSchema.integrationId ● Long! non-null scalar​
IntegrationMutations.generateAiJsonSchema.model ● String! non-null scalar​
IntegrationMutations.generateAiJsonSchema.prompt ● String! non-null scalar​

Returned By​

integrations mutation