Letta · Capability

Letta API — Metadata

Metadata — service and runtime metadata. 5 operations. Lead operation: Retrieve Current Organization Balance. Self-contained Naftiko capability covering one Letta business surface.

Letta API — Metadata is a Naftiko capability published by Letta, one of 36 capabilities the APIs.io network indexes for this provider. It bundles 5 operations across the GET and POST methods rooted at /v1/metadata.

The capability includes 3 read-only operations and 2 state-changing operations. Lead operation: Retrieve Current Organization Balance. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Letta, Stateful Agents, and Metadata.

Run with Naftiko LettaStateful AgentsMetadata

What You Can Do

GET
Metadata_retrievecurrentbalances — Retrieve Current Organization Balance
/v1/metadata/balance
POST
Metadata_sendfeedback — Send User Feedback
/v1/metadata/feedback
POST
Metadata_sendtelemetry — Send Telemetry Event
/v1/metadata/telemetry
GET
Metadata_getstatus — Gets Your Letta Cloud Status
/v1/metadata/status
GET
Metadata_getuser — Get Current User Information
/v1/metadata/user

MCP Tools

retrieve-current-organization-balance

Retrieve Current Organization Balance

read-only idempotent
send-user-feedback

Send User Feedback

send-telemetry-event

Send Telemetry Event

gets-your-letta-cloud-status

Gets Your Letta Cloud Status

read-only idempotent
get-current-user-information

Get Current User Information

read-only idempotent

Capability Spec

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

info:
  label: "Letta API — Metadata"
  description: >-
    Metadata — service and runtime metadata. 5 operations. Lead operation: Retrieve Current Organization Balance. Self-contained Naftiko capability covering one Letta business surface.
  tags:
    - Letta
    - Stateful Agents
    - Metadata
  created: "2026-05-08"
  modified: "2026-05-22"

binds:
  - namespace: env
    keys:
      LETTA_API_KEY: LETTA_API_KEY

capability:

  consumes:
    - type: http
      namespace: "letta-metadata"
      baseUri: "https://api.letta.com"
      description: "Letta API — Metadata business capability. Self-contained, no shared references."
      authentication:
        type: bearer
        token: "{{env.LETTA_API_KEY}}"
      resources:
        - name: "metadata-balance"
          path: "/v1/metadata/balance"
          operations:
            - name: "metadata_retrievecurrentbalances"
              method: GET
              description: "Retrieve Current Organization Balance"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."
        - name: "metadata-feedback"
          path: "/v1/metadata/feedback"
          operations:
            - name: "metadata_sendfeedback"
              method: POST
              description: "Send User Feedback"
              inputParameters:
                - name: "body"
                  in: body
                  type: object
                  required: true
                  description: "Body"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."
        - name: "metadata-telemetry"
          path: "/v1/metadata/telemetry"
          operations:
            - name: "metadata_sendtelemetry"
              method: POST
              description: "Send Telemetry Event"
              inputParameters:
                - name: "body"
                  in: body
                  type: object
                  required: true
                  description: "Body"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."
        - name: "metadata-status"
          path: "/v1/metadata/status"
          operations:
            - name: "metadata_getstatus"
              method: GET
              description: "Gets Your Letta Cloud Status"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."
        - name: "metadata-user"
          path: "/v1/metadata/user"
          operations:
            - name: "metadata_getuser"
              method: GET
              description: "Get Current User Information"
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: "letta-metadata-rest"
      port: 8080
      description: "REST adapter for Letta API — Metadata. One Spectral-compliant resource per consumed operation."
      resources:
        - path: "/v1/metadata/balance"
          name: "metadata-balance"
          description: "REST surface for metadata-balance."
          operations:
            - method: GET
              name: "metadata_retrievecurrentbalances"
              description: "Retrieve Current Organization Balance"
              call: "letta-metadata.metadata_retrievecurrentbalances"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: "/v1/metadata/feedback"
          name: "metadata-feedback"
          description: "REST surface for metadata-feedback."
          operations:
            - method: POST
              name: "metadata_sendfeedback"
              description: "Send User Feedback"
              call: "letta-metadata.metadata_sendfeedback"
              with:
                "body": "rest.body"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: "/v1/metadata/telemetry"
          name: "metadata-telemetry"
          description: "REST surface for metadata-telemetry."
          operations:
            - method: POST
              name: "metadata_sendtelemetry"
              description: "Send Telemetry Event"
              call: "letta-metadata.metadata_sendtelemetry"
              with:
                "body": "rest.body"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: "/v1/metadata/status"
          name: "metadata-status"
          description: "REST surface for metadata-status."
          operations:
            - method: GET
              name: "metadata_getstatus"
              description: "Gets Your Letta Cloud Status"
              call: "letta-metadata.metadata_getstatus"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: "/v1/metadata/user"
          name: "metadata-user"
          description: "REST surface for metadata-user."
          operations:
            - method: GET
              name: "metadata_getuser"
              description: "Get Current User Information"
              call: "letta-metadata.metadata_getuser"
              outputParameters:
                - type: object
                  mapping: "$."
    - type: mcp
      namespace: "letta-metadata-mcp"
      port: 9090
      transport: http
      description: "MCP adapter for Letta API — Metadata. One verb-noun tool per consumed operation."
      tools:
        - name: "retrieve-current-organization-balance"
          description: "Retrieve Current Organization Balance"
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "letta-metadata.metadata_retrievecurrentbalances"
          outputParameters:
            - type: object
              mapping: "$."
        - name: "send-user-feedback"
          description: "Send User Feedback"
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: "letta-metadata.metadata_sendfeedback"
          with:
            "body": "tools.body"
          outputParameters:
            - type: object
              mapping: "$."
        - name: "send-telemetry-event"
          description: "Send Telemetry Event"
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: "letta-metadata.metadata_sendtelemetry"
          with:
            "body": "tools.body"
          outputParameters:
            - type: object
              mapping: "$."
        - name: "gets-your-letta-cloud-status"
          description: "Gets Your Letta Cloud Status"
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "letta-metadata.metadata_getstatus"
          outputParameters:
            - type: object
              mapping: "$."
        - name: "get-current-user-information"
          description: "Get Current User Information"
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "letta-metadata.metadata_getuser"
          outputParameters:
            - type: object
              mapping: "$."