Approve RCA records for AI Data Explorer and Query Generation protected scope access

  • Release version: Zurich
  • Updated March 30, 2026
  • 2 minutes to read
  • Approve automatically generated Restricted Caller Access (RCA) records to enable AI Data Explorer and Query Generation to fetch data from tables in protected scopes through API calls.

    Before you begin

    You must have administrator access to the protected scope where you want to enable Query Generation data access.

    The necessary ACLs for the protected scope must be created and active.

    Role required: admin or scope-specific administrator role

    About this task

    When Query Generation attempts to fetch data from protected scope tables through API calls, the system automatically creates Restricted Caller Access (RCA) records. These records must be approved by administrators to enable data access. RCA records are created on a per-table basis and must be approved for each table that Query Generation needs to access.

    Procedure

    1. Use AI Data Explorer or Query Generation with a table in the protected scope to trigger RCA record creation.
      You can add a table to AI Data Explorer or ask Query Generation a question about data in the protected scope. This action creates the necessary RCA records automatically.
      The system creates RCA records for the scripted REST resource and generative AI validator operations needed to access the table data.
    2. Navigate to System Security > Restricted Caller Access.
    3. Filter the records to show only those related to Query Generation.
      Look for records that reference Query Generation operations or the specific table you want to access.
    4. Review each RCA record.
      Each record shows the source scope, target scope, and the specific operation that requires access. Confirm that these operations align with your intended use of AI Data Explorer and Query Generation.
    5. Set the State field to Allowed for each approved RCA record.
      Query Generation can now access the specified table data through API calls for the approved operations.
    6. Optional: Create RCA records manually for additional tables.
      You can create RCA records manually if you know which tables will be accessed and want to avoid the initial error messages that users might encounter. However, you have to know whether Query Generation or AI Data Explorer is the source scope. If the source scope is AI Data Explorer, set the source type as Script include and choose a script include that is part of AI Data Explorer. Regardless of source, you must know the specific script references and operations that Query Generation or AI Data Explorer uses to access each table. Consider creating some RCA records through requests first, then using those as models to create others manually.

    Result

    Query Generation can now fetch data from the approved tables in the protected scope. Users can successfully add tables to AI Data Explorer and ask questions about the data without encountering access errors.

    If you encounter error messages such as "Error accessing table data" or "Scope access not granted," check that the ACLs and RCA records are properly configured and approved. Each table requires its own set of approved RCA records.

    If RCA records are not being created automatically, confirm that the ACLs are active and that users have the necessary permissions to trigger the Query Generation operations.