naftiko: 1.0.0-alpha2 info: label: Uptrace API — Dashboards description: 'Uptrace API — Dashboards. 2 operations. Lead operation: List Dashboards. Self-contained Naftiko capability covering one Uptrace business surface.' tags: - Uptrace - Dashboards created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UPTRACE_API_KEY: UPTRACE_API_KEY capability: consumes: - type: http namespace: uptrace-dashboards baseUri: https://api.uptrace.dev description: Uptrace API — Dashboards business capability. Self-contained, no shared references. resources: - name: api-v1-dashboards path: /api/v1/dashboards operations: - name: listdashboards method: GET description: List Dashboards outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: query type: integer required: true - name: createdashboard method: POST description: Create Dashboard outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.UPTRACE_API_KEY}}' exposes: - type: rest namespace: uptrace-dashboards-rest port: 8080 description: REST adapter for Uptrace API — Dashboards. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/dashboards name: api-v1-dashboards description: REST surface for api-v1-dashboards. operations: - method: GET name: listdashboards description: List Dashboards call: uptrace-dashboards.listdashboards with: projectId: rest.projectId outputParameters: - type: object mapping: $. - method: POST name: createdashboard description: Create Dashboard call: uptrace-dashboards.createdashboard with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: uptrace-dashboards-mcp port: 9090 transport: http description: MCP adapter for Uptrace API — Dashboards. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-dashboards description: List Dashboards hints: readOnly: true destructive: false idempotent: true call: uptrace-dashboards.listdashboards with: projectId: tools.projectId outputParameters: - type: object mapping: $. - name: create-dashboard description: Create Dashboard hints: readOnly: false destructive: false idempotent: false call: uptrace-dashboards.createdashboard with: body: tools.body outputParameters: - type: object mapping: $.