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

# API Introduction

> Learn how to integrate with the MemoryPlugin API

## Welcome to the MemoryPlugin API

The MemoryPlugin API allows you to programmatically manage and query user memories across different AI platforms. Our RESTful API provides endpoints for storing, retrieving, and managing memory buckets.

<Card title="MemoryPlugin API Specification" icon="code" href="https://www.memoryplugin.com/openapi.json">
  View the complete OpenAPI specification
</Card>

## Base URL

All API requests should be made to:

```
https://www.memoryplugin.com
```

## Authentication

All API endpoints require authentication using an API key. You can obtain your API key from the [MemoryPlugin Dashboard](https://memoryplugin.com/dashboard).

Include your API key in the request headers:

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

## Rate Limits

API requests are rate-limited to ensure fair usage:

* **Core plan**: 100 requests per hour
* **Pro plan**: 1,000 requests per hour

## Response Format

All API responses are returned in JSON format with the following structure:

```json theme={null}
{
  "success": true,
  "data": {
    // Response data
  },
  "error": null
}
```

## Error Handling

When an error occurs, the API returns an appropriate HTTP status code along with an error message:

```json theme={null}
{
  "success": false,
  "data": null,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message"
  }
}
```

## Available Endpoints

The MemoryPlugin API provides the following endpoints:

* **Memory Management**: Store and retrieve memories
* **Bucket Management**: Organize memories into buckets
* **Search**: Query memories using semantic search

Explore the endpoint documentation to learn more about each operation.
