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

# Validate your API key

> Confirms the calling API key is active and returns basic identity info. A quick way to check a key works before using it.



## OpenAPI

````yaml /openapi.json get /v1/auth/validate
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - url: https://api.nestapi.com
    description: Production
security: []
tags:
  - name: account
    description: API key and account management
  - name: admin
  - name: ApiAdmin
  - name: auth
  - name: billing
  - name: fairness
    description: >-
      Per-customer nesting-minutes fairness config, weights and usage (requires
      an Admin API key)
  - name: importer
  - name: nesting
    description: Submit nesting jobs, retrieve results and exports
  - name: plan
  - name: proxy
  - name: public
    description: Health check and public utility endpoints
  - name: subscriptionstatus
paths:
  /v1/auth/validate:
    parameters:
      - $ref: '#/components/parameters/Accept'
    get:
      tags:
        - account
      summary: Validate your API key
      description: >-
        Confirms the calling API key is active and returns basic identity info.
        A quick way to check a key works before using it.
      operationId: ValidateApiKey
      responses:
        '200':
          description: The key is valid; basic identity info is returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateApiKeyResponse'
        '401':
          description: API key is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateApiKeyResponse'
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  schemas:
    ValidateApiKeyResponse:
      title: ValidateApiKeyResponse
      properties:
        Valid:
          description: '`true` when the calling API key is active.'
          type: boolean
          nullable: false
        UserId:
          description: The id of the account the key belongs to.
          type: string
      description: ValidateApiKeyResponse
      type: object
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````