Guard detail was a security officer's assigned responsibility to guard a specific prisoner.
In 2269, upon her request, Captain James T. Kirk gave Lieutenant Anne Nored the guard detail for the Vendorian who had posed as her dead fiancé. This gave them time to discuss what his future might hold. (TAS: "The Survivor")