APIs used for Salesforce

  • Release version: Australia
  • Updated March 11, 2026
  • 1 minute to read
  • Explore the APIs used in AI Service Graph Connector for Salesforce.

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

    API Endpoint What it does
    Bot Definition, BotVersion https://<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 100 Fetch all AI Agents created in Salesforce.
    Configured Einstein Models https://<domain_name>.salesforce.com/services/data/v65.0/ssot/machine-learning/configured-models/ Fetch Models configured in Salesforce Einstein Studio
    GenAiFunctionDefinition https://<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 100 Fetch all the tools details used by AI Agents
    GenAiPluginDefinition, GenAiPluginInstructionDef https://<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 100 Fetch all prompts information associated or used by AI Agents
    ConversationDefinitionId, ConversationDefinitionEventLog https://<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) DESC Fetch Usage Information for AI Agents.