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_tokenempty for the first page. limitsets the number of entries per page.
{
"namespace_name": "UserObjects",
"pagination_token": "",
"limit": 100
}
Response
- Returns
NotFoundif the namespace does not exist. - Non-empty
next_pagination_tokenindicates 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": ""
}