Skip to main content

IntegrationQueries

No description

type IntegrationQueries {
listIntegrations: [Integration!]
getIntegration(
integrationId: Long
publicId: String
): Integration
getIntegrationRedactedSecret(
integrationId: Long!
): String
listGoogleSheetsSpreadsheets(
integrationId: Long!
): [SpreadsheetRef!]
listGoogleSheetsSheets(
integrationId: Long!
spreadsheetId: String!
): [SheetRef!]
listGoogleSheetsColumns(
integrationId: Long!
spreadsheetId: String!
sheetName: String!
): [String!]
listSlackChannels(
integrationId: Long!
): [SlackChannelRef!]
listSlackUsers(
integrationId: Long!
): [SlackUserRef!]
listWhatsappTemplates(
integrationId: Long!
): [WhatsappTemplateRef!]
listAiProviders: [String!]
listAiModels(
provider: String!
): [AiModelInfo!]
googleOAuthAvailable: Boolean
sqlIntegrationSchema(
integrationId: Long!
): OrgDbSchema
}

Fields

IntegrationQueries.listIntegrations ● [Integration!] list object

List all integrations in the current organization

IntegrationQueries.getIntegration ● Integration object

Get a specific integration by numeric id or public id (exactly one)

IntegrationQueries.getIntegration.integrationId ● Long scalar
IntegrationQueries.getIntegration.publicId ● String scalar

IntegrationQueries.getIntegrationRedactedSecret ● String scalar

Get an integration's stored secret with all secret values redacted, for editing

IntegrationQueries.getIntegrationRedactedSecret.integrationId ● Long! non-null scalar

IntegrationQueries.listGoogleSheetsSpreadsheets ● [SpreadsheetRef!] list object

List the spreadsheets reachable by a Google Sheets integration

IntegrationQueries.listGoogleSheetsSpreadsheets.integrationId ● Long! non-null scalar

IntegrationQueries.listGoogleSheetsSheets ● [SheetRef!] list object

List the sheets (tabs) within a spreadsheet

IntegrationQueries.listGoogleSheetsSheets.integrationId ● Long! non-null scalar
IntegrationQueries.listGoogleSheetsSheets.spreadsheetId ● String! non-null scalar

IntegrationQueries.listGoogleSheetsColumns ● [String!] list scalar

List the column headers (first row) of a sheet

IntegrationQueries.listGoogleSheetsColumns.integrationId ● Long! non-null scalar
IntegrationQueries.listGoogleSheetsColumns.spreadsheetId ● String! non-null scalar
IntegrationQueries.listGoogleSheetsColumns.sheetName ● String! non-null scalar

IntegrationQueries.listSlackChannels ● [SlackChannelRef!] list object

List the channels reachable by a Slack integration

IntegrationQueries.listSlackChannels.integrationId ● Long! non-null scalar

IntegrationQueries.listSlackUsers ● [SlackUserRef!] list object

List the users (members) of a Slack workspace

IntegrationQueries.listSlackUsers.integrationId ● Long! non-null scalar

IntegrationQueries.listWhatsappTemplates ● [WhatsappTemplateRef!] list object

List the approved message templates of a WhatsApp Business integration

IntegrationQueries.listWhatsappTemplates.integrationId ● Long! non-null scalar

IntegrationQueries.listAiProviders ● [String!] list scalar

List the AI providers available from the LiteLLM model catalog

IntegrationQueries.listAiModels ● [AiModelInfo!] list object

List the models offered by a given AI provider

IntegrationQueries.listAiModels.provider ● String! non-null scalar

IntegrationQueries.googleOAuthAvailable ● Boolean scalar

Whether the Honeybase-owned Google OAuth app is configured on this server

IntegrationQueries.sqlIntegrationSchema ● OrgDbSchema object

Live schema introspection (tables, columns, primary keys, unique keys) of a Postgres/MySQL/OracleDB integration's database, for the Fetch SQL / Mutate SQL editors. Requires an enabled SQL integration in the caller's organization. For the organization database use orgDatabaseSchema.

IntegrationQueries.sqlIntegrationSchema.integrationId ● Long! non-null scalar

Returned By

integrations query