ListLockLeases

Lists lock leases in a namespace. Paginated. Expired leases are filtered out of the response.

Read-only and safe to retry.

Request

  • Leave pagination_token empty for the first page.
  • limit sets the number of entries per page.
{
  "namespace_name": "UserObjects",
  "pagination_token": "",
  "limit": 100
}

Response

  • Returns NotFound if the namespace does not exist.
  • Non-empty next_pagination_token indicates more pages are available.
{
  "leases": [
    {
      "lease_id": "ll_NfKKeiPbP18NFeU3lLGrRWWgDJRB",
      "process_id": "host-123/pid-4567",
      "created_at": 1695826239671432000,
      "expires_at": 1695826299671432000
    }
  ],
  "next_pagination_token": "",
  "previous_pagination_token": ""
}