Letta · JSON Structure

Letta Block Structure

Flat structure summary of the Letta Block entity, derived from the Letta OpenAPI 1.0.0 spec.

Type: Properties: 0
AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

letta-block is a JSON Structure definition published by Letta.

Meta-schema:

JSON Structure

Raw ↑
{
  "jsonStructure": "0.1",
  "name": "letta-block",
  "title": "Letta Block",
  "description": "Flat structure summary of the Letta Block entity, derived from the Letta OpenAPI 1.0.0 spec.",
  "source": "https://raw.githubusercontent.com/letta-ai/letta/main/fern/openapi.json",
  "entity": "Block",
  "fields": [
    {
      "name": "value",
      "type": "string",
      "required": true,
      "description": "Value of the block.",
      "enum": null,
      "format": null
    },
    {
      "name": "limit",
      "type": "integer",
      "required": false,
      "description": "Character limit of the block.",
      "enum": null,
      "format": null
    },
    {
      "name": "project_id",
      "type": "object",
      "required": false,
      "description": "The associated project id.",
      "enum": null,
      "format": null
    },
    {
      "name": "template_name",
      "type": "object",
      "required": false,
      "description": "Name of the block if it is a template.",
      "enum": null,
      "format": null
    },
    {
      "name": "is_template",
      "type": "boolean",
      "required": false,
      "description": "Whether the block is a template (e.g. saved human/persona options).",
      "enum": null,
      "format": null
    },
    {
      "name": "template_id",
      "type": "object",
      "required": false,
      "description": "The id of the template.",
      "enum": null,
      "format": null
    },
    {
      "name": "base_template_id",
      "type": "object",
      "required": false,
      "description": "The base template id of the block.",
      "enum": null,
      "format": null
    },
    {
      "name": "deployment_id",
      "type": "object",
      "required": false,
      "description": "The id of the deployment.",
      "enum": null,
      "format": null
    },
    {
      "name": "entity_id",
      "type": "object",
      "required": false,
      "description": "The id of the entity within the template.",
      "enum": null,
      "format": null
    },
    {
      "name": "preserve_on_migration",
      "type": "object",
      "required": false,
      "description": "Preserve the block on template migration.",
      "enum": null,
      "format": null
    },
    {
      "name": "label",
      "type": "object",
      "required": false,
      "description": "Label of the block (e.g. 'human', 'persona') in the context window.",
      "enum": null,
      "format": null
    },
    {
      "name": "read_only",
      "type": "boolean",
      "required": false,
      "description": "Whether the agent has read-only access to the block.",
      "enum": null,
      "format": null
    },
    {
      "name": "description",
      "type": "object",
      "required": false,
      "description": "Description of the block.",
      "enum": null,
      "format": null
    },
    {
      "name": "metadata",
      "type": "object",
      "required": false,
      "description": "Metadata of the block.",
      "enum": null,
      "format": null
    },
    {
      "name": "hidden",
      "type": "object",
      "required": false,
      "description": "If set to True, the block will be hidden.",
      "enum": null,
      "format": null
    },
    {
      "name": "id",
      "type": "string",
      "required": false,
      "description": "The human-friendly ID of the Block",
      "enum": null,
      "format": null
    },
    {
      "name": "created_by_id",
      "type": "object",
      "required": false,
      "description": "The id of the user that made this Block.",
      "enum": null,
      "format": null
    },
    {
      "name": "last_updated_by_id",
      "type": "object",
      "required": false,
      "description": "The id of the user that last updated this Block.",
      "enum": null,
      "format": null
    },
    {
      "name": "tags",
      "type": "object",
      "required": false,
      "description": "The tags associated with the block.",
      "enum": null,
      "format": null
    }
  ],
  "fieldCount": 19,
  "requiredCount": 1
}