naftiko: 1.0.0-alpha2 info: label: Dust Workspace API — Workspace description: 'Dust Workspace API — Workspace. 2 operations. Lead operation: Export Workspace Analytics. Self-contained Naftiko capability covering one Dust business surface.' tags: - Dust - Workspace created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: DUST_API_KEY: DUST_API_KEY DUST_WORKSPACE_ID: DUST_WORKSPACE_ID capability: consumes: - type: http namespace: workspace-workspace baseUri: https://dust.tt description: Dust Workspace API — Workspace business capability. Self-contained, no shared references. resources: - name: api-v1-w-wid-analytics-export path: /api/v1/w/{wId}/analytics/export operations: - name: get-api-v1-w-analytics-export method: GET description: Export Workspace Analytics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: api-v1-w-wid-workspace-usage path: /api/v1/w/{wId}/workspace-usage operations: - name: get-api-v1-w-workspace-usage method: GET description: Get Workspace Usage Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] authentication: type: bearer value: '{{env.DUST_API_KEY}}' placement: header exposes: - type: rest namespace: workspace-workspace-rest port: 8080 description: REST adapter for Dust Workspace API — Workspace. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/w/{wId}/analytics/export name: api-v1-w-wid-analytics-export description: REST surface for /api/v1/w/{wId}/analytics/export. operations: - method: GET name: get-api-v1-w-analytics-export description: Export Workspace Analytics call: workspace-workspace.get-api-v1-w-analytics-export with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/workspace-usage name: api-v1-w-wid-workspace-usage description: REST surface for /api/v1/w/{wId}/workspace-usage. operations: - method: GET name: get-api-v1-w-workspace-usage description: Get Workspace Usage Data call: workspace-workspace.get-api-v1-w-workspace-usage with: {} outputParameters: - type: object mapping: $. - type: mcp namespace: workspace-workspace-mcp port: 9090 transport: http description: MCP adapter for Dust Workspace API — Workspace. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dust-get-api-v1-w-analytics-export description: Export Workspace Analytics hints: readOnly: true destructive: false idempotent: true call: workspace-workspace.get-api-v1-w-analytics-export with: {} outputParameters: - type: object mapping: $. - name: dust-get-api-v1-w-workspace-usage description: Get Workspace Usage Data hints: readOnly: true destructive: false idempotent: true call: workspace-workspace.get-api-v1-w-workspace-usage with: {} outputParameters: - type: object mapping: $.