Letta · Schema

OrganizationSourcesStats

Complete metadata response for organization sources

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
total_sources integer Total number of sources
total_files integer Total number of files across all sources
total_size integer Total size of all files in bytes
sources array List of source metadata
View JSON Schema on GitHub

JSON Schema

letta-organizationsourcesstats-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrganizationSourcesStats",
  "title": "OrganizationSourcesStats",
  "properties": {
    "total_sources": {
      "type": "integer",
      "title": "Total Sources",
      "description": "Total number of sources",
      "default": 0
    },
    "total_files": {
      "type": "integer",
      "title": "Total Files",
      "description": "Total number of files across all sources",
      "default": 0
    },
    "total_size": {
      "type": "integer",
      "title": "Total Size",
      "description": "Total size of all files in bytes",
      "default": 0
    },
    "sources": {
      "items": {
        "$ref": "#/components/schemas/SourceStats"
      },
      "type": "array",
      "title": "Sources",
      "description": "List of source metadata"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "description": "Complete metadata response for organization sources"
}