naftiko: 1.0.0-alpha2 info: label: Dust Agents API — Agents description: 'Dust Agents API — Agents. 7 operations. Lead operation: List Agents. Self-contained Naftiko capability covering one Dust business surface.' tags: - Dust - Agents 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: agents-agents baseUri: https://dust.tt description: Dust Agents API — Agents business capability. Self-contained, no shared references. resources: - name: api-v1-w-wid-assistant-agent-configurations path: /api/v1/w/{wId}/assistant/agent_configurations operations: - name: get-api-v1-w-assistant-agent-configurations method: GET description: List Agents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: api-v1-w-wid-assistant-agent-configurations-sid-export-yaml path: /api/v1/w/{wId}/assistant/agent_configurations/{sId}/export/yaml operations: - name: get-api-v1-w-assistant-agent-configurations-export-yaml method: GET description: Export Agent Configuration as YAML outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: api-v1-w-wid-assistant-agent-configurations-sid path: /api/v1/w/{wId}/assistant/agent_configurations/{sId} operations: - name: get-api-v1-w-assistant-agent-configurations method: GET description: Get Agent Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: patch-api-v1-w-assistant-agent-configurations method: PATCH description: Update Agent Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: delete-api-v1-w-assistant-agent-configurations method: DELETE description: Archive Agent Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: api-v1-w-wid-assistant-agent-configurations-import path: /api/v1/w/{wId}/assistant/agent_configurations/import operations: - name: post-api-v1-w-assistant-agent-configurations-import method: POST description: Import Agent Configuration 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-assistant-agent-configurations-search path: /api/v1/w/{wId}/assistant/agent_configurations/search operations: - name: get-api-v1-w-assistant-agent-configurations-search method: GET description: Search Agents by Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] authentication: type: bearer value: '{{env.DUST_API_KEY}}' placement: header exposes: - type: rest namespace: agents-agents-rest port: 8080 description: REST adapter for Dust Agents API — Agents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/w/{wId}/assistant/agent_configurations name: api-v1-w-wid-assistant-agent-configurations description: REST surface for /api/v1/w/{wId}/assistant/agent_configurations. operations: - method: GET name: get-api-v1-w-assistant-agent-configurations description: List Agents call: agents-agents.get-api-v1-w-assistant-agent-configurations with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/assistant/agent_configurations/{sId}/export/yaml name: api-v1-w-wid-assistant-agent-configurations-sid-export-yaml description: REST surface for /api/v1/w/{wId}/assistant/agent_configurations/{sId}/export/yaml. operations: - method: GET name: get-api-v1-w-assistant-agent-configurations-export-yaml description: Export Agent Configuration as YAML call: agents-agents.get-api-v1-w-assistant-agent-configurations-export-yaml with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/assistant/agent_configurations/{sId} name: api-v1-w-wid-assistant-agent-configurations-sid description: REST surface for /api/v1/w/{wId}/assistant/agent_configurations/{sId}. operations: - method: GET name: get-api-v1-w-assistant-agent-configurations description: Get Agent Configuration call: agents-agents.get-api-v1-w-assistant-agent-configurations with: {} outputParameters: - type: object mapping: $. - method: PATCH name: patch-api-v1-w-assistant-agent-configurations description: Update Agent Configuration call: agents-agents.patch-api-v1-w-assistant-agent-configurations with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete-api-v1-w-assistant-agent-configurations description: Archive Agent Configuration call: agents-agents.delete-api-v1-w-assistant-agent-configurations with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/assistant/agent_configurations/import name: api-v1-w-wid-assistant-agent-configurations-import description: REST surface for /api/v1/w/{wId}/assistant/agent_configurations/import. operations: - method: POST name: post-api-v1-w-assistant-agent-configurations-import description: Import Agent Configuration call: agents-agents.post-api-v1-w-assistant-agent-configurations-import with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/w/{wId}/assistant/agent_configurations/search name: api-v1-w-wid-assistant-agent-configurations-search description: REST surface for /api/v1/w/{wId}/assistant/agent_configurations/search. operations: - method: GET name: get-api-v1-w-assistant-agent-configurations-search description: Search Agents by Name call: agents-agents.get-api-v1-w-assistant-agent-configurations-search with: {} outputParameters: - type: object mapping: $. - type: mcp namespace: agents-agents-mcp port: 9090 transport: http description: MCP adapter for Dust Agents API — Agents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dust-get-api-v1-w-assistant-agent-configurations description: List Agents hints: readOnly: true destructive: false idempotent: true call: agents-agents.get-api-v1-w-assistant-agent-configurations with: {} outputParameters: - type: object mapping: $. - name: dust-get-api-v1-w-assistant-agent-configurations-export-yaml description: Export Agent Configuration as YAML hints: readOnly: true destructive: false idempotent: true call: agents-agents.get-api-v1-w-assistant-agent-configurations-export-yaml with: {} outputParameters: - type: object mapping: $. - name: dust-get-api-v1-w-assistant-agent-configurations description: Get Agent Configuration hints: readOnly: true destructive: false idempotent: true call: agents-agents.get-api-v1-w-assistant-agent-configurations with: {} outputParameters: - type: object mapping: $. - name: dust-patch-api-v1-w-assistant-agent-configurations description: Update Agent Configuration hints: readOnly: false destructive: false idempotent: false call: agents-agents.patch-api-v1-w-assistant-agent-configurations with: body: tools.body outputParameters: - type: object mapping: $. - name: dust-delete-api-v1-w-assistant-agent-configurations description: Archive Agent Configuration hints: readOnly: false destructive: true idempotent: true call: agents-agents.delete-api-v1-w-assistant-agent-configurations with: {} outputParameters: - type: object mapping: $. - name: dust-post-api-v1-w-assistant-agent-configurations-import description: Import Agent Configuration hints: readOnly: false destructive: false idempotent: false call: agents-agents.post-api-v1-w-assistant-agent-configurations-import with: body: tools.body outputParameters: - type: object mapping: $. - name: dust-get-api-v1-w-assistant-agent-configurations-search description: Search Agents by Name hints: readOnly: true destructive: false idempotent: true call: agents-agents.get-api-v1-w-assistant-agent-configurations-search with: {} outputParameters: - type: object mapping: $.