Commit 1dcd380
Add usage and billing metrics docs page
Document how SDK integrators read token counts, context-window
utilization, AI credit cost, and account quota via session events and
RPC methods (assistant.usage, session.usage_info,
session.metadata.contextInfo, session.usage.getMetrics, models.list,
account.getQuota).
Examples are provided for TypeScript, Python, Go, .NET, Java, and Rust,
and the compiled snippets pass the docs-validation harness. Adds a link
to the features index.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5a80afe commit 1dcd380
2 files changed
Lines changed: 1348 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments