Download a session recording
Returns the session's recording as compressed rrweb segments, masked in the visitor's browser. Recordings are kept for 72 hours, apart from the app's other logs, so queryAppLogs cannot read them. A long session can return several megabytes. Needs the developer role, since recordings show what the app's visitors saw.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Query Parameters
Value in
- "production"
- "preview"
- "development"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/workspaces/string/apps/string/browser/sessions/string/replay"{ "segments": [ { "seg": 0, "part": 0, "parts": 0, "t0": 0, "t1": 0, "mask": "string", "data": "string" } ], "truncated": true}Add the browser script at the edge PUT
Makes Cloady add the browser monitoring script tag before `</head>` of every HTML page the app's address and custom domains serve, with no code change or redeploy, or stop adding it with `edge: null`. The settings are kept in the app variable CLOADY_BROWSER_MONITORING and apply on the next page load; no service restarts. A page whose head already carries the script keeps its own. Answers 400 when the app has no web address, and 502 when the settings were saved but the app couldn't be reconciled, which repeating a request that sets `edge` retries. Needs the developer role.
Read an app's server monitoring GET
Returns the app's server monitoring mode, the OpenTelemetry variables each compose service gets while it is on, the agent Cloady loads into each service in `auto` mode and what it adds at start, and which services have sent spans in the last 7 days. In `manual` mode spans need an OpenTelemetry SDK or agent in the app's own code.