Renew Claim
AI-generatedSummary
Extends the TTL of an existing claim by POSTing to the claim controller's /renew/{claimId} endpoint, and returns the updated claim details.
Inputs
- Claim Controller URL (required) — Base URL of the claim controller (e.g. http://claim-controller:8080). Trailing slashes are trimmed; the node appends /renew/{claimId}.
- Claim ID (required) — ID of the claim to renew, typically taken from a previous Claim node via {{ $json.claimId }}.
- TTL (required) — New time to live for the claim, sent as {"ttl": "..."} in the request body (e.g. 3m, 10m). Defaults to 3m.
- Claim Timeout — Maximum time in milliseconds to wait for the controller to respond. Defaults to 120000.
Output shape
One item per input item, with JSON containing claimId, claimControllerUrl, expiresAt, renewMethod, renewPath and status. The claimId is the one returned by the controller, or the input claim ID if the response has none.
The node throws an error if the URL, Claim ID or TTL is empty, if the controller can't be reached or times out, if it returns a non-2xx HTTP status, or if the response isn't valid JSON. With Continue On Fail enabled, the item instead outputs {error: message}. The renewed fields come directly from the controller response and may be undefined if the controller omits them.
Examples
Example 1: Keep a long-running browser claim alive between steps of a workflow
Claim Controller URL = http://claim-controller:8080, Claim ID = {{ $json.claimId }}, TTL = 10m, Claim Timeout = 120000