> ## Documentation Index
> Fetch the complete documentation index at: https://actianvectorai-ml-crtx-1153-academy-tutorial-rewrites.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Check admin exists

> Returns whether the admin user has been created. No authorization is required for this endpoint.




## OpenAPI

````yaml get /auth/admin/exists
openapi: 3.0.3
info:
  title: Actian VectorAI DB - Authentication API
  description: Access token and admin user management for VectorAI DB.
  version: 1.0.0
  contact:
    name: Actian Corporation
    url: https://www.actian.com
servers:
  - url: http://localhost:6573
    description: Local development server (REST API)
  - url: https://api.vectorai.actian.com
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Access Tokens
    description: Create, list, rotate, and delete access tokens.
  - name: Admin User
    description: Create and manage the admin user, login, and authentication settings.
paths:
  /auth/admin/exists:
    get:
      tags:
        - Admin User
      summary: Check admin exists
      description: >
        Returns whether the admin user has been created. No authorization is
        required for this endpoint.
      operationId: check_admin_exists
      responses:
        '200':
          description: Returns the admin existence status.
          content:
            application/json:
              schema:
                type: object
                properties:
                  usage:
                    type: object
                    nullable: true
                  time:
                    type: number
                    format: double
                    description: Time spent to process this request, in seconds.
                  status:
                    type: string
                  result:
                    type: boolean
                    description: '`true` if the admin user exists, `false` otherwise.'
              examples:
                exists:
                  value:
                    usage: {}
                    time: 0
                    status: ok
                    result: true
                does_not_exist:
                  value:
                    usage: {}
                    time: 0
                    status: ok
                    result: false
      security: []
      x-codeSamples:
        - lang: cURL
          label: Check admin exists
          source: |
            curl -X GET http://localhost:6575/auth/admin/exists \
              -H "Accept: application/json" \
              -H 'Authorization: Bearer <admin-jwt-or-access-token>'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Admin JWT obtained from the login endpoint.

````