---
title: "Moveo Authoring API overview"
description: "Build and manage AI agents, knowledge bases, and their components with the REST endpoints of the Moveo Authoring API."
---

# Moveo Authoring API overview

> Build and manage AI agents, knowledge bases, and their components with the REST endpoints of the Moveo Authoring API.

The Moveo Authoring API is a set of REST endpoints that create, change, and test AI agents and
their components. Use it to do from code what you do in the Moveo console.

## API hosts

Send each request to the API host of the region where your Moveo account runs. Every path in the
reference starts after `/api`:

| Region        | Base URL                              |
| ------------- | ------------------------------------- |
| Europe        | `https://api.moveo.ai/api`            |
| United States | `https://api.us-central.moveo.ai/api` |
| Brazil        | `https://api.sa-east.moveo.ai/api`    |

For example, a request to create an AI agent in Europe goes to
`POST https://api.moveo.ai/api/v1/brains`. On each endpoint page, select the region in
**Base URL** before you send a test request.

## Authentication

All API requests must be authenticated using an API key. API keys can be created in the Moveo
platform under **Settings** → **Developers** → **API keys**. There are three types of API keys available:

- **Use**: Grants access to core functionality like sending messages and classifying intents
- **Manage**: Provides full access to create, modify, and delete resources
- **Analytics**: Grants access to analytics data through the [Analytics API](https://docs.moveo.ai/api/analytics/api-overview.md)

For more information about API keys, see [API keys documentation](/docs/platform/platform-api-keys).

## Core components

The Moveo Authoring API is organized around several key components:

### AI agents (formerly called `brains`)

- Create and manage AI agents - [AI agents documentation](/docs/ai-agents/overview)
- Configure agent behavior and responses
- Send messages to agents
- Test and validate agent responses

### Intents and entities

- Define conversation intents - [Entities documentation](/docs/ai-agents/entities)
- Create and manage entities
- Configure intent recognition
- Generate intents automatically

### Dialogs

- Create and manage conversation flows -
  [Create your first AI agent](/docs/ai-agents/quickstart)
- Configure dialog branches
- Generate dialogs automatically
- Update dialog knowledge base

### Language models

- Create and manage language models -
  [Language models documentation](/docs/platform/platform-language-models)
- Configure model parameters
- Update model settings

### Knowledge base and datasources

- Manage knowledge bases - [Knowledge base documentation](/docs/knowledge-base/knowledge-base-overview)
- Configure data sources
- Sync and update data
- Handle document processing

## Key features

1. **AI agent management**

   - Create and configure AI agents
   - Send messages and receive responses
   - Test and validate agent behavior
   - Manage agent versions

2. **Natural language processing**

   - Intent classification
   - Entity recognition
   - Language model configuration
   - Automatic intent and dialog generation

3. **Conversation management**

   - Dialog flow configuration
   - Response handling
   - Context management
   - Webhook integration - [Webhooks documentation](/docs/ai-agents/ai-agents-webhooks)

4. **Data management**
   - Document processing
   - Data source integration
   - Knowledge base management
   - Version control

## Getting started

To start using the Moveo Authoring API:

1. Create an API key in the Moveo platform
2. Review the API documentation for specific endpoints
3. Use the API key to authenticate your requests
4. Start building your AI solution

## Rate limits

Most endpoints have no rate limit. These endpoints have a limit for each account, per minute:

| Endpoint                                                                 | Requests per minute |
| ------------------------------------------------------------------------ | ------------------- |
| Send a message to a session (`.../sessions/{session_id}/message`)        | 60                  |
| Enqueue a message to a session (`.../sessions/{session_id}/enqueue`)     | 60                  |
| Upload a knowledge base document (`.../documents/upload`)                | 60                  |
| List the activities of a contact (`GET /v1/contacts/{contact_id}/activities`) | 60               |
| Sync a datasource (`.../datasources/{datasource_id}/sync`)               | 30                  |
| Sync an MCP server of an AI agent (`.../mcps/{mcp_id}/sync`)             | 30                  |

Above the limit, the API returns HTTP `429 Too Many Requests`. The response carries the
`X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers. Wait until the reset
time, then send the request again.

## Error handling

The API uses standard HTTP status codes to indicate success or failure of requests. Detailed error
messages are provided in the response body when errors occur.

## Best practices

1. Always store API keys securely
2. Implement proper error handling
3. Use appropriate rate limiting in your application
4. Test thoroughly in a development environment before production use

## Support

For additional support or questions about the Moveo Authoring API, contact the Moveo support
team or refer to the detailed API documentation for specific endpoints.
