VirtuousAI
ReferenceAccess tokens

List Access Tokens

List access tokens for the current user.

GET
/api/v1/access-tokens

Query Parameters

tokenType?|
includeRevoked?boolean
Defaultfalse
limit?integer
Default50
Range1 <= value <= 200
cursor?|

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/access-tokens"
{
  "items": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "id": "string",
      "lastUsedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "revokedAt": "2019-08-24T14:15:22Z",
      "tokenPrefix": "string",
      "tokenType": "session"
    }
  ],
  "nextCursor": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}