[api] Implement `get`