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

# API Reference

> Complete API documentation for Mielto - Context Layer for AI

## Welcome to Mielto API

Mielto provides a comprehensive API for building AI-powered applications with advanced context management, knowledge collections, and conversation handling. Our REST API enables you to integrate intelligent context layers into your applications.

## Base URL

All API requests should be made to:

```
https://api.mielto.com/api/v1
```

## Key Features

<CardGroup cols={2}>
  <Card title="Authentication" icon="key">
    Enterprise API key authentication with role-based access control
  </Card>

  <Card title="Memories" icon="brain">
    Personal context storage with AI-powered semantic search
  </Card>

  <Card title="Collections" icon="folder">
    Knowledge base management with search capabilities
  </Card>

  <Card title="Conversations" icon="comments">
    AI conversation management and context handling
  </Card>
</CardGroup>

## Authentication

Mielto uses API key authentication for secure, scalable access to all endpoints. API keys provide persistent authentication without the need for login sessions.

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

### Getting Started

1. **Create** an API key via `/api/v1/api-keys`
2. **Include** the API key in the Authorization header as a Bearer token
3. **Secure** your API key - treat it like a password
4. **Manage** keys programmatically with create, update, and delete endpoints
