Letta · Schema

FileStats

File statistics for metadata endpoint

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
file_id string Unique identifier of the file
file_name string Name of the file
file_size object Size of the file in bytes
View JSON Schema on GitHub

JSON Schema

letta-filestats-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FileStats",
  "title": "FileStats",
  "properties": {
    "file_id": {
      "type": "string",
      "title": "File Id",
      "description": "Unique identifier of the file"
    },
    "file_name": {
      "type": "string",
      "title": "File Name",
      "description": "Name of the file"
    },
    "file_size": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "File Size",
      "description": "Size of the file in bytes"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "file_id",
    "file_name"
  ],
  "description": "File statistics for metadata endpoint"
}