Skip to content
Claude Certified Developer — Foundations

Anthropic · Topic 1 of 5

The Messages API

The core request/response contract: request anatomy (model, max_tokens, system, messages), statelessness and sending full history each turn, multi-turn conversations, assistant prefills, stop_reason semantics, and streaming responses.

5 lessons298 questions

What this topic covers

  1. 01Request Anatomy: model, max_tokens, system, messages300m
  2. 02Statelessness: Sending Full History Each Turn240m
  3. 03System Prompts and Assistant Prefills300m
  4. 04stop_reason: end_turn, tool_use, max_tokens300m
  5. 05Streaming Responses (SSE)300m