Introspect current API token
Describe the workspace API token presented in the Authorization header. Lets automation holding only a token secret discover its workspace and scopes. Secret material and hashes are never returned.
GET
Describe the workspace API token presented in the Authorization header.
Lets automation holding only a token secret discover its workspace and scopes. Secret material and hashes are never returned.
workspaceTokenheader
AuthorizationBearer <vat_<opaque-token>>Expiring, hashed workspace token with explicit scopes.
Successful Response
application/json- response
Non-secret metadata for the workspace API token presented by the caller.
created_at*Created AtFormat
date-timeexpires_at*Expires AtFormat
date-timeid*IdFormat
uuidlast_used_at*|Most recent authentication with this token, including the current request.
name*Namescopes*array<string>Granted scopes in lexical order.
token_prefix*Token PrefixNon-secret lookup prefix shown in token listings; never the token secret.
workspace_id*Workspace IdFormat
uuidworkspace_name*Workspace Nameworkspace_slug*Workspace Slugcurl -X GET 'https://api.veriom.ai/v1/api-tokens/current'Example Response
{ "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_used_at": "2019-08-24T14:15:22Z", "name": "string", "scopes": [ "string" ], "token_prefix": "string", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "workspace_name": "string", "workspace_slug": "string"}