# AnswerShaper - Full Documentation for LLMs & AI Agents > Detailed technical specifications, features, integration guides, and API endpoints. AnswerShaper is the leading platform for tracking, optimizing, and securing brand visibility across AI search engines, RAG models, and conversational agents (ChatGPT, Claude, Gemini, Perplexity, Grok). --- ## 📋 Table of Contents - [Overview](#overview) - [Key Features](#key-features) - [Stealth Tag Integration (M2M)](#stealth-tag-integration-m2m) - [API Reference](#api-reference) - [System Architecture](#system-architecture) --- ## 🔍 Overview AnswerShaper shifts the focus from traditional Search Engine Optimization (SEO) to Generative Engine Optimization (GEO) and Agentic Engine Optimization (AEO). By building a dynamic, real-time knowledge graph, AnswerShaper ensures that AI agents crawl, parse, cite, and recommend your business correctly. --- ## 🚀 Key Features ### 1. AI Inception Radar - Monitors user-generated content (UGC) across platforms like Reddit, Quora, and G2. - Drafts organic, high-context mentions and references to feed search crawler datasets. - Mitigates negative brand bias in model training sets. ### 2. Citation Gap Analysis - Tracks real-time multi-LLM citations (ChatGPT Search, Perplexity, Gemini, Claude). - Computes proprietary AEO Visibility Scores and Citation Share metrics. - Identifies gaps between your brand's presence and your direct competitors. ### 3. Knowledge Weaver & M2M Stealth Tag - Dynamically validates and structured-links JSON-LD Entity Graphs. - Exposes invisible transaction markers (e.g., `BuyAction`, `SearchAction`) for autonomous agents. - Serves dynamic schemas through a specialized, lightweight CORS-restricted API payload. --- ## 🛠️ Stealth Tag Integration (M2M) To make a website "Agent-Ready", add the AnswerShaper stealth tracking tag to the site's `
`. ```html ``` ### Script Behavior 1. **Sniffing**: Detects incoming request user-agent. If it's a known AI crawler (e.g., `GPTBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`, etc.), it activates. 2. **Payload Fetch**: Requests the dynamic JSON-LD entity graph from `https://api.answershaper.com/api/v1/payload`. 3. **Graph Injection**: Dynamically appends the consolidated schema graph into the document head. 4. **Action Injection**: Injects invisible, semantically structured microdata (e.g., `BuyAction`, `SearchAction`, `FAQPage` response mapping) to allow Siri, ChatGPT, and other agents to directly parse checkout URLs or perform site search. --- ## 📡 API Reference ### 1. Public Payload Endpoint #### GET `/api/v1/payload` Retrieves consolidated JSON-LD graph and semantic actions for a client. - **Query Parameters**: - `clientId` (required) - The client's unique identifier. - `url` (optional) - The current webpage URL. - **Response Format**: ```json { "success": true, "schema": { "@context": "https://schema.org", "@graph": [...] }, "dom_actions": [ { "type": "inject_action", "name": "BuyAction", "html": "..." } ], "timestamp": "2026-06-26T23:35:00Z" } ``` ### 2. Admin Endpoints (`/api/v1/admin`) - **GET `/api/v1/admin/clients`**: List all registered client domains and configurations. - **POST `/api/v1/admin/clients`**: Create a new client profile. - **GET `/api/v1/admin/logs`**: Fetch system orchestrator logs. - **POST `/api/v1/admin/manual-actions`**: Trigger manual processing (e.g., clearing cache, refreshing Knowledge Graph). --- ## 🛡️ Security & Compliance - **Origin Filtering**: The payload API enforces dynamic CORS validation against the client's registered domain name. - **XSS Protection**: All dynamically injected values inside DOM actions are strictly HTML-escaped. - **Zero Human Latency**: The tracking tag is fully asynchronous and only executes API fetches when an AI User-Agent is detected, resulting in zero impact on human PageSpeed scores.