Packages

A well-typed, idiomatic Gleam client for Anthropic's Claude API with streaming support and tool use

Current section

Files

Jump to
anthropic_gleam include anthropic@hooks_RequestEndEvent.hrl
Raw

include/anthropic@hooks_RequestEndEvent.hrl

-record(request_end_event, {
endpoint :: binary(),
duration_ms :: integer(),
success :: boolean(),
response :: gleam@option:option(anthropic@hooks:response_summary()),
error :: gleam@option:option(anthropic@error:anthropic_error()),
request_id :: binary(),
retry_count :: integer()
}).