ChatVibeConversationsResult chat.vibe-conversations-result@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- chat
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/chat/vibe-conversations-result.v1.json
chat.vibe-conversations-result@1: GET /api/vibe/conversations for a person, newest first. The last line and origin site are omitted when none is known.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
count | integer | yes |
| |
conversations | array of object | yes |
| |
conversations[].slug | string | yes | ||
conversations[].name | string | yes | ||
conversations[].last_message_at | string | yes |
| |
conversations[].created_at | string | yes |
| |
conversations[].last_line | string | null | yes |
| |
conversations[].last_answer_at | string | null | yes |
| |
conversations[].site | string | null | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: basic
{
"count": 1,
"conversations": [
{
"slug": "v1",
"name": "Trip",
"last_message_at": "2026-11-09T08:00:00Z",
"created_at": "2026-11-09T07:00:00Z",
"last_line": "Hello",
"last_answer_at": null,
"site": "openvibe.today"
}
]
}Rejected: count
{
"count": -1,
"conversations": []
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('chat.vibe-conversations-result@1', value); // { valid, errors: [{ path, message }] }