Letta · Schema

StepMetrics

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Properties

Name Type Description
id string The id of the step this metric belongs to (matches steps.id).
provider_id object The unique identifier of the provider.
run_id object The unique identifier of the run.
agent_id object The unique identifier of the agent.
step_start_ns object The timestamp of the start of the step in nanoseconds.
llm_request_start_ns object The timestamp of the start of the llm request in nanoseconds.
llm_request_ns object Time spent on LLM requests in nanoseconds.
tool_execution_ns object Time spent on tool execution in nanoseconds.
step_ns object Total time for the step in nanoseconds.
base_template_id object The base template ID that the step belongs to (cloud only).
template_id object The template ID that the step belongs to (cloud only).
project_id object The project that the step belongs to (cloud only).
View JSON Schema on GitHub

JSON Schema

letta-stepmetrics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StepMetrics",
  "title": "StepMetrics",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "The id of the step this metric belongs to (matches steps.id)."
    },
    "provider_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider Id",
      "description": "The unique identifier of the provider."
    },
    "run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run Id",
      "description": "The unique identifier of the run."
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id",
      "description": "The unique identifier of the agent."
    },
    "step_start_ns": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Step Start Ns",
      "description": "The timestamp of the start of the step in nanoseconds."
    },
    "llm_request_start_ns": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Llm Request Start Ns",
      "description": "The timestamp of the start of the llm request in nanoseconds."
    },
    "llm_request_ns": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Llm Request Ns",
      "description": "Time spent on LLM requests in nanoseconds."
    },
    "tool_execution_ns": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Execution Ns",
      "description": "Time spent on tool execution in nanoseconds."
    },
    "step_ns": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Step Ns",
      "description": "Total time for the step in nanoseconds."
    },
    "base_template_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Base Template Id",
      "description": "The base template ID that the step belongs to (cloud only)."
    },
    "template_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Template Id",
      "description": "The template ID that the step belongs to (cloud only)."
    },
    "project_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Id",
      "description": "The project that the step 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-stepmetrics"
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 email required.

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