I want to automate using Jira as part of our deployment processes but it's not clear to me that there's a PAT (personal access token) endpoint that allows you to determine if your access token is still valid or not. I would use some other endpoint like one to get your profile or an issue but this also requires setting the account_id for each developer or some random issue id which seems like a fragile and unnecessarily burdensome workaround solution.
How do other people determine if their PAT is still valid for use with the API for Jira as part of an automated process / workflow?