--- title: network.adminPatterns | Doing Work API description: Doing Work staff: how shops corrected the agent this week, counted across shops and ranked by how many shops it affects. Counts only, no shop names or text url: https://doingwork.work/docs/reference/network-adminpatterns/ --- # network.adminPatterns Doing Work staff: how shops corrected the agent this week, counted across shops and ranked by how many shops it affects. Counts only, no shop names or text. Includes the report email as a preview; nothing is sent. | | | |---|---| | Who | A person's own sign-in only (agent tokens are refused) | | REST | `GET /v1/network/admin/patterns` | | MCP tool | Not an MCP tool | | Writes | no | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## When to use it Requests and quotes are free for shops and customers. We will never charge lead or referral fees. ## What to tell the owner Ask the person to do this with their own sign-in. Your agent token is refused here. ## Input | Field | Type | Required | |---|---|---| | `days` | integer | no | | `min_shops` | integer | no | ## Example ```http GET https://doingwork.work/v1/network/admin/patterns?days=1&min_shops=1 ``` ## Output | Field | Type | Always there | |---|---|---| | `days` | integer | yes | | `min_shops` | integer | yes | | `shops_total` | integer | yes | | `patterns` | array | yes | | `patterns[].area` | string | yes | | `patterns[].what` | string | yes | | `patterns[].shops` | integer | yes | | `patterns[].count` | integer | yes | | `email` | object | yes | | `email.subject` | string | yes | | `email.text` | string | yes | ```json { "days": 1, "min_shops": 1, "shops_total": 1, "patterns": [ { "area": "...", "what": "...", "shops": 1, "count": 1 } ], "email": { "subject": "...", "text": "..." } } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |