Generis AI API
Complete reference for integrating Generis AI into your applications.
π Contents
π Getting Started
All API requests require a JWT token in the Authorization header. Obtain a token by logging in.
Authenticate and receive a JWT token.
Base URL: https://generistech.com/api
π€ Agents API
List all agents for the authenticated user.
Create a new agent.
Get a specific agent by ID.
Update agent settings. Same body as POST.
Permanently delete an agent and all its data.
π¬ Chat API
Send a message to an agent and receive a response.
π¨οΈ Conversations API
List all conversations for an agent.
π Knowledge Base API
List all knowledge bases (filter by agent_id in query params).
Create a new knowledge base.
List documents in a knowledge base.
Add a document to a knowledge base.
Delete a specific document.
π§ Tools API
Get tools configuration for an agent.
Update enabled tools for an agent.
Available tools: web_search, calculator, current_datetime, http_request, memory_save, memory_recall, knowledge_base_search, send_email, format_response, set_variable
Anthropic server-side tools (Claude agents only): anthropic_web_search (web search with cited sources, $10 per 1,000 searches; replaces the built-in web_search on Claude when both are enabled), anthropic_web_fetch (fetches a page or PDF whose URL appeared in the conversation; token cost only). Optional limits live in the agent config: web_search.max_uses, web_search.allowed_domains or blocked_domains, web_search.user_location, web_fetch.max_uses, web_fetch.max_content_tokens, web_fetch.allowed_domains.
Give the agent an advisor: a stronger Claude model it consults mid-reply for a plan or course correction (Anthropic advisor tool). Off by default. Consultations are billed at the advisor model's rates and appear in the conversation tool log as advisor.
Valid pairs: Sonnet 5.5 or Haiku 5.5 agents can use Opus 5.5, Fable 5.1 or Sonnet 5.5; Opus 5.5 agents can use Fable 5.1 or Opus 5.5; Fable 5.1 agents only Fable 5.1. An invalid model is replaced by the default for the agent model. Also applies to agents running on Claude Managed Agents.
π Schedules API
List all schedules for an agent.
Create a new schedule.
Update schedule (e.g. toggle active).
Delete a schedule permanently.
Manually trigger a schedule immediately.
πͺ Widget Embed
Embed a chat widget on any website with a single script tag.
β¨οΈ CLI
The generis-cli manages agents from the terminal. Source: Documents/GenerisAI/generis-cli. Install locally with npm link. npm publish is pending.