Claude · Schema

Message

A message response from Claude.

Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language Processing

Properties

Name Type Description
id string Unique object identifier for the message.
type string Object type. Always "message" for message responses.
role string Conversational role of the generated message. Always "assistant".
content array Content generated by the model. Array of content blocks, each of which has a type that determines its shape.
model string The model that handled the request.
stop_reason string The reason the model stopped generating tokens.
stop_sequence string The stop sequence that caused the model to stop, if applicable. Null if the model stopped for another reason.
View JSON Schema on GitHub