Acquire an advisory lock on a resource.
Advisory locks signal intent and do not block operations. If another agent already holds the lock, returns 409 Conflict. Agents working on the resource without a lock are notified.
Returns: Lock entry with acquisition timestamp.
Request body for acquiring an advisory lock.
Attributes: agent_id: ID of the agent requesting the lock.
Successful Response
Advisory lock on a resource.
Attributes: resource_id: ID of the locked resource. agent_id: ID of the agent holding the lock. organization_id: Organization the lock belongs to. acquired_at: Timestamp when the lock was acquired.