what is an api user agent?