IntegrationMutations
No description
type IntegrationMutations {
createIntegration(
integrationType: String!
name: String!
config: String!
secret: String!
): Integration
updateIntegration(
integrationId: Long!
name: String!
enabled: Boolean!
config: String!
secret: String
): 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.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.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