MessageId - a client-minted UUID v4, never derived from content or location.
API reference sections
Schema
Message
Type object
Shape
| Field | Type | Description |
|---|---|---|
| idrequired | MessageId | |
| chat_idrequired | ChatId | ChatId - a client-minted UUID v4, never derived from content or location. |
| ordinalrequired | integer (uint32, >= 0) | |
| rolerequired | ChatRole | |
| staterequired | MessageState | |
| markdownrequired | string | |
| origin_message_id | MessageId or null | |
| provider | AiProviderId or null | |
| requested_model | string or null | |
| resolved_model | string or null | |
| error_class | AiErrorClass or null | |
| created_atrequired | Timestamp | Epoch milliseconds, UTC. Signed, so instants before 1970 are representable. |
| completed_at | Timestamp or null |
{
"id": "00000000-0000-4000-8000-000000000000",
"chat_id": "00000000-0000-4000-8000-000000000000",
"ordinal": 0,
"role": "user",
"state": "pending",
"markdown": "string",
"origin_message_id": "00000000-0000-4000-8000-000000000000",
"provider": "string",
"requested_model": "string",
"resolved_model": "string",
"error_class": "configuration",
"created_at": 0,
"completed_at": 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 .
