Type alias AiGatewayMetadataCaptureItem
AiGatewayMetadataCaptureItem: typeof TOOL_USAGE | typeof TOOL_OUTPUT_SIZE | typeof TOOL_NAMES | typeof CONVERSATION_SHAPE | typeof INPUT_SIZE_BY_ROLE | typeof AVAILABLE_TOOLS | typeof GENERATION_SETTINGS | UnparsedObject
An item Metadata-only capture can add to LLM Observability spans. Each is structure or a number, never conversation text.
tool_usageadds tool call and result counts;tool_output_sizeadds estimated tool output tokens, total and average;tool_namesadds each tool call and result with its name, ID and type;conversation_shapeadds every message with its role and no text;input_size_by_roleadds estimated input tokens per role;available_toolsadds the names of the tools the request offered;generation_settingsadds numeric and enumerated settings such as temperature and the finish reason.