Sometimes the mabl agent or a coding agent pauses and asks you to approve an action before it continues, such as deleting a test or merging a branch. The actions that need approval are set by your workspace's guardrails. This article explains where requests appear, who can approve them, and what happens after you decide.
Where requests appear
- In the mabl agent's conversation. When the mabl agent asks for approval during a chat or an authoring task, the request appears as a card in the conversation, and you can decide it there. A paused authoring task shows Waiting for approval.
- On the Approvals page. Go to Agents > Approvals. Waiting on you lists requests from agents that work for you, and Waiting on the workspace lists requests from agents started with an API key. To see requests that were already decided, click Show recent decisions.
- In a connected AI tool. A coding agent using the mabl MCP server shares a link to the request. Open it in mabl to review the request.
Who can decide a request
Who decides a request depends on how the agent was started:
- An agent working for a person: only that person can approve or decline. For example, if you ask the mabl agent in chat to delete a test, the request waits on you.
- An agent started with an API key: any workspace owner or editor can approve or decline.
Agents and API keys can't decide approval requests, including their own. Teammates who can't decide a request can still see who it's waiting on, such as "Waiting on a workspace owner or editor."
Approve or decline a request
- Open the request from the agent's conversation, the Approvals page, or the link your AI tool shared.
- Check what the agent wants to do and to what. The request is titled with the action and its target, such as Delete a test: Checkout with a saved card, and shows why the rule asks. For a test save, the request also shows whether the test still meets its objective and what's missing. To review the test the agent built first, click View agent session.
- Click Approve or Decline.
- If you decline, you can add a Reason (optional) for the agent, such as "Run it on Staging first." Then click Decline again to confirm.
The agent is told about your decision and any reason you gave. After an approval, the mabl agent picks up where it left off. If a connected AI tool asked, tell it to try again. After a decline, the agent is told not to retry the action or look for another way to do it.
If the workspace's rules changed to Block the action after the agent asked, you can't approve the request.
How long a request lasts
An approval request expires if no one decides it within 24 hours. Once a request is approved, the agent has 20 minutes to carry out the action. After that, the approval expires and the agent needs to ask again. If a connected AI tool asked, tell it to try again within that time.
An approval covers only the action you reviewed, from the agent that asked. If the agent tries the action with different key details, such as a different target or a changed objective, the approval doesn't apply, and the agent needs a new one. Similarly, an approval to save a test covers one save. Once the test changes, the next save needs a new approval.