X-auth token validity time

how long does x-auth token value is valid/alive?
if we want to increase the alive time, how to do it?

That will be down to the API that is producing the token.

If it can be done, it will probably be server side configuration.