Lev

Lev Lev API Documentation API

The Lev API Documentation API from Lev — 1 operation(s) for lev api documentation.

OpenAPI Specification

lev-lev-api-documentation-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Lev Account & Team Lev API Documentation 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: Lev API Documentation
paths:
  /api/external/v2/health:
    get:
      operationId: getHealth
      summary: Public liveness endpoint — no authentication required
      description: 'Public liveness endpoint — no authentication required


        Docs page: https://www.lev.com/docs/build/api-overview'
      tags:
      - Lev API Documentation
      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/api-overview
      x-lev-headers:
      - 'Authorization: Bearer <token>'
      - 'X-Origin-App: <client-name>'
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