Letta · Schema
PassageCreateRequest
Request model for creating a passage in an archive.
AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| text | string | The text content of the passage |
| metadata | object | Optional metadata for the passage |
| tags | object | Optional tags for categorizing the passage |
| created_at | object | Optional creation datetime for the passage (ISO 8601 format) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PassageCreateRequest",
"title": "PassageCreateRequest",
"properties": {
"text": {
"type": "string",
"title": "Text",
"description": "The text content of the passage"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Metadata",
"description": "Optional metadata for the passage"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags",
"description": "Optional tags for categorizing the passage"
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Created At",
"description": "Optional creation datetime for the passage (ISO 8601 format)"
}
},
"type": "object",
"required": [
"text"
],
"description": "Request model for creating a passage in an archive."
}