Skip to main content
GET
/
api
/
tokens
List personal access tokens.
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List personal access tokens for the authenticated user

data
object[]