Skip to main content
Prompt tracking shows how AI platforms describe, recommend, and rank your API over time. Lightsage runs your saved prompts across answer engines and coding agents on a schedule, then turns the responses into visibility metrics, competitor comparisons, cited sources, and actionables. Use prompt tracking when you want to answer questions such as:
  • Which AI platforms mention your API for important developer use cases?
  • Which competitors appear when your API does not?
  • Do coding agents recommend you when a developer asks how to build something?
  • Which docs pages or content gaps should you fix next?

What Lightsage tracks

Each tracked prompt belongs to a topic and runs against one or more AI platforms. A topic usually maps to a product category, use case, framework, or competitive area. For each run, Lightsage records: Prompt tracking is separate from API Performance. Prompt tracking measures whether AI platforms recommend and describe you. API Performance measures whether coding agents can successfully use your API, SDK, CLI, or MCP server in real tasks.

Platform types

Lightsage separates prompt runs into answer engines and coding agents because they influence different parts of developer adoption.

Answer engines

Answer engines respond in prose. Use them to measure awareness, category positioning, comparison coverage, and source citations.Examples include ChatGPT, Perplexity, Claude, Gemini Search, Microsoft Copilot, Google AI Overviews, and Google AI Mode.

Coding agents

Coding agents work inside developer workflows. Use them to measure whether agents recommend your API when a developer is ready to implement.Examples include Claude Code, OpenAI Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, OpenClaw, Hermes, Pi, and Kilo.
Answer engine runs cost 1 credit per platform run. Coding agent runs cost 5 credits per platform run because they use agent execution paths rather than a single answer-engine request.

Choose prompts to track

Track a focused set of prompts that reflect the decisions developers make before and during implementation. Start with 3-5 brand prompts, 5-10 category or comparison prompts, and 3-5 implementation prompts for your most important frameworks or use cases.
Write implementation prompts the way a developer would ask a coding agent. Include the framework, runtime, or integration target when it matters.

Set up tracking

1

Create topics

Group prompts by product area, category, framework, or competitive set. Topics make reporting and Share of Voice comparisons easier to read.
2

Add prompts

Add prompt text for the questions you want Lightsage to run. Keep each prompt tied to one clear intent.
3

Select platforms

Choose answer engines for awareness and source coverage. Choose coding agents for implementation-oriented prompts where adoption is the goal.
4

Choose a schedule

Run high-priority prompts daily when you are actively changing docs or positioning. Use alternate-day runs for stable prompts where cost efficiency matters more than immediate feedback.
5

Review results

Use Visibility Analytics to compare Visibility Score, Share of Voice, average position, platform breakdowns, citations, and prompt-level trends.
You can manage prompts in the dashboard or through the CLI.
Create prompts through the CLI when you want a repeatable setup:

Read the results

Start with the trend, then drill into the prompt and platform that changed. Low scores on answer engines often point to category, comparison, or source-authority gaps. Low scores on coding agents often point to implementation documentation, missing examples, weak llms.txt coverage, or unclear SDK and API guidance.

Turn tracking into action

After you identify a losing prompt, use the result to decide the next fix:
  • If competitors are mentioned and you are not, add or improve category and comparison content.
  • If agents cite the wrong page, update the canonical docs path and make the answer easier to extract.
  • If implementation prompts fail, improve quickstarts, SDK examples, endpoint docs, and llms.txt coverage.
  • If a prompt is important but noisy, rewrite it around a narrower framework, use case, or buyer decision.
For agent-ready follow-up work, use Pull actionables into your agent.