> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getflex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate API



## OpenAPI

````yaml POST /auth
openapi: 3.0.1
info:
  title: FlexAI API
  description: API for managing datasets, fine-tuning models, and handling ML tasks
  version: 1.0.0
servers:
  - url: https://api.getflex.ai/v1
security:
  - bearerAuth: []
paths:
  /auth:
    post:
      summary: Validate API Key
      operationId: validateApiKey
      responses:
        '200':
          description: Successful authentication
          content:
            application/json:
              schema:
                type: object
                properties:
                  auth:
                    type: boolean
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````