From 8e7c9a33c2a27ef8fe4d777f73041b548b7ceae0 Mon Sep 17 00:00:00 2001 From: josebarrueta Date: Fri, 28 Aug 2026 10:45:01 -0700 Subject: [PATCH] docs(tool-executions): follow the page rename, and name a credential that works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dashboard page is called Logging Policy now, and it sits under Organization, so "open your organization and select Execution Logging" names neither the label nor the path a reader would follow. The curl was worse than stale. It sent `$ARCADE_API_KEY`, which every other sample on the site means as a project key, and this endpoint refuses one: `401 Invalid credentials: missing account ID`. The policy is org-scoped and the route resolves an account, so a project key cannot carry the caller. Verified against a live stack — the same request with an account token returns 200. Everything else on the page was checked against that stack and holds: recording starts ALLOWED, the window starts at 7 with a maximum of 90 reported as `max_log_retention_days`, 0 and 91 are both refused with 422 rather than clamped, and sending one field leaves the other alone. Co-Authored-By: Claude Opus 5 --- app/en/operate/governance/tool-executions/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/en/operate/governance/tool-executions/page.mdx b/app/en/operate/governance/tool-executions/page.mdx index 025b167df..a0b1f7941 100644 --- a/app/en/operate/governance/tool-executions/page.mdx +++ b/app/en/operate/governance/tool-executions/page.mdx @@ -179,11 +179,11 @@ On Arcade Cloud, recording is enabled by default and the retention window is 7 d ### Change them yourself -Open your organization in the dashboard and select **Execution Logging**, or call the API: +In the dashboard, open **Organization → Logging Policy**. Or call the API with an account-authenticated token — a project API key is refused, because the policy belongs to the organization rather than to a project: ```bash curl -s -X PUT "https://api.arcade.dev/v1/orgs/{org_id}/logging-config" \ - -H "Authorization: Bearer $ARCADE_API_KEY" \ + -H "Authorization: Bearer $ARCADE_ACCOUNT_TOKEN" \ -H "Content-Type: application/json" \ -d '{"logging_data_retention": "ALLOWED", "default_log_retention_days": 30}' ```