diff --git a/docs/about/contributing/documentation.md b/docs/about/contributing/documentation.md index 7c49259052224..3009e6d2652bc 100644 --- a/docs/about/contributing/documentation.md +++ b/docs/about/contributing/documentation.md @@ -33,7 +33,7 @@ following third-party references: ## Tools This repository runs [Vale](https://vale.sh/) on `docs/` as part of CI to enforce prose style. -The configuration is the repo-root `.vale.ini`, and the curated rule set is documented in [`docs/.style/style-guide/`](../../.style/style-guide/README.md). +The configuration is the repo-root `.vale.ini`, and the curated rule set is documented in [`docs/.style/style-guide/`](https://github.com/coder/coder/tree/main/docs/.style/style-guide). Run the same checks locally with `make lint/prose`. Vale runs in advisory mode in this iteration: warnings surface as inline PR annotations, but they don't block the build. diff --git a/docs/ai-coder/ai-gateway/monitoring.md b/docs/ai-coder/ai-gateway/monitoring.md index b44d75758db62..95a9f027668af 100644 --- a/docs/ai-coder/ai-gateway/monitoring.md +++ b/docs/ai-coder/ai-gateway/monitoring.md @@ -197,38 +197,37 @@ curl -X GET "https://coder.example.com/api/v2/ai-gateway/sessions" \ Available query filters: -- `client` - Filter by client name. - - > [!NOTE] - > Client classification is done on best effort basis using the `User-Agent` header; - > not all clients send these headers in an easily-identifiable manner. - -
- Possible client values - - - `Claude Code` - - `Codex` - - `Zed` - - `GitHub Copilot (VS Code)` - - `GitHub Copilot (CLI)` - - `Kilo Code` - - `Roo Code` - - `Coder Agents` - - `Mux` - - `Cursor` - - `OpenCode` - - `Charm Crush` - - `Junie` - - `Unknown` - -
- +- `client` - Filter by client name. Possible values are listed below. - `initiator` - Filter by user ID or username - `provider` - Filter by AI provider (e.g., `openai`, `anthropic`) - `model` - Filter by model name - `started_after` - Filter sessions after a timestamp - `started_before` - Filter sessions before a timestamp +
+Possible client values + +> [!NOTE] +> Client classification is done on best effort basis using the `User-Agent` header; +> not all clients send these headers in an easily-identifiable manner. + +- `Claude Code` +- `Codex` +- `Zed` +- `GitHub Copilot (VS Code)` +- `GitHub Copilot (CLI)` +- `Kilo Code` +- `Roo Code` +- `Coder Agents` +- `Mux` +- `Cursor` +- `OpenCode` +- `Charm Crush` +- `Junie` +- `Unknown` + +
+ Refer to the [API documentation](../../reference/api/aigateway.md) for full details. ## Data retention