Skip to main content
The route always returns Messages-shaped output and errors, independent of the selected provider family.

Request

Fields

Other top-level fields, such as top_k, metadata, and service_tier, travel as provider extras when the selected profile accepts them.

Response

Reasoning signatures are opaque provider values. Replay the complete thinking block unchanged on a later turn when the SDK includes it.

Streaming

The response uses named Messages events: message_start, ping, content block start/delta/stop events, message_delta, and message_stop. The terminal message_delta carries final usage and the additive gateway object. See Use an SDK for an Anthropic client example.