Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/docs/content/docs/cli/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7792,12 +7792,14 @@ Inputs:
manualTableId; a string goes to the typed field). Add the type it answers with: `blocks get
table` answers table_v2, and an add of legacy table is refused.
conditions (condition): [{"title":"if","value":"<start.n> > 3"},{"title":"else if","value":"…"},
{"title":"else","value":""}]; the last entry is the else, and ids are assigned.
{"title":"else","value":""}]; the last entry is the else. Each entry's id comes from its
position (<block id>-if, <block id>-else-if-0, …, <block id>-else): an id you pass is replaced.
inputFormat (Start): [{"name":"email","type":"string"}]; types string, number, boolean,
object, array, file[]; an optional default "value" as text.
Block settings, beside inputs in an add's or edit's params:
"retry":{"enabled":true,"maxTries":3,"waitBetweenTriesMs":1000} retries a failed block; null
clears it.
clears it. An api block's retries input repeats the request after a timeout, reset, 429 or
5xx, not when the host does not resolve or refuses the connection; "retry" covers that.
Outputs:
A block that fails outputs {"error":"<message>"}: connect its error handle and read
<name.error> there (without one, the run fails). A Workflow block's result is the child's
Expand Down
6 changes: 4 additions & 2 deletions apps/docs/content/docs/cli/workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,14 @@ Inputs:
manualTableId; a string goes to the typed field). Add the type it answers with: `blocks get
table` answers table_v2, and an add of legacy table is refused.
conditions (condition): [{"title":"if","value":"<start.n> > 3"},{"title":"else if","value":"…"},
{"title":"else","value":""}]; the last entry is the else, and ids are assigned.
{"title":"else","value":""}]; the last entry is the else. Each entry's id comes from its
position (<block id>-if, <block id>-else-if-0, …, <block id>-else): an id you pass is replaced.
inputFormat (Start): [{"name":"email","type":"string"}]; types string, number, boolean,
object, array, file[]; an optional default "value" as text.
Block settings, beside inputs in an add's or edit's params:
"retry":{"enabled":true,"maxTries":3,"waitBetweenTriesMs":1000} retries a failed block; null
clears it.
clears it. An api block's retries input repeats the request after a timeout, reset, 429 or
5xx, not when the host does not resolve or refuses the connection; "retry" covers that.
Outputs:
A block that fails outputs {"error":"<message>"}: connect its error handle and read
<name.error> there (without one, the run fails). A Workflow block's result is the child's
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/workflows/blocks/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Keep keys and proxy credentials in [secrets](/platform/credentials), referenced
| Field | Default and limit |
| --- | --- |
| **Timeout (ms)** | 300,000 ms (5 minutes); maximum 600,000 ms (10 minutes). |
| **Retries** | `0`. When enabled, retry network failures, timeouts, `429`, and `5xx` responses; not ordinary `400` or `404` errors. |
| **Retries** | `0`. When enabled, retry timeouts, connection resets, `429`, and `5xx` responses; not a host that does not resolve or refuses the connection, and not ordinary `400` or `404` errors. |
| **Retry delay (ms)** | `500`; exponential backoff starts here. |
| **Max retry delay (ms)** | `30,000`; caps the backoff delay. |
| **Retry non-idempotent methods** | Off. Enable POST/PATCH retries only when repeated requests are safe. |
Expand Down
Loading
Loading