How to get all the token and their last date of use?

I am trying to get them with http://mysonar/api/user_tokens/search, but get only the token of the user who is logged in, i need get token for all user.

Hi,

Global admins have access to this (although not in a tidy, consolidated way) from the list of users (Administration → Security → Users). If you need to get this programmatically, you’ll need to query with admin permissions and pass in each login, one by one.

 
HTH,
Ann