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

# Check the expiry date of your ApiKey

> This endpoint requires calling with your Api Key.<br />If your Api key has an expiry it will return when it expires.<br />If your Api key does not expire, it will return 31/12/9999 as the expiry date.



## OpenAPI

````yaml /openapi.json get /v1/apiKey/validUntil
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - description: Staging
    url: https://dev.api.nestapi.com
security: []
tags:
  - name: account
    description: API key and account management
  - name: ApiAdmin
  - name: auth
  - 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: public
    description: Health check and public utility endpoints
paths:
  /v1/apiKey/validUntil:
    parameters:
      - $ref: '#/components/parameters/Accept'
    get:
      tags:
        - account
      summary: Check the expiry date of your ApiKey
      description: >-
        This endpoint requires calling with your Api Key.<br />If your Api key
        has an expiry it will return when it expires.<br />If your Api key does
        not expire, it will return 31/12/9999 as the expiry date.
      operationId: GetApiValidUntil
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyValidUntil'
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  schemas:
    ApiKeyValidUntil:
      title: ApiKeyValidUntil
      properties:
        Expires:
          type: string
          format: date-time
          nullable: false
      description: ApiKeyValidUntil
      type: object
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````