ChatId - a client-minted UUID v4, never derived from content or location.
API reference sections
Schema
AiSearchHit
Type object
Shape
| Field | Type | Description |
|---|---|---|
| chat_idrequired | ChatId | |
| message_idrequired | MessageId | MessageId - a client-minted UUID v4, never derived from content or location. |
| block_idrequired | MessageBlockId | MessageBlockId - a client-minted UUID v4, never derived from content or location. |
| chat_titlerequired | string | |
| snippetrequired | string | |
| spansrequired | array of AiSearchSpan | |
| scorerequired | number (float) | |
| profile_id | ProfileId or null | The profile the hit's chat belongs to (AI schema 13), so a surface that lists every profile's hits opens one in its own profile's window. |
{
"chat_id": "00000000-0000-4000-8000-000000000000",
"message_id": "00000000-0000-4000-8000-000000000000",
"block_id": "00000000-0000-4000-8000-000000000000",
"chat_title": "string",
"snippet": "string",
"spans": [
{
"start": 0,
"end": 0
}
],
"score": 0,
"profile_id": "00000000-0000-4000-8000-000000000000"
}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 .
