---
title: "Task: Run API operations for assistants"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791524675@main"
source: "Changelog/1.0.0/Task-1791524675-RunApiOperationsForAssistants.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Run API operations for assistants {#task-1791524675}

## Description {#description}

The core can run an API operation, named by its `operationId`, inside the request of an AI assistant
(`AssistantCall`). It runs as a sub-request with the caller's token and company, so the operation's access
declaration, validation, idempotency key, rate limit and activity log apply exactly as to a call of the API; a refusal
comes back as the operation's problem document.

The listeners that guard the API used to skip every sub-request, as an error page is rendered in one. They now also
check a sub-request marked as an assistant's call, which an employee could otherwise use to read what only admins may.
A read-only personal access token stays read-only in such a call; an endpoint that only runs operations, such as an
assistant's, may admit read-only tokens with `#[AllowsReadOnlyTokens]`.

## Impact {#impact}

None for API clients. Packages offering assistant tools call operations through `AssistantCall` only.
