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

# SmartMenu API

> Real-time menu personalization based on dietary preferences and allergens

# SmartMenu API

The SmartMenu API enables real-time menu personalization, helping guests find dishes that match their dietary needs, allergens, and health goals.

## Key Features

* **Allergen Detection** - Identify dishes containing common allergens, traced through our [seven-layer ingredient hierarchy](/docs/concepts/ingredient-intelligence)
* **Dietary Filtering** - Filter menus by vegan, vegetarian, keto, halal, and more
* **Preference Matching** - Score dishes based on guest preferences
* **Ingredient Intelligence** - Deep understanding of recipes, prep recipes, and ingredient specifications

## Quick Start

```bash theme={null}
# Create a session
curl -X POST https://api.everybite.com/v1/sessions \
  -H "Authorization: pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"restaurant_id": "rest_123"}'
```

## Endpoints

<CardGroup cols={2}>
  <Card title="Sessions" icon="play" href="/api/smartmenu/endpoints/session">
    Initialize menu sessions for a restaurant
  </Card>

  <Card title="Search" icon="magnifying-glass" href="/api/smartmenu/endpoints/search">
    Search and filter menu items
  </Card>

  <Card title="Dishes" icon="plate-wheat" href="/api/smartmenu/endpoints/dishes">
    Get detailed dish information
  </Card>

  <Card title="Categories" icon="folder" href="/api/smartmenu/endpoints/categories">
    Browse menu categories
  </Card>

  <Card title="Preferences" icon="sliders" href="/api/smartmenu/endpoints/preferences">
    Apply guest preferences
  </Card>
</CardGroup>

## Resources

* [Data Models](/api/smartmenu/data-models) - Request and response schemas
* [Error Codes](/api/smartmenu/error-codes) - Error handling reference
* [Integration Guide](/docs/guides/integration) - Step-by-step integration
