Claim icon

Claim

Allow to claim an instance with claim-controller

Release Claim

AI-generated

Summary

Releases (closes) an existing claim by sending a POST to the claim controller's /release/{claimId} endpoint, freeing the remote Playwright instance obtained from a Create Instance step.

Inputs

  • Claim Controller URL (required) — Base URL of the claim controller (e.g. http://claim-controller:8080). Whitespace is trimmed and trailing slashes are handled.
  • Claim ID (required) — ID of the claim to release, typically mapped from a previous Claim node via {{ $json.claimId }}.
  • Claim Timeout — Maximum time in milliseconds to wait for the controller's response. Defaults to 120000.

Output shape

One item per input item with json { claimId, released: true }, paired to the input item.

Throws an error if the URL or Claim ID is empty, the controller is unreachable or times out, or it returns a non-2xx HTTP status. The response body is read but ignored, and a non-JSON body is tolerated. With Continue On Fail enabled, failed items return json { error: message }. The request has no body and sends only a Content-Type: application/json header.

Examples

Example 1: Clean up the browser instance at the end of a scraping workflow

Claim Controller URL: http://claim-controller:8080; Claim ID: {{ $json.claimId }}; leave Claim Timeout at default.

Example 2: Release a claim with a short timeout so a slow controller doesn't stall the workflow

Claim ID: {{ $('Create Instance').item.json.claimId }}; Claim Timeout: 10000; enable Continue On Fail.

Links

Discussion