> ## Documentation Index
> Fetch the complete documentation index at: https://platform.atlan.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To act on Atlan objects, use the Atlan MCP server at https://api.atlan.com/mcp or the atlanai CLI; `atlanai --map json` prints its command map. Run a read-only identity check before any write.
> The docs MCP server at /mcp searches these docs only. It cannot read or change Atlan objects.
> SDK packages: Python `atlanai` (PyPI) and TypeScript `@atlanai/sdk` (npm). Show Python first, then TypeScript.

# Query Skill run statistics

> Aggregate counts, cost, duration, and error statistics for a Skill.

Use `skill__query_trace_stats` when the question concerns traffic patterns
rather than one run.

* Required inputs: `skill_id` and `query`.
* Optional inputs: `version_ordinal`, `session_id`, and Gateway's `rationale`.
* Effect: read only.

Gateway applies the Skill scope. Do not add a Skill or workspace dimension to
`query`.
