Letta · Schema

RunMetrics

Artificial IntelligenceAgentsStateful 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).
View JSON Schema on GitHub

JSON Schema

letta-runmetrics-schema.json Raw ↑
{
  "$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"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-runmetrics"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.