# Shim Documentation ## Docs - [Authentication](https://docs.shim.so/authentication.md): How to generate and use API keys - [Confidence Levels](https://docs.shim.so/concepts/confidence-levels.md): How Shim scores repair safety - [Data Privacy](https://docs.shim.so/concepts/data-privacy.md): Zero-persistence promise and GDPR compliance - [Streaming Engine](https://docs.shim.so/concepts/streaming-engine.md): How Shim repairs JSON token-by-token - [Demo](https://docs.shim.so/demo.md): Try Shim without signing up - [Error Handling Guide](https://docs.shim.so/guides/handling-errors.md): Handle failures gracefully - [Rate Limits Guide](https://docs.shim.so/guides/rate-limits.md): Understand tier limits and overage behavior - [Schema Validation](https://docs.shim.so/guides/schema-validation.md): Add type checking and field validation to repairs - [Streaming Repair Guide](https://docs.shim.so/guides/streaming-repair.md): Repair JSON token-by-token as it arrives from your LLM - [Shim JSON Repair API Documentation - Fix Broken LLM Outputs](https://docs.shim.so/introduction.md): Complete guide to Shim JSON repair API. Fix malformed JSON from GPT-4, Claude, and AI agents in 8-50ms. Faster than OutputFixingParser, cheaper than LLM retries. Streaming and batch support. - [LLM Reference - Quick API Guide](https://docs.shim.so/llm-reference.md): Complete Shim API reference optimized for language model comprehension. Includes all endpoints, parameters, error codes, and integration examples. - [Migrating from LangChain OutputFixingParser](https://docs.shim.so/migration/langchain.md): Replace OutputFixingParser with Shim for faster, more reliable JSON repair - [Migrating from OpenAI JSON Mode](https://docs.shim.so/migration/openai-json-mode.md): Add Shim as a safety layer on top of OpenAI JSON mode - [Quick Start](https://docs.shim.so/quick-start.md): Get your first repair working in 5 minutes - [Batch Repair Endpoint](https://docs.shim.so/reference/batch-endpoint.md): Fix malformed JSON in one request - [Error Codes](https://docs.shim.so/reference/error-codes.md): Complete error reference - [Response Object](https://docs.shim.so/reference/response-object.md): Complete response schema reference - [Streaming Repair Endpoints](https://docs.shim.so/reference/streaming-endpoints.md): Repair JSON token-by-token without buffering - [Python SDK](https://docs.shim.so/sdks/python.md): Official SDK for Python — sync and async - [TypeScript SDK](https://docs.shim.so/sdks/typescript.md): Official SDK for Node.js and browsers - [Troubleshooting](https://docs.shim.so/troubleshooting.md): Common issues and how to fix them ## OpenAPI Specs - [openapi](https://docs.shim.so/api-reference/openapi.json)