naftiko: 1.0.0-alpha2 info: label: Deepgram Management API — Balances description: 'Deepgram Management API — Balances. 2 operations. Lead operation: Deepgram List project balances. Self-contained Naftiko capability covering one Deepgram business surface.' tags: - Deepgram - Balances created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEPGRAM_API_KEY: DEEPGRAM_API_KEY capability: consumes: - type: http namespace: management-balances baseUri: https://api.deepgram.com description: Deepgram Management API — Balances business capability. Self-contained, no shared references. resources: - name: v1-projects-project_id-balances path: /v1/projects/{project_id}/balances operations: - name: listprojectbalances method: GET description: Deepgram List project balances outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-projects-project_id-balances-balance_id path: /v1/projects/{project_id}/balances/{balance_id} operations: - name: getprojectbalance method: GET description: Deepgram Get a project balance outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: balance_id in: path type: string description: Unique identifier of the balance. required: true authentication: type: bearer token: '{{env.DEEPGRAM_API_KEY}}' exposes: - type: rest namespace: management-balances-rest port: 8080 description: REST adapter for Deepgram Management API — Balances. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/projects/{project-id}/balances name: v1-projects-project-id-balances description: REST surface for v1-projects-project_id-balances. operations: - method: GET name: listprojectbalances description: Deepgram List project balances call: management-balances.listprojectbalances outputParameters: - type: object mapping: $. - path: /v1/v1/projects/{project-id}/balances/{balance-id} name: v1-projects-project-id-balances-balance-id description: REST surface for v1-projects-project_id-balances-balance_id. operations: - method: GET name: getprojectbalance description: Deepgram Get a project balance call: management-balances.getprojectbalance with: balance_id: rest.balance_id outputParameters: - type: object mapping: $. - type: mcp namespace: management-balances-mcp port: 9090 transport: http description: MCP adapter for Deepgram Management API — Balances. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: deepgram-list-project-balances description: Deepgram List project balances hints: readOnly: true destructive: false idempotent: true call: management-balances.listprojectbalances outputParameters: - type: object mapping: $. - name: deepgram-get-project-balance description: Deepgram Get a project balance hints: readOnly: true destructive: false idempotent: true call: management-balances.getprojectbalance with: balance_id: tools.balance_id outputParameters: - type: object mapping: $.