Letta · Schema

IdentityUpdate

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
identifier_key object External, user-generated identifier key of the identity.
name object The name of the identity.
identity_type object The type of the identity.
agent_ids object The agent ids that are associated with the identity.
block_ids object The IDs of the blocks associated with the identity.
properties object List of properties associated with the identity.
View JSON Schema on GitHub

JSON Schema

letta-identityupdate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IdentityUpdate",
  "title": "IdentityUpdate",
  "properties": {
    "identifier_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Identifier Key",
      "description": "External, user-generated identifier key of the identity."
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "The name of the identity."
    },
    "identity_type": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/IdentityType"
        },
        {
          "type": "null"
        }
      ],
      "description": "The type of the identity."
    },
    "agent_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "maxLength": 42,
            "minLength": 42,
            "pattern": "^agent-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "description": "The ID of the agent in the format 'agent-<uuid4>'",
            "examples": [
              "agent-123e4567-e89b-42d3-8456-426614174000"
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Ids",
      "description": "The agent ids that are associated with the identity.",
      "deprecated": true
    },
    "block_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "maxLength": 42,
            "minLength": 42,
            "pattern": "^block-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "description": "The ID of the block in the format 'block-<uuid4>'",
            "examples": [
              "block-123e4567-e89b-42d3-8456-426614174000"
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Block Ids",
      "description": "The IDs of the blocks associated with the identity.",
      "deprecated": true
    },
    "properties": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/IdentityProperty"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Properties",
      "description": "List of properties associated with the identity."
    }
  },
  "additionalProperties": false,
  "type": "object"
}