updated endpoint model for tokens_api