Letta · Capability

Letta API — Models

Models — list available chat and embedding models exposed by configured providers. 3 operations. Lead operation: List LLM Models. Self-contained Naftiko capability covering one Letta business surface.

Letta API — Models is a Naftiko capability published by Letta, one of 36 capabilities the APIs.io network indexes for this provider. It bundles 3 operations across the GET method rooted at /v1/models.

The capability includes 3 read-only operations. Lead operation: List LLM Models. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Letta, Stateful Agents, and Models.

Run with Naftiko LettaStateful AgentsModels

What You Can Do

GET
List_models — List LLM Models
/v1/models/
GET
List_embedding_models — List Embedding Models
/v1/models/embedding
GET
Models_listembeddingmodels
/v1/models/embeddings

MCP Tools

list-llm-models

List LLM Models

read-only idempotent
list-embedding-models

List Embedding Models

read-only idempotent
models-listembeddingmodels

read-only idempotent

Capability Spec

letta-models.yaml Raw ↑
naftiko: "1.0.0-alpha2"

info:
  label: "Letta API — Models"
  description: >-
    Models — list available chat and embedding models exposed by configured providers. 3 operations. Lead operation: List LLM Models. Self-contained Naftiko capability covering one Letta business surface.
  tags:
    - Letta
    - Stateful Agents
    - Models
  created: "2026-05-08"
  modified: "2026-05-22"

binds:
  - namespace: env
    keys:
      LETTA_API_KEY: LETTA_API_KEY

capability:

  consumes:
    - type: http
      namespace: "letta-models"
      baseUri: "https://api.letta.com"
      description: "Letta API — Models business capability. Self-contained, no shared references."
      authentication:
        type: bearer
        token: "{{env.LETTA_API_KEY}}"
      resources:
        - name: "models"
          path: "/v1/models/"
          operations:
            - name: "list_models"
              method: GET
              description: "List LLM Models"
              inputParameters:
                - name: "provider_category"
                  in: query
                  type: string
                  required: false
                  description: "provider_category parameter"
                - name: "provider_name"
                  in: query
                  type: string
                  required: false
                  description: "provider_name parameter"
                - name: "provider_type"
                  in: query
                  type: string
                  required: false
                  description: "provider_type parameter"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."
        - name: "models-embedding"
          path: "/v1/models/embedding"
          operations:
            - name: "list_embedding_models"
              method: GET
              description: "List Embedding Models"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."
        - name: "models-embeddings"
          path: "/v1/models/embeddings"
          operations:
            - name: "models_listembeddingmodels"
              method: GET
              description: ""
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: "letta-models-rest"
      port: 8080
      description: "REST adapter for Letta API — Models. One Spectral-compliant resource per consumed operation."
      resources:
        - path: "/v1/models/"
          name: "models"
          description: "REST surface for models."
          operations:
            - method: GET
              name: "list_models"
              description: "List LLM Models"
              call: "letta-models.list_models"
              with:
                "provider_category": "rest.provider_category"
                "provider_name": "rest.provider_name"
                "provider_type": "rest.provider_type"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: "/v1/models/embedding"
          name: "models-embedding"
          description: "REST surface for models-embedding."
          operations:
            - method: GET
              name: "list_embedding_models"
              description: "List Embedding Models"
              call: "letta-models.list_embedding_models"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: "/v1/models/embeddings"
          name: "models-embeddings"
          description: "REST surface for models-embeddings."
          operations:
            - method: GET
              name: "models_listembeddingmodels"
              description: ""
              call: "letta-models.models_listembeddingmodels"
              outputParameters:
                - type: object
                  mapping: "$."
    - type: mcp
      namespace: "letta-models-mcp"
      port: 9090
      transport: http
      description: "MCP adapter for Letta API — Models. One verb-noun tool per consumed operation."
      tools:
        - name: "list-llm-models"
          description: "List LLM Models"
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "letta-models.list_models"
          with:
            "provider_category": "tools.provider_category"
            "provider_name": "tools.provider_name"
            "provider_type": "tools.provider_type"
          outputParameters:
            - type: object
              mapping: "$."
        - name: "list-embedding-models"
          description: "List Embedding Models"
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "letta-models.list_embedding_models"
          outputParameters:
            - type: object
              mapping: "$."
        - name: "models-listembeddingmodels"
          description: ""
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "letta-models.models_listembeddingmodels"
          outputParameters:
            - type: object
              mapping: "$."