naftiko: 1.0.0-alpha2 info: label: Dust Apps API — Apps description: 'Dust Apps API — Apps. 3 operations. Lead operation: Get an App Run. Self-contained Naftiko capability covering one Dust business surface.' tags: - Dust - Apps 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: apps-apps baseUri: https://dust.tt description: Dust Apps API — Apps business capability. Self-contained, no shared references. resources: - name: api-v1-w-wid-spaces-spaceid-apps-aid-runs-runid path: /api/v1/w/{wId}/spaces/{spaceId}/apps/{aId}/runs/{runId} operations: - name: get-api-v1-w-spaces-apps-runs method: GET description: Get an App Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: api-v1-w-wid-spaces-spaceid-apps-aid-runs path: /api/v1/w/{wId}/spaces/{spaceId}/apps/{aId}/runs operations: - name: post-api-v1-w-spaces-apps-runs method: POST description: Create an App Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v1-w-wid-spaces-spaceid-apps path: /api/v1/w/{wId}/spaces/{spaceId}/apps operations: - name: get-api-v1-w-spaces-apps method: GET description: List Apps outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] authentication: type: bearer value: '{{env.DUST_API_KEY}}' placement: header exposes: - type: rest namespace: apps-apps-rest port: 8080 description: REST adapter for Dust Apps API — Apps. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/w/{wId}/spaces/{spaceId}/apps/{aId}/runs/{runId} name: api-v1-w-wid-spaces-spaceid-apps-aid-runs-runid description: REST surface for /api/v1/w/{wId}/spaces/{spaceId}/apps/{aId}/runs/{runId}. operations: - method: GET name: get-api-v1-w-spaces-apps-runs description: Get an App Run call: apps-apps.get-api-v1-w-spaces-apps-runs with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/spaces/{spaceId}/apps/{aId}/runs name: api-v1-w-wid-spaces-spaceid-apps-aid-runs description: REST surface for /api/v1/w/{wId}/spaces/{spaceId}/apps/{aId}/runs. operations: - method: POST name: post-api-v1-w-spaces-apps-runs description: Create an App Run call: apps-apps.post-api-v1-w-spaces-apps-runs with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/spaces/{spaceId}/apps name: api-v1-w-wid-spaces-spaceid-apps description: REST surface for /api/v1/w/{wId}/spaces/{spaceId}/apps. operations: - method: GET name: get-api-v1-w-spaces-apps description: List Apps call: apps-apps.get-api-v1-w-spaces-apps with: {} outputParameters: - type: object mapping: $. - type: mcp namespace: apps-apps-mcp port: 9090 transport: http description: MCP adapter for Dust Apps API — Apps. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dust-get-api-v1-w-spaces-apps-runs description: Get an App Run hints: readOnly: true destructive: false idempotent: true call: apps-apps.get-api-v1-w-spaces-apps-runs with: {} outputParameters: - type: object mapping: $. - name: dust-post-api-v1-w-spaces-apps-runs description: Create an App Run hints: readOnly: false destructive: false idempotent: false call: apps-apps.post-api-v1-w-spaces-apps-runs with: body: tools.body outputParameters: - type: object mapping: $. - name: dust-get-api-v1-w-spaces-apps description: List Apps hints: readOnly: true destructive: false idempotent: true call: apps-apps.get-api-v1-w-spaces-apps with: {} outputParameters: - type: object mapping: $.