naftiko: "1.0.0-alpha2" info: label: "Letta API — Embeddings" description: >- Embeddings — enumerate configured embedding models. 1 operations. Lead operation: Get Embeddings Total Storage Size. Self-contained Naftiko capability covering one Letta business surface. tags: - Letta - Stateful Agents - Embeddings created: "2026-05-08" modified: "2026-05-22" binds: - namespace: env keys: LETTA_API_KEY: LETTA_API_KEY capability: consumes: - type: http namespace: "letta-embeddings" baseUri: "https://api.letta.com" description: "Letta API — Embeddings business capability. Self-contained, no shared references." authentication: type: bearer token: "{{env.LETTA_API_KEY}}" resources: - name: "embeddings-total-storage-size" path: "/v1/embeddings/total_storage_size" operations: - name: "get_total_storage_size" method: GET description: "Get Embeddings Total Storage Size" inputParameters: - name: "storage-unit" in: header type: string required: false description: "storage-unit parameter" outputRawFormat: json outputParameters: - name: result type: object value: "$." exposes: - type: rest namespace: "letta-embeddings-rest" port: 8080 description: "REST adapter for Letta API — Embeddings. One Spectral-compliant resource per consumed operation." resources: - path: "/v1/embeddings/total-storage-size" name: "embeddings-total-storage-size" description: "REST surface for embeddings-total-storage-size." operations: - method: GET name: "get_total_storage_size" description: "Get Embeddings Total Storage Size" call: "letta-embeddings.get_total_storage_size" with: "storage-unit": "rest.storage-unit" outputParameters: - type: object mapping: "$." - type: mcp namespace: "letta-embeddings-mcp" port: 9090 transport: http description: "MCP adapter for Letta API — Embeddings. One verb-noun tool per consumed operation." tools: - name: "get-embeddings-total-storage-size" description: "Get Embeddings Total Storage Size" hints: readOnly: true destructive: false idempotent: true call: "letta-embeddings.get_total_storage_size" with: "storage-unit": "tools.storage-unit" outputParameters: - type: object mapping: "$."