AgentAPIGate
Back to Catalog
GET /v1/ai_visibility/askPack: intel·MCP Tool: ai_visibility_ask

AI Visibility Live Assistant Prompt & Citation Inspector

Run buyer-intent prompts against ChatGPT, Claude, Gemini, or Perplexity and extract clean Markdown answers, cited URLs, and referenced domains.

API Key Price:$0.0060 / call
x402 Base USDC:$0.0060 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
Commercial, category, or brand discovery prompt sent to the target AI assistant
AI assistant engine (chat_gpt, claude, gemini, perplexity)
Optional model override (defaults to cost-optimal current model per engine)
Enable live web search citation grounding when supported by the engine
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/ai_visibility/ask" \
  --data-urlencode "prompt=What are the best developer APIs for extracting clean Markdown and transcripts for RAG agents?" \
  --data-urlencode "engine=chat_gpt" \
  --data-urlencode "web_search=false" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-90% tokens
# AI Visibility Live Assistant Prompt & Citation Inspector (`ai_visibility.ask`)
**engine**: chat_gpt · **model_name**: gpt-4o-mini-2024-07-18 · **answer_markdown**: When looking for APIs to extract clean Markdown and transcripts for Retrieval-Augmented Generation (RAG) agents, you want to focus on tools that can convert various formats to Markdown, handle transcripts from audio/video, and clean up the data for better usability. Here are some of the best developer APIs that fit these needs:

### 1. **OpenAI API**
   - **Features**: Excellent for text generation, summarization, and clean-up. You can use it to convert content to Markdown format.
   - **Use Case**: You can prompt the API to convert raw text into structured Markdown or summarize/transcribe con… · **output_tokens**: 659

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: ai_visibility.ask · Method: GET
ParameterTypeReqSample / DefaultDescription
promptstringrequiredWhat are the best developer APIs for extracting clean Markdown and transcripts for RAG agents?Commercial, category, or brand discovery prompt sent to the target AI assistant
enginestringoptionalchat_gptAI assistant engine (chat_gpt, claude, gemini, perplexity)
model_namestringoptional—Optional model override (defaults to cost-optimal current model per engine)
web_searchbooleanoptionalfalseEnable live web search citation grounding when supported by the engine
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0060 / call$0/mo · Balance never expires
Remote MCP Toolai_visibility_askOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0060 / callZero-signup USDC enabled
P50 Latency9328 ms$0 billed on empty or 4xx/5xx
Token Economy1776t → 199t (-90%)Partner credit: paid_usd / x402

More Dev, AI & Security Real-Time APIs

Frequently Asked Questions

How do I call AI Visibility Live Assistant Prompt & Citation Inspector (ai_visibility.ask) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/ai_visibility/ask with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool ai_visibility_ask on https://mcp.agentapigate.ai/mcp.

What does ai_visibility.ask cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.006 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on ai_visibility.ask?

Passing ?format=md transforms the response into normalized Markdown (~199 tokens vs ~1776 raw tokens, saving 90% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only intel endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["ai_visibility.ask"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.