Salesforce で使用される API
Salesforce の AI サービスグラフコネクタで使用される API を確認します。
次の表に、コネクタで使用されるすべての Salesforce API エンドポイントを示します。
| API | エンドポイント | 機能 |
| ボット定義、BotVersion | https://<domain_name>.salesforce.com/services/data/v65.0/query?q=SELECT フィールド (ALL)、(SELECT Id、VersionNumber、ステータス FROM BotVersions) FROM BotDefinition WHERE タイプ != 'Bot' 制限 100 オフセット 100 | Salesforce で作成されたすべての AI エージェントをフェッチします。 |
| 構成済みの Einstein モデル | https://<domain_name>.salesforce.com/services/data/v65.0/ssot/machine-learning/configured-models/ | Salesforce Einstein Studio で構成されたモデルをフェッチ |
| 生成 AI 機能定義 | 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 制限 100 オフセット 100 | AI エージェントが使用するすべてのツールの詳細をフェッチ |
| 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 制限 100 オフセット 100 | AI エージェントに関連付けられた、または使用するすべてのプロンプト情報をフェッチ |
| 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 順番 MIN(EventDateTime) 降順 | AI エージェントの使用状況情報をフェッチします。 |