OptionalenableEnable instrumentation for the Responses API (responses.create/stream).
OptionalenableEnable instrumentation for Images API (images.generate).
OptionalenableEnable instrumentation for Audio API (audio.speech/transcriptions/translations).
OptionalproviderProvider identifier attached to emitted events. Defaults to 'openai'.
Override if you proxy OpenAI behind another service and want distinct labeling.
OptionaloperationOperation name recorded on tool_result/span events. Defaults to
'openai.chat.completions.create'.
OptionalemitEmit message events for user/system prompts before the API call executes.
Enabled by default.
OptionalemitEmit message events for assistant completions returned by OpenAI.
Enabled by default.
OptionalemitEmit tool_call events for function/tool invocations requested by the assistant.
Enabled by default.
OptionalemitEmit usage events when OpenAI reports token accounting information.
Enabled by default.
OptionalemitEmit tool_result events summarizing request latency and outcome (success/error).
Enabled by default.
OptionalemitEmit a span event around each API invocation capturing duration and status.
Enabled by default.
Configuration knobs for withOpenAI, allowing callers to tune which AccordKit events the adapter emits and how they are labeled.