DOCUMENTATION / RULES AND APPROVALS
Rules and approvals
Rules let the account owner decide what agents may do in connected apps, and which actions wait for a person to say yes. They apply to every agent that calls your account through MCP or the HTTP API. Because the check happens in Working Machines and not in the prompt, an agent cannot talk its way past it.
PUBLISHED DECEMBER 3, 2026
01 / MODES
Three modes: Off, Record only, Enforce
You choose the mode on the Rules page of the dashboard. Record only is the safe way to start: it shows what your rules would do without stopping anything.
Off
Rules do nothing. Agents work as they did before. This is where every account starts.
Record only
Every agent call runs as usual, and the log records what the rules would have done. Nothing is stopped. Use it to see the effect of your rules before they apply.
Enforce
The rules apply to every agent call. A call the rules refuse never reaches the app, and a call that needs your yes waits for it.
Pause all agents. When the pause is on, every agent call is refused with agents_paused, whatever the mode, Off included. Runs you start yourself in the dashboard are not agent calls and are not stopped.
Rules for one key. The account's rules apply to every API key and sign-in. In the dashboard you can give one key rules of its own; they replace the account's rules for that key completely. The account's pause still stops every key.
02 / ASK A PERSON BEFORE
Choose which actions wait for your yes
In Enforce, an action of a kind you have switched on is held until you decide. Nothing reaches the app while it waits.
| KIND OF ACTION | WHAT IT COVERS | TO START WITH |
|---|---|---|
| Sending | Emails, messages, invites and anything else that reaches another person. | On |
| Deleting | Removing a file, a record, a message or an event. | On |
| Changing who has access | Sharing, inviting members, changing permissions. | On |
| Any change | Every action that creates or changes something, not only the three kinds above. | Off |
Two lists adjust this for single actions: Always ask for these actions and Never ask for these actions. An entry is an exact action such as outlook.send_email, a whole app such as microsoft_entra.*, or * for everything. An action Working Machines does not recognise is always asked about, so it never runs unseen.
Calendar events. Creating or changing an event counts as a change. It counts as sending only when it invites people or notifies guests, so a private event on your own calendar does not wait for approval unless you switch on Any change.
03 / APPROVING
What you see when an agent asks
Every request waits in the Approvals inbox of the dashboard and has its own link. You can approve it once, reject it, or withdraw an approval before the agent uses it.
What a request shows
- The app and the account the action would use.
- The action and what kind of action it is.
- The exact input, with passwords and keys hidden.
- The key or sign-in that asked.
- When the request expires.
A request is built from the call itself, not from what the agent says about it.
How you are told
- By email, to the address you sign in with.
- Optionally by a message to an
httpsaddress you set, shown as a card in Microsoft Teams. - A notice names the app, the action, the account and the caller, with a link to the request. It never holds what the agent sent.
An approval stays usable for 24 hours unless you change it; you can set it from 1 minute to 24 hours. For a connection that does not report which account it belongs to, an approval lasts at most one hour.
04 / FOR AGENT BUILDERS
What the agent gets back
A refused or held call is answered with a code that says why, over MCP and over the HTTP API. The run log says the same thing in a plain sentence.
| CODE | WHAT HAPPENED | WHAT THE AGENT SHOULD DO |
|---|---|---|
approval_required | The call is held. The answer carries the request's id, status, expiry and approval link. | Tell the person a request is waiting and give them the link. After they approve, send the same call again with the same input. It runs once. |
approval_rejected | The owner said no. The same call is answered this way for 15 minutes. | Stop. Do not rephrase the call to get around the decision. Report that the action was rejected. |
approval_expired | The approval ran out just as the action was about to run. (A request that expires while it waits is replaced: the same call makes a new request.) | Send the call again if the task still needs it. The owner gets a new request. |
approval_stale | Something the approval was given for changed before it was used, such as the account behind the connection or the contents of the draft. | Send the call again. The owner gets a new request for what the call would do now. |
approval_limit_reached | Too many of this caller's requests are already waiting. No new request is made. Over HTTP the status is 429. | Wait until the owner has answered some of the waiting requests, then send the call again. |
agents_paused | The owner has paused all agents. Every agent call is refused. | Stop and report it. Only the owner can switch the pause off. |
read_only_app | The app is read only for agents, and the call would change it. | Stop and report it. Reading and searching the app still work. |
recipient_not_allowed | The call would reach a person outside the domains the owner allows. | Stop and report it. Change the recipients only if the user asks you to. |
Over MCP, the held call's request comes in the tool result's approval. Over the HTTP action route the status is 202 and the same four facts are in data.approval:
HTTP/1.1 202 Accepted
{
"success": false,
"errorCode": "approval_required",
"message": "...",
"data": {
"approval": {
"id": "<request id>",
"status": "pending",
"expiresAt": "2026-12-04T10:15:00.000Z",
"approvalUrl": "https://app.workingmachines.dev/approvals/<request id>"
}
}
}Waiting in the same call. With Wait for an answer set above 0 (up to 90 seconds), a held call waits that long. If you approve in time, the result comes back in the same call.
Extra MCP tools. While rules are in Record only or Enforce, agents connected over MCP also see get_action_approval, execute_approved_action and request_action_approval. The ChatGPT address does not list these tools; it holds calls the same way. Some agent hosts take a long time to notice a changed tool list, so turn rules on before you connect them.
05 / LIMITS YOU SET
Read only, allowed domains, hidden data
Three more rules narrow what an agent can change, whom it can reach and what it can read. Each applies in Enforce and is recorded in Record only.
Read only
Agents can search and read a read-only app, but never change it. A call that would change it is refused with read_only_app.
Only send to these domains
Limits whom an agent's emails, invites and shared files can reach, with up to 50 domains. A listed domain also covers its sub-domains. A call that would reach anyone else is refused with recipient_not_allowed. Messages to Teams or Slack channels aren't checked by this rule.
Hide from the agent
Replaces sensitive values in a result before the agent sees it: bank account numbers, card numbers, passwords and keys, phone numbers, email addresses, and any fields you name. The log records how many values were hidden, not the values.
Hiding is a safety net, not a guarantee. It works on the text a result returns. File contents are not checked, and some uncommon formats are not recognised.
06 / THE RECORD
What is kept about each call
While rules are in Record only or Enforce, every agent call leaves a line on the Runs page that says what the rules did with it.
A log line holds
- The mode and the outcome: allowed, refused, held, approved or observed.
- The name of the key or sign-in that made the call.
- For an approved call, the request and who approved it.
- How many values were hidden, by kind.
Taking it with you
- Export on the Runs page downloads your runs. The account keeps its most recent 5,000 runs.
- Each run has a receipt with the facts of the run and a hash that changes if any fact changes. A receipt holds digests, never the input or the result.
- Set The log keeps to Names and sizes only to keep no content from calls or results.
07 / QUESTIONS
Common questions
Short answers to what people ask first.
- Do rules change anything before I turn them on?
- No. Rules start in Off, and in Off agents work exactly as they did before. The one setting that acts in every mode is Pause all agents.
- Can an agent approve its own request?
- No. A request is approved by the account owner, signed in to the Working Machines dashboard. The request is built from the call itself, not from what the agent says about it.
- Does a held or refused call use up my Actions?
- No. A call that the rules refuse or hold does not use up any of your action allowance.
- What happens if I approve after the agent has stopped waiting?
- The approval stays usable until it expires: 24 hours unless you change it, and at most one hour for a connection that does not report which account it belongs to. When the agent sends the same call again with the same input, the action runs once.
- Do rules apply to runs I start myself in the dashboard?
- No. Trying an action in the dashboard is you acting. It is recorded, and it is never refused or held. Rules apply to agents that call your account through MCP or the HTTP API.
- Is hiding data from the agent a guarantee?
- No. It is a safety net. It works on the text a result returns. File contents are not checked, and some uncommon formats are not recognised.
08 / NEXT STEPS
Start in Record only
Open the Rules page, choose Record only, and let your agents work for a day. The Runs page then shows what Enforce would have held or refused.