Who this token belongs to, its scopes and the plan
GET
/me- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
whoami
Responses#
200OKapplication/json
The caller.
object · Me
userstringDisplay name.
planstringfree or pro. starter and ultra are retired plans, reported only for accounts still on one.
tokenobjectShow fields
namestringscopesarray of stringexpires_atstring (date-time)NullableWhen the key stops working. null only for a key made in the app with Never. CLI sign-in keys last 7, 30 or 90 days.
ErrorAny other statusapplication/json
Error.
object · Error
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring