Clue: Detective, first class, originally called for one kept in custody (8)
Answer: DETAINEE
Explanation: Definition: one kept in custody
A charade of DET ('detective') plus AI (A1, 'first class') plus NEE ('originally called').