Letta · Schema
RunMetrics
AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The id of the run this metric belongs to (matches runs.id). |
| agent_id | object | The unique identifier of the agent. |
| project_id | object | The project that the run belongs to (cloud only). |
| run_start_ns | object | The timestamp of the start of the run in nanoseconds. |
| run_ns | object | Total time for the run in nanoseconds. |
| num_steps | object | The number of steps in the run. |
| tools_used | object | List of tool IDs that were used in this run. |
| template_id | object | The template ID that the run belongs to (cloud only). |
| base_template_id | object | The base template ID that the run belongs to (cloud only). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RunMetrics",
"title": "RunMetrics",
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "The id of the run this metric belongs to (matches runs.id)."
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Id",
"description": "The unique identifier of the agent."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id",
"description": "The project that the run belongs to (cloud only)."
},
"run_start_ns": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Run Start Ns",
"description": "The timestamp of the start of the run in nanoseconds."
},
"run_ns": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Run Ns",
"description": "Total time for the run in nanoseconds."
},
"num_steps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Num Steps",
"description": "The number of steps in the run."
},
"tools_used": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tools Used",
"description": "List of tool IDs that were used in this run."
},
"template_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Template Id",
"description": "The template ID that the run belongs to (cloud only)."
},
"base_template_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Base Template Id",
"description": "The base template ID that the run belongs to (cloud only)."
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id"
]
}