--- title: APIs used by Salesforce description: Explore the Salesforce APIs used in AI service Graph Connector for Salesforce. The table lists all the Salesforce API endpoints used by the connector. locale: en-US canonical_url: https://www.servicenow.com/docs/r/intelligent-experiences/ai-control-tower/apis-used-by-salesforce.html release: brazil product: AI Control Tower classification: ai-control-tower topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Salesforce, Service Graph Connectors for AI Control Tower, Enterprise AI discovery: Unlock Visibility, Governance & Value, Exploring AI Control Tower \(legacy\), AI Control Tower \(legacy\), Establishing AI governance, Enable AI Experiences] --- # APIs used by Salesforce Explore the Salesforce APIs used in AI service Graph Connector for Salesforce. The table lists all the Salesforce API endpoints used by the connector. 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.