You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `list_functions` / `delete_function` | List / remove functions. |
418
418
| `set_secret` / `list_secrets` / `delete_secret` | Manage `process.env` secrets injected into all functions. Values are write-only; list returns keys and timestamps only. |
-`trace_id` — include this when reporting a Run402 issue
47
+
-`request_id` — routed/function failure handle; use `get_function_logs` with `request_id` for function diagnostics. This is distinct from gateway `trace_id`.
47
48
-`details` — structured route-specific context
48
49
-`next_actions` — advisory suggestions such as `authenticate`, `submit_payment`, `renew_tier`, `check_usage`, `retry`, `resume_deploy`, `edit_request`, or `edit_migration`; render or follow them only after validating the action is safe
49
50
@@ -299,7 +300,7 @@ No `route_scopes` means no CI route-declaration authority. With route scopes, CI
299
300
300
301
-**`deploy_function`** — deploy a Node 22 serverless function. Cron-schedulable via `schedule`. Pass `deps` as npm specs (bare names → latest at deploy time, pinned `lodash@4.17.21` or ranges `date-fns@^3.0.0` honored verbatim, max 30 entries / 200 chars each, native binaries rejected). Response surfaces `runtime_version`, `deps_resolved`, `warnings`.
301
302
-**`invoke_function`** — invoke for testing over the direct `/functions/v1/:name` API-key-protected path.
302
-
-**`get_function_logs`** — recent logs (CloudWatch). Use `since` for incremental polling.
303
+
-**`get_function_logs`** — recent logs (CloudWatch). Use `since` for incremental polling and `request_id` (`req_...`) to follow a routed browser failure from `X-Run402-Request-Id` / JSON `request_id`.
-**`list_functions`** / **`delete_function`** — list / remove.
305
306
-**`set_secret`** / **`list_secrets`** / **`delete_secret`** — `process.env` secrets injected into every function. Values are write-only; `list_secrets` returns keys and timestamps only. Deploy specs use `secrets.require[]` as a dependency gate, not as a value carrier or per-function allowlist.
Copy file name to clipboardExpand all lines: cli/llms-cli.txt
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ Canonical fields:
47
47
- `safe_to_retry`: repeating the same request should not duplicate or corrupt a mutation
48
48
- `mutation_state`: one of `none`, `not_started`, `committed`, `rolled_back`, `partial`, `unknown`
49
49
- `trace_id`: include this when reporting the issue
50
+
- `request_id`: routed/function failure handle; use `run402 functions logs <id> <name> --request-id <req_...>` for function diagnostics. This is distinct from gateway `trace_id`.
50
51
- `details`: structured route-specific context
51
52
- `next_actions`: advisory suggestions such as `authenticate`, `submit_payment`, `renew_tier`, `check_usage`, `retry`, `resume_deploy`, `edit_request`, `edit_migration`, or `deploy_site_first`; do not execute route-like suggestions without validating method/path/auth/safety
52
53
@@ -671,10 +672,12 @@ const res = await fetch('https://api.run402.com/functions/v1/my-function', {
For routed browser 500s, copy `X-Run402-Request-Id` or the JSON `request_id` from the response and run `run402 functions logs <project> <function> --request-id req_...`. `--since` is validated locally and should be supplied for incidents older than the default recent lookup window.
- `trace_id` — include this when reporting an issue
51
+
- `request_id` — routed/function failure handle. Use `get_function_logs` with `request_id` for function diagnostics; it is distinct from gateway `trace_id`.
- **`invoke_function`** — invoke for testing over the direct `/functions/v1/:name` API-key-protected path. Params: `project_id`, `name`, `method?`, `body?`, `headers?`.
265
-
- **`get_function_logs`** — recent logs (CloudWatch). Params: `project_id`, `name`, `tail?` (default 50, max 200), `since?` (ISO 8601, for incremental polling).
266
+
- **`get_function_logs`** — recent logs (CloudWatch). Params: `project_id`, `name`, `tail?` (default 50, max 1000), `since?` (ISO 8601, locally validated), `request_id?` (`req_...`, for routed/function correlation). Returned lines include optional metadata such as `request_id`, `event_id`, log stream, and ingestion time.
- **`list_functions`** / **`delete_function`** — list / remove.
268
269
270
+
For routed browser 500s, copy `X-Run402-Request-Id` or the JSON `request_id` from the response and call `get_function_logs` with that `request_id`. If the incident is older than the default recent lookup window, also pass `since`.
271
+
269
272
Scheduled function tier limits: prototype 1 / 15 min, hobby 3 / 5 min, team 10 / 1 min. Deploying a scheduled function beyond the limit returns 403.
Copy file name to clipboardExpand all lines: openclaw/SKILL.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ Fields to use:
76
76
-`safe_to_retry`: repeating the same request should not duplicate or corrupt a mutation
77
77
-`mutation_state`: one of `none`, `not_started`, `committed`, `rolled_back`, `partial`, `unknown`
78
78
-`trace_id`: include when reporting an issue
79
+
-`request_id`: routed/function failure handle; use `run402 functions logs <id> <name> --request-id <req_...>` for diagnostics. Distinct from gateway `trace_id`.
79
80
-`details`: structured route-specific context
80
81
-`next_actions`: advisory actions such as `authenticate`, `submit_payment`, `renew_tier`, `check_usage`, `retry`, `resume_deploy`, `edit_request`, `edit_migration`; never treat them as blindly executable
0 commit comments