MessageId - a client-minted UUID v4, never derived from content or location.
API reference sections
Schema
MessageUsage
Type object
Shape
| Field | Type | Description |
|---|---|---|
| message_idrequired | MessageId | |
| usagerequired | AiUsage | |
| context | ReportedContextUsage or null | The latest active-context report from the attempt for this reply. |
{
"message_id": "00000000-0000-4000-8000-000000000000",
"usage": {
"prompt_tokens": 0,
"cached_prompt_tokens": 0,
"completion_tokens": 0,
"reasoning_tokens": 0,
"total_tokens": 0,
"source": "provider_reported"
},
"context": {
"used": 0,
"size": 0
}
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Generated from contract version 1. Last updated .
