---
title: "chat.timeline-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/chat.timeline-result"
updated: null
---

# chat.timeline-result@1 · OpenVibe.Services

HTML: [chat.timeline-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/chat.timeline-result)

# ChatTimelineResult `chat.timeline-result@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: chat
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/chat/timeline-result.v1.json`](/docs/contracts/chat.timeline-result.json)

chat.timeline-result@1: the answer of GET /internal/chat/timeline on OpenVibe.Chat (capability chat.analysis.read): non-deleted chat\_messages of one channel (channel\_user\_id) or stream (stream\_id) counted per bucket between since and until (epoch ms), bucket\_ms wide, for OpenVibe.Live's AI moments, chat spikes and activity. Live's own AI viewers (source\_platform ai) are not counted: they are not people reacting. Empty buckets are left out; buckets are oldest first. max\_id is the highest message id in the window, null when none. A failure is chat.ingress-ack@1's error.

## Fields

This schema has no named fields.

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: buckets

~~~~
{
  "buckets": [
    {
      "t": 1759612440000,
      "count": 12
    },
    {
      "t": 1759612500000,
      "count": 31,
      "people": 9
    }
  ],
  "max_id": 90214
}
~~~~

Valid: quiet

~~~~
{
  "buckets": [],
  "max_id": null
}
~~~~

Rejected: bucket-without-t

~~~~
{
  "buckets": [
    {
      "count": 12
    }
  ],
  "max_id": 90214
}
~~~~

Rejected: people-zero

~~~~
{
  "buckets": [
    {
      "t": 1759612440000,
      "count": 3,
      "people": 0
    }
  ],
  "max_id": 90214
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('chat.timeline-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
