Inspect AI Requests

Inspect individual AI requests for routing, governance, tool calls, and cost.

24|4|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/systempromptio/systemprompt-template --skill inspect-ai-requests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Inspect AI Requests
Source: https://github.com/systempromptio/systemprompt-template/tree/main/services/skills/inspect_ai_requests
Command: npx skills add https://github.com/systempromptio/systemprompt-template --skill inspect-ai-requests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides detailed insights into individual AI requests, allowing users to debug and analyze specific requests, their routing, denials, latency, cost, and the tools they triggered.

Core Features & Use Cases

  • Request Tracing: Follow the path of a request from the client to the provider and back.
  • Audit Information: Retrieve full audit details including identity, policy evaluations, prompts, responses, and tool calls.
  • Tool Call Analysis: Track tool calls spawned by a request and analyze their outcomes.
  • Use Case: When a specific AI request needs to be investigated for routing issues, cost analysis, or debugging tool calls.

Quick Start

Use the 'inspect_ai_requests' skill to audit a specific request with ID '123456789'.

Frequently Asked Questions about Inspect AI Requests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a specific AI gateway request to trace routing and latency?

Debug an AI gateway request by inspecting its logs to trace the path from client to provider, revealing routing details, latency, and governance policy evaluations for that specific request.

How can I audit AI tool calls spawned by a request and analyze their outcomes?

Audit AI tool calls by analyzing the request's audit details, which track the tools triggered by the request and evaluate their outcomes to ensure proper execution.

What do I need to inspect AI requests for cost analysis and policy denials?

To inspect AI requests for cost analysis and policy denials, you need access to gateway logs and audit information to retrieve identity, prompt, response, and cost details.

Can I track governance policy evaluations for individual AI requests?

Yes, you can track governance policy evaluations by retrieving full audit details for individual AI requests, including identity, policy evaluations, prompts, and responses.

When should I use request tracing for debugging AI tool calls?

Use request tracing when a specific AI request needs investigation for routing issues, cost analysis, or debugging tool calls to follow the exact path from client to provider and back.

Does inspecting AI requests require access to gateway logs?

Yes, inspecting AI requests requires access to gateway logs and audit information to provide detailed insights into individual request routing, denials, latency, cost, and triggered tools.