Expose Custom SOQL in REST API Calls Using Named Query API (General Availability)

Use Named Query API to define and expose custom SOQL queries, or Named Query APIs, as scalable actions for REST API clients. Named Query APIs can retrieve data quickly and more efficiently than existing Flow or Apex processes.

Note
Note Using Named Query APIs as agent actions remains a beta feature that must be enabled in Setup Use of this beta feature is available for an additional cost. Required add-on licenses vary by agent type. Setup for AI agents is available on the desktop site.

Where: This change applies to Lightning Experience in Enterprise, Performance, Unlimited, and Developer editions.