openapi: 3.0.0 info: title: AI Service Actions Token Verification API version: 1.0.0 contact: email: devel@keboola.com license: name: MIT url: https://opensource.org/licenses/MIT description: Inspect the manage token used for the request. tags: - name: Token Verification description: Inspect the manage token used for the request. paths: /manage/tokens/verify: get: tags: - Token Verification summary: Token Verification description: Verifies the supplied Manage token and returns details about it and its creator. operationId: get_/manage/tokens/verify::TokenVerifyAction responses: '200': description: Token verification response. content: application/json: schema: $ref: '#/components/schemas/ManageTokenVerifyResponse' '401': description: Returned when the Manage token is missing or invalid. components: schemas: ManageTokenVerifyResponse: required: - id - description - created - lastUsed - expires - isSessionToken - isExpired - isDisabled - scopes - type - creator properties: id: description: Token identifier. type: integer example: 13702 description: description: Token description. type: string example: Example token created: description: Token creation time (ISO 8601 with `+HHMM` offset). type: string example: 2021-06-28T22:27:28+0200 lastUsed: description: Last time the token was used (ISO 8601 with `+HHMM` offset). `null` if the token has never been used. type: string example: 2022-06-13T22:29:03+0200 nullable: true expires: description: Token expiration time (ISO 8601 with `+HHMM` offset). `null` if the token does not expire. type: string example: 2031-06-26T22:27:28+0200 nullable: true isSessionToken: description: True if the token is session based. type: boolean example: false isExpired: description: True if the token has expired. type: boolean example: false isDisabled: description: True if the token is disabled. type: boolean example: false scopes: description: List of scopes. type: array items: type: string example: [] type: description: Token type. type: string example: admin creator: description: Creator details. required: - id - name properties: id: type: integer example: 7919 name: type: string example: John Doe type: object user: description: User tied to the token. Only present when the token is associated with an admin user; absent (or `null` in clients that materialise missing keys) otherwise. required: - id - name - email - mfaEnabled - features - canAccessLogs - isSuperAdmin properties: id: type: integer example: 7919 name: type: string example: John Doe email: type: string example: john.doe@keboola.com mfaEnabled: type: boolean example: true features: type: array items: type: string example: [] canAccessLogs: type: boolean example: true isSuperAdmin: type: boolean example: true type: object nullable: true type: object example: id: 13702 description: Example token created: 2021-06-28T22:27:28+0200 lastUsed: 2022-06-13T22:29:03+0200 expires: 2031-06-26T22:27:28+0200 isSessionToken: false isExpired: false isDisabled: false scopes: [] type: admin creator: id: 7919 name: John Doe user: id: 7919 name: John Doe email: john.doe@keboola.com mfaEnabled: true features: [] canAccessLogs: true isSuperAdmin: true securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-StorageApi-Token