Letta · Schema
SourceStats
Aggregated metadata for a source
AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| source_id | string | Deprecated: Use `folder_id` field instead. Unique identifier of the source |
| source_name | string | Deprecated: Use `folder_name` field instead. Name of the source |
| file_count | integer | Number of files in the source |
| total_size | integer | Total size of all files in bytes |
| files | array | List of file statistics |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SourceStats",
"title": "SourceStats",
"properties": {
"source_id": {
"type": "string",
"title": "Source Id",
"description": "Deprecated: Use `folder_id` field instead. Unique identifier of the source",
"deprecated": true
},
"source_name": {
"type": "string",
"title": "Source Name",
"description": "Deprecated: Use `folder_name` field instead. Name of the source",
"deprecated": true
},
"file_count": {
"type": "integer",
"title": "File Count",
"description": "Number of files in the source",
"default": 0
},
"total_size": {
"type": "integer",
"title": "Total Size",
"description": "Total size of all files in bytes",
"default": 0
},
"files": {
"items": {
"$ref": "#/components/schemas/FileStats"
},
"type": "array",
"title": "Files",
"description": "List of file statistics"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"source_id",
"source_name"
],
"description": "Aggregated metadata for a source"
}