Letta · Schema

SourceStats

Aggregated metadata for a source

Artificial IntelligenceAgentsStateful 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
View JSON Schema on GitHub

JSON Schema

letta-sourcestats-schema.json Raw ↑
{
  "$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"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-sourcestats"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.