Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.animam.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Animam API allows you to manage your chatbot programmatically.

Base URL

https://api.animam.ai

Authentication

The API supports 3 authentication methods:
MethodHeaderUsage
Bearer TokenAuthorization: Bearer ak_...Recommended for API
Session Cookieanimam_sessionDashboard only
Legacy API KeyX-API-Key: ...Backward compatibility
Create your API tokens in Dashboard > API Tokens.

Scopes

Each token has specific permissions:
ScopeDescription
corpus:readRead corpus
corpus:writeModify corpus
conversations:readView conversations
settings:readRead settings
settings:writeModify settings
*Full access

Response format

All responses are in JSON.
{
  "corpus": [...],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 42
  }
}

Errors

CodeDescription
400Invalid request
401Not authenticated
403Access denied (missing scope)
404Resource not found
429Rate limit exceeded
500Server error
{
  "error": "Missing required scope: corpus:write"
}

Rate Limits

  • Standard: 1000 requests/minute
  • Enterprise: Unlimited

Endpoints

Tenant

Tenant info and settings

Corpus

Manage the knowledge base

Conversations

Conversation history

Chat

Send messages