Letta · JSON-LD Context

Letta Context

JSON-LD context defining the semantic vocabulary for Letta from Letta.

35 Classes 34 Properties 5 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
naftiko: https://naftiko.com/ns/
letta: https://www.letta.com/ns/
ae: https://apievangelist.com/ns/

Classes

Agent Block Memory Archive Passage Source Tool MCPServer Group Identity Run Job Message ScheduledMessage LLMConfig EmbeddingConfig Provider Sandbox id type name description label value model model_endpoint_type embedding_model manager_config manager_type transport role content message_type usage status

Properties

Property Type Container
created_at dateTime
updated_at dateTime
createdBy reference
limit integer
metadata set
memory reference
blocks reference set
tools reference set
sources reference set
archive_ids reference set
agent_ids reference set
llm_config reference
embedding_config reference
context_window integer
embedding_dim integer
manager_agent_id reference
shared_block_ids reference set
sleep_time_agent_id reference
server_url reference
agent_id reference
source_id reference
tool_id reference
block_id reference
run_id reference
group_id reference
job_id reference
identity_id reference
mcp_server_id reference
step_count integer
total_tokens integer
prompt_tokens integer
completion_tokens integer
tags set
enable_sleeptime boolean

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "naftiko": "https://naftiko.com/ns/",
    "letta": "https://www.letta.com/ns/",
    "ae": "https://apievangelist.com/ns/",

    "Agent": "letta:Agent",
    "Block": "letta:Block",
    "Memory": "letta:Memory",
    "Archive": "letta:Archive",
    "Passage": "letta:Passage",
    "Source": "letta:Source",
    "Tool": "letta:Tool",
    "MCPServer": "letta:MCPServer",
    "Group": "letta:Group",
    "Identity": "letta:Identity",
    "Run": "letta:Run",
    "Job": "letta:Job",
    "Message": "letta:Message",
    "ScheduledMessage": "letta:ScheduledMessage",
    "LLMConfig": "letta:LLMConfig",
    "EmbeddingConfig": "letta:EmbeddingConfig",
    "Provider": "letta:Provider",
    "Sandbox": "letta:Sandbox",

    "id": "@id",
    "type": "@type",
    "name": "schema:name",
    "description": "schema:description",
    "created_at": { "@id": "schema:dateCreated", "@type": "xsd:dateTime" },
    "updated_at": { "@id": "schema:dateModified", "@type": "xsd:dateTime" },
    "createdBy": { "@id": "schema:creator", "@type": "@id" },

    "label": "letta:blockLabel",
    "value": "letta:blockValue",
    "limit": { "@id": "letta:characterLimit", "@type": "xsd:integer" },
    "metadata": { "@id": "schema:additionalProperty", "@container": "@set" },

    "memory": { "@id": "letta:memory", "@type": "@id" },
    "blocks": { "@id": "letta:memoryBlocks", "@container": "@set", "@type": "@id" },
    "tools": { "@id": "letta:tools", "@container": "@set", "@type": "@id" },
    "sources": { "@id": "letta:sources", "@container": "@set", "@type": "@id" },
    "archive_ids": { "@id": "letta:archives", "@container": "@set", "@type": "@id" },
    "agent_ids": { "@id": "letta:agents", "@container": "@set", "@type": "@id" },

    "llm_config": { "@id": "letta:llmConfig", "@type": "@id" },
    "embedding_config": { "@id": "letta:embeddingConfig", "@type": "@id" },
    "model": "letta:model",
    "model_endpoint_type": "letta:modelEndpointType",
    "context_window": { "@id": "letta:contextWindow", "@type": "xsd:integer" },
    "embedding_model": "letta:embeddingModel",
    "embedding_dim": { "@id": "letta:embeddingDimensions", "@type": "xsd:integer" },

    "manager_config": "letta:groupManagerConfig",
    "manager_type": "letta:groupManagerType",
    "manager_agent_id": { "@id": "letta:managerAgent", "@type": "@id" },
    "shared_block_ids": { "@id": "letta:sharedMemoryBlocks", "@container": "@set", "@type": "@id" },
    "sleep_time_agent_id": { "@id": "letta:sleepTimeAgent", "@type": "@id" },

    "transport": "letta:mcpTransport",
    "server_url": { "@id": "letta:mcpServerUrl", "@type": "@id" },

    "agent_id": { "@id": "letta:agent", "@type": "@id" },
    "source_id": { "@id": "letta:source", "@type": "@id" },
    "tool_id": { "@id": "letta:tool", "@type": "@id" },
    "block_id": { "@id": "letta:block", "@type": "@id" },
    "run_id": { "@id": "letta:run", "@type": "@id" },
    "group_id": { "@id": "letta:group", "@type": "@id" },
    "job_id": { "@id": "letta:job", "@type": "@id" },
    "identity_id": { "@id": "letta:identity", "@type": "@id" },
    "mcp_server_id": { "@id": "letta:mcpServer", "@type": "@id" },

    "role": "letta:messageRole",
    "content": "schema:text",
    "message_type": "letta:messageType",
    "step_count": { "@id": "letta:stepCount", "@type": "xsd:integer" },
    "usage": "letta:usage",
    "total_tokens": { "@id": "letta:totalTokens", "@type": "xsd:integer" },
    "prompt_tokens": { "@id": "letta:promptTokens", "@type": "xsd:integer" },
    "completion_tokens": { "@id": "letta:completionTokens", "@type": "xsd:integer" },

    "tags": { "@id": "schema:keywords", "@container": "@set" },
    "status": "letta:status",
    "enable_sleeptime": { "@id": "letta:sleepTimeEnabled", "@type": "xsd:boolean" }
  }
}