Messages API
The Messages API is Anthropic's primary interface for conversing with Claude, where you send an ordered list of user and assistant messages and receive Claude's reply. It supports system prompts, streaming, tool use, and parameters such as max_tokens and temperature.