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