Lev

Lev Quickstart API

The Quickstart API from Lev — 1 operation(s) for quickstart.

OpenAPI Specification

lev-quickstart-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Lev Account & Team Quickstart API
  version: 2026-03
  description: Build on Lev with AI-friendly API docs, agent guides, and production integration recipes.
servers:
- url: https://api.lev.com
  description: Production API
tags:
- name: Quickstart
paths:
  /api/external/v2/auth/validate-api-key:
    post:
      operationId: postAuthValidateApiKey
      summary: Validate an API key and receive authentication details
      description: 'Validate an API key and receive authentication details


        Docs page: https://www.lev.com/docs/build/getting-started'
      tags:
      - Quickstart
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    type: string
                  timestamp:
                    type: string
                    format: date-time
                  data:
                    type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
      security: []
      x-lev-docs-page: https://www.lev.com/docs/build/getting-started
      x-lev-headers:
      - 'Authorization: Bearer <token>'
      - 'X-Origin-App: <client-name>'
      - 'Content-Type: application/json'
components:
  schemas:
    ApiError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
    ApiErrorEnvelope:
      type: object
      properties:
        request_id:
          type: string
        error:
          $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or JWT