Skip to content

Commit 29bf2e5

Browse files
committed
ROB-1707 Document every token_count field the example shows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V2KwgqX5jRzJiSCctf2GZd
1 parent f840307 commit 29bf2e5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎docs/configuration/holmesgpt/holmes-chat-api.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,18 @@ Emitted with token usage statistics.
463463
* - ``metadata.usage.completion_tokens``
464464
- integer
465465
- Output tokens of the last LLM call.
466+
* - ``metadata.usage.total_tokens``
467+
- integer
468+
- Input plus output tokens of the last LLM call.
469+
* - ``metadata.usage.cached_tokens``
470+
- integer
471+
- Optional. Input tokens of the last LLM call served from the provider's prompt cache.
466472
* - ``metadata.max_tokens``
467473
- integer
468474
- Context window of the model.
475+
* - ``metadata.max_output_tokens``
476+
- integer
477+
- Maximum output tokens of the model.
469478

470479
.. _approval-required-event:
471480

0 commit comments

Comments
 (0)