--- title: Salesforce APIs description: Explore the APIs used in AI Service Graph Connector for Salesforce. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/ai-control-tower/apis-used-by-salesforce.html release: australia product: AI Control Tower classification: ai-control-tower topic_type: concept last_updated: "2026-03-11" reading_time_minutes: 1 breadcrumb: [Salesforce, Service Graph Connectors for AI Control Tower, AI connections, Explore, AI Control Tower \(legacy\), Enable AI experiences] --- # 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.
| 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. |