VirtuousAI
ReferenceAccess tokens

Get Access Token

Get a specific access token by ID.

GET
/api/v1/access-tokens/{token_id}

Path Parameters

token_id*string
Formatuuid

Header Parameters

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

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/access-tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "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"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}