curl --request GET \
--url https://openagents.com/api/tokens \
--header 'Authorization: Bearer <token>'{
"data": [
{
"abilities": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"id": 123,
"isCurrent": true,
"lastUsedAt": "2023-11-07T05:31:56Z",
"name": "<string>"
}
]
}Returns Sanctum tokens owned by the authenticated user, including whether each token is the current one.
curl --request GET \
--url https://openagents.com/api/tokens \
--header 'Authorization: Bearer <token>'{
"data": [
{
"abilities": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"id": 123,
"isCurrent": true,
"lastUsedAt": "2023-11-07T05:31:56Z",
"name": "<string>"
}
]
}