How long is a token valid

What about the tokens used for authentication for API calls? I know those don’t last an hour.