From 18b2a17b94c48d8c6f87168d02997eddfa410ca4 Mon Sep 17 00:00:00 2001 From: josebarrueta Date: Fri, 28 Aug 2026 11:10:19 -0700 Subject: [PATCH] docs(tool-executions): correct the endpoint host, and drop an invented variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous commit introduced `$ARCADE_ACCOUNT_TOKEN`, which is not a thing — no such variable exists in the product or anywhere else on this site. The audit log page documents the same org-scoped shape as "User (API key/JWT)" with `$ARCADE_API_KEY`, so that is what this uses, with a pointer to it and a note that a project key is refused. The URL was wrong from the start, in both host and prefix. `logging-config` is a Coordinator route, and every other Coordinator `orgs/` call on this site is `cloud.arcade.dev/api/v1/`; only this page said `api.arcade.dev/v1/`. A live stack returns 404 for `/v1/orgs/...` and resolves `/api/v1/orgs/...`. Co-Authored-By: Claude Opus 5 --- app/en/operate/governance/tool-executions/page.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/en/operate/governance/tool-executions/page.mdx b/app/en/operate/governance/tool-executions/page.mdx index a0b1f7941..2443bc6d0 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 -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: +In the dashboard, open **Organization → Logging Policy**. Or call the API. The policy belongs to the organization, so this endpoint authenticates a user the same way the [audit log API](/operate/governance/audit-logs) does — a project API key is refused with a `401`: ```bash -curl -s -X PUT "https://api.arcade.dev/v1/orgs/{org_id}/logging-config" \ - -H "Authorization: Bearer $ARCADE_ACCOUNT_TOKEN" \ +curl -s -X PUT "https://cloud.arcade.dev/api/v1/orgs/{org_id}/logging-config" \ + -H "Authorization: Bearer $ARCADE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"logging_data_retention": "ALLOWED", "default_log_retention_days": 30}' ```