List Chats For File
Authorizations
Headers
Define the version of the Connect protocol
1 Define the timeout, in ms
Body
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.
Examples
Example 1: Compute Duration from two Timestamps in pseudo code.
Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
Example 3: Compute Duration from datetime.timedelta in Python.
JSON Mapping
In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.000000001s", and 3 seconds and 1 microsecond should be expressed in JSON format as "3.000001s".
Response
Success
Aggregate ontology-usage health for the window — the roll-ups the Ontology Health hero needs without paging every file to the client. pulled_files, avg_hit_rate, and error_files are Postgres aggregates over the pull/run data; total_files, dead_files, and reclaimable_tokens come from the current git tree diffed against the set of pulled paths (a dead file is one present in the ontology but never pulled in the window).