# Layer AI ## Docs - [Gates API](https://docs.uselayer.ai/api-reference/admin/gates.md): Create and manage gates via API - [API Keys Management](https://docs.uselayer.ai/api-reference/admin/keys.md): Manage API keys programmatically - [Admin API Overview](https://docs.uselayer.ai/api-reference/admin/overview.md): Administrative operations for managing gates and keys programmatically - [Anthropic Messages API](https://docs.uselayer.ai/api-reference/anthropic-messages.md): Anthropic-compatible messages endpoint - [Chat Completions API](https://docs.uselayer.ai/api-reference/chat-completions.md): OpenAI-compatible chat completions endpoint - [API Reference Overview](https://docs.uselayer.ai/api-reference/overview.md): Complete REST API reference for Layer AI - [tts()](https://docs.uselayer.ai/api-reference/sdk/audio.md): SDK method reference for text-to-speech - [chat()](https://docs.uselayer.ai/api-reference/sdk/chat.md): SDK method reference for chat completions - [image()](https://docs.uselayer.ai/api-reference/sdk/images.md): SDK method reference for image generation - [video()](https://docs.uselayer.ai/api-reference/sdk/video.md): SDK method reference for video generation - [Architecture Overview](https://docs.uselayer.ai/contributing/architecture.md): Understanding Layer AI's architecture - [Contributing Guide](https://docs.uselayer.ai/contributing/getting-started.md): How to contribute to Layer AI - [Admin Package](https://docs.uselayer.ai/contributing/packages/admin.md): Contributing to the Layer AI admin SDK - [CLI Package](https://docs.uselayer.ai/contributing/packages/cli.md): Contributing to the Layer AI CLI - [Authentication](https://docs.uselayer.ai/getting-started/authentication.md): Learn how to authenticate with the Layer AI API - [Welcome to Layer AI](https://docs.uselayer.ai/getting-started/overview.md): The AI Gateway for production applications - route, fallback, and track costs across multiple AI providers - [Quickstart](https://docs.uselayer.ai/getting-started/quickstart.md): Get started with Layer AI in under 5 minutes - [Clay](https://docs.uselayer.ai/integrations/clay.md): Use Layer AI as a data enrichment provider in your Clay tables - [OpenClaw](https://docs.uselayer.ai/integrations/openclaw.md): Use Layer AI as your model provider in OpenClaw for cost control, smart routing, and observability - [Agent Gates](https://docs.uselayer.ai/platform/agent-gates.md): Session-aware gates for AI agent workflows — from pure observability to full orchestration - [API Keys](https://docs.uselayer.ai/platform/api-keys.md): Generate and manage Layer API keys to authenticate your requests - [Bring Your Own Keys](https://docs.uselayer.ai/platform/byok.md): Use your own API keys from OpenAI, Anthropic, Google, and Mistral with Layer AI - [Experiments](https://docs.uselayer.ai/platform/experiments.md): A/B test LLM configurations to make data-driven decisions about models, prompts, and parameters - [Gates](https://docs.uselayer.ai/platform/gates.md): Route AI requests through configurable gates with intelligent model selection, fallbacks, and cost controls - [Logs](https://docs.uselayer.ai/platform/logs.md): View detailed request logs with metrics, costs, and full request/response data - [Spending](https://docs.uselayer.ai/platform/spending.md): Monitor and control your AI spending with real-time cost tracking and configurable limits - [Anthropic SDK Integration](https://docs.uselayer.ai/provider-compatibility/anthropic-sdk.md): How to use Layer AI with the Anthropic SDK - [OpenAI SDK Integration](https://docs.uselayer.ai/provider-compatibility/openai-sdk.md): How to use Layer AI with the OpenAI SDK - [Audio](https://docs.uselayer.ai/sdk-reference/audio.md): Convert text to speech with natural-sounding voices - [Chat](https://docs.uselayer.ai/sdk-reference/chat.md): Chat completions with streaming, vision, and function calling - [Embeddings](https://docs.uselayer.ai/sdk-reference/embeddings.md): Generate vector embeddings for semantic search and AI applications - [Images](https://docs.uselayer.ai/sdk-reference/images.md): Generate images from text prompts with multiple providers - [OCR](https://docs.uselayer.ai/sdk-reference/ocr.md): Extract text and structured data from images and documents - [Overview](https://docs.uselayer.ai/sdk-reference/overview.md): Introduction to the Layer AI SDK for TypeScript/JavaScript - [Video](https://docs.uselayer.ai/sdk-reference/video.md): Generate videos from text prompts and images ## OpenAPI Specs - [openapi](https://docs.uselayer.ai/api-reference/openapi.json)