Skip to content
Release: Australia · Updated: 2026-03-11 · Official documentation · View source

Salesforce APIs

Explore the APIs used in AI Service Graph Connector for Salesforce.

The following table lists all the Salesforce API endpoints used by the connector.

APIEndpointWhat it does
Bot Definition, BotVersionhttps://<domain\_name>.salesforce.com/services/data/v65.0/query?q=SELECT Fields\(ALL\), \(SELECT Id, VersionNumber, Status FROM BotVersions\) FROM BotDefinition WHERE Type != 'Bot' LIMIT 100 OFFSET 100Fetch all AI Agents created in Salesforce.
Configured Einstein Modelshttps://<domain\_name>.salesforce.com/services/data/v65.0/ssot/machine-learning/configured-models/Fetch Models configured in Salesforce Einstein Studio
GenAiFunctionDefinitionhttps://<domain\_name>.salesforce.com/services/data/v65.0/query?q=SELECT id, DeveloperName, Description, IsConfirmationRequired, Plugin.Planner.Id, Plugin.Planner.DeveloperName, Plugin.DeveloperName, Plugin.MasterLabel, Plugin.Id, Plugin.Description, Plugin.Scope from GenAiFunctionDefinition WHERE PluginId != null LIMIT 100 OFFSET 100Fetch all the tools details used by AI Agents
GenAiPluginDefinition, GenAiPluginInstructionDefhttps://<domain\_name>.salesforce.com//services/data/v65.0/query?q=SELECT MasterLabel,DeveloperName, SortOrder, Description,id,GenAiPluginDefinition.DeveloperName,GenAiPluginDefinition.Id,GenAiPluginDefinition.Description,GenAiPluginDefinition.Scope, GenAiPluginDefinition.MasterLabel, GenAiPluginDefinition.Planner.DeveloperName FROM GenAiPluginInstructionDef LIMIT 100 OFFSET 100Fetch all prompts information associated or used by AI Agents
ConversationDefinitionId, ConversationDefinitionEventLoghttps://<domain\_name>.salesforce.com/services/data/v65.0/query?q=SELECT ParentId, User, MIN\(EventDateTime\) Timestamp, ConversationDefinitionId, COUNT\(Id\) TotalInvocations FROM ConversationDefinitionEventLog WHERE LogType = 'InputMessage' GROUP BY ParentId, CreatedById, ConversationDefinitionId, User ORDER BY MIN\(EventDateTime\) DESCFetch Usage Information for AI Agents.