add api: resource usage