Skip to main content

Shared API types

These support types provide event identity and structured errors where the linked operations and events use them. They are not a universal HTTP error envelope: an error from another operation, authentication layer or upstream can have a different body.

Support types and actual uses​

TypeUsed by
ErrorDetailsSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
ErrorInfoSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
EventContextllm.generation_completed; llm.generation_started; llm.message_published; llm.tool_call_approval_required; llm.tool_call_completed; llm.tool_call_started
FieldViolationSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
HelpLinkSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
ModelErrorSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
RetryInfoSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
RpcErrorSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed
UpstreamErrorSend a message and wait for the result; Submit client-side tool results and wait for the next segment; Submit client-side tool execution results; llm.generation_completed

Models reused across APIs​

Reusable domain models stay with their owning capability. The following types are reached by operations in more than one API bundle; their pages show the exact operation and payload profiles.

ModelAPI bundles
Backoffagent-profiles; conversations; end-users
FileResolutionConfigagent-profiles; conversations; end-users
GenerationConfigagent-profiles; conversations; end-users
MCPServerReferenceagent-profiles; conversations
MemoryConfigagent-profiles; conversations; end-users
ModelRoutingFilteragent-profiles; conversations; end-users
PercentileThresholdagent-profiles; conversations; end-users
PluginConfigagent-profiles; conversations; end-users
PluginPDFConfigagent-profiles; conversations; end-users
PluginWebConfigagent-profiles; conversations; end-users
ProviderMaxPriceagent-profiles; conversations; end-users
ProviderPreferencesagent-profiles; conversations; end-users
ReasoningOptionsagent-profiles; conversations; end-users
ResponseFormatagent-profiles; conversations; end-users
StopOnFailureRuleagent-profiles; conversations; end-users
TimeAwareConfigagent-profiles; conversations; end-users
TimeoutPolicyagent-profiles; conversations; end-users
ToolChoiceagent-profiles; conversations; end-users
ToolDefinitionagent-profiles; conversations; end-users
ToolExecutionOrderRuleagent-profiles; conversations; end-users
ToolExecutionPolicyagent-profiles; conversations; end-users
TurnContextConfigagent-profiles; conversations; end-users
UsageOptionsagent-profiles; conversations; end-users
WebSearchOptionsagent-profiles; conversations; end-users

See the event catalog for outgoing payloads and the API reference for operation-specific request and response bodies.

Document: DOC-API-shared-types.