Get Node Locks

Returns the advisory locks currently held by the node that receives the request, without fanning out to peers.

This endpoint backs the fan-out performed by GET /artifactory/api/system/locks and is mainly for internal cluster use, but admins can call it directly to inspect a single node.

Note: This API is available only in Self-hosted instances. It requires PostgreSQL with native (advisory) locking, otherwise returns 503. Background job synchronization still uses the legacy distributed_locks table, and those locks are never reported here.

Since: 7.161.x

Security: Requires a valid admin user.

To enable advisory locks, see: https://docs.jfrog.com/installation/docs/configure-artifactory-to-use-advisory-locks-in-postgresql

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
length ≥ 1

Return only locks with exactly this category, on every node in the response. When omitted, all categories are returned.

Responses

401

Bad Credentials - Invalid credentials

403

Permission Denied - Insufficient permissions

503

Service Unavailable - Native advisory locks are not active on this node

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json