KnowledgeSourceFreshnessResponse
Fields
9 fields
active_chunk_count· required- integer
content_changed_on_last_sync· required- boolean
hours_since_sync- number or null
is_stale· required- boolean
last_sync_status- string or null
source_id· required- string (uuid)
stale_since- string (date-time) or null
staleness_threshold_hours· required- integer
sync_event_count· required- integer
Raw schema (JSON)
{
"properties": {
"active_chunk_count": {
"title": "Active Chunk Count",
"type": "integer"
},
"content_changed_on_last_sync": {
"title": "Content Changed On Last Sync",
"type": "boolean"
},
"hours_since_sync": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Hours Since Sync"
},
"is_stale": {
"title": "Is Stale",
"type": "boolean"
},
"last_sync_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Sync Status"
},
"source_id": {
"format": "uuid",
"title": "Source Id",
"type": "string"
},
"stale_since": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Stale Since"
},
"staleness_threshold_hours": {
"title": "Staleness Threshold Hours",
"type": "integer"
},
"sync_event_count": {
"title": "Sync Event Count",
"type": "integer"
}
},
"required": [
"source_id",
"is_stale",
"staleness_threshold_hours",
"content_changed_on_last_sync",
"active_chunk_count",
"sync_event_count"
],
"title": "KnowledgeSourceFreshnessResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/knowledge-sources/{source_id}/freshness— Get Freshness
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON