naftiko: 1.0.0-alpha2 info: label: Apideck CRM API — Pipelines description: 'Apideck CRM API — Pipelines. 5 operations. Lead operation: Apideck List pipelines. Self-contained Naftiko capability covering one Apideck business surface.' tags: - Apideck - Pipelines created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIDECK_API_KEY: APIDECK_API_KEY capability: consumes: - type: http namespace: crm-pipelines baseUri: https://unify.apideck.com description: Apideck CRM API — Pipelines business capability. Self-contained, no shared references. resources: - name: crm-pipelines path: /crm/pipelines operations: - name: pipelinesall method: GET description: Apideck List pipelines outputRawFormat: json outputParameters: - name: result type: object value: $. - name: pipelinesadd method: POST description: Apideck Create pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-pipelines-id path: /crm/pipelines/{id} operations: - name: pipelinesone method: GET description: Apideck Get pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. - name: pipelinesupdate method: PATCH description: Apideck Update pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: pipelinesdelete method: DELETE description: Apideck Delete pipeline outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.APIDECK_API_KEY}}' placement: header exposes: - type: rest namespace: crm-pipelines-rest port: 8080 description: REST adapter for Apideck CRM API — Pipelines. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/pipelines name: crm-pipelines description: REST surface for crm-pipelines. operations: - method: GET name: pipelinesall description: Apideck List pipelines call: crm-pipelines.pipelinesall outputParameters: - type: object mapping: $. - method: POST name: pipelinesadd description: Apideck Create pipeline call: crm-pipelines.pipelinesadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/pipelines/{id} name: crm-pipelines-id description: REST surface for crm-pipelines-id. operations: - method: GET name: pipelinesone description: Apideck Get pipeline call: crm-pipelines.pipelinesone outputParameters: - type: object mapping: $. - method: PATCH name: pipelinesupdate description: Apideck Update pipeline call: crm-pipelines.pipelinesupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: pipelinesdelete description: Apideck Delete pipeline call: crm-pipelines.pipelinesdelete outputParameters: - type: object mapping: $. - type: mcp namespace: crm-pipelines-mcp port: 9090 transport: http description: MCP adapter for Apideck CRM API — Pipelines. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apideck-list-pipelines description: Apideck List pipelines hints: readOnly: true destructive: false idempotent: true call: crm-pipelines.pipelinesall outputParameters: - type: object mapping: $. - name: apideck-create-pipeline description: Apideck Create pipeline hints: readOnly: false destructive: false idempotent: false call: crm-pipelines.pipelinesadd with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-get-pipeline description: Apideck Get pipeline hints: readOnly: true destructive: false idempotent: true call: crm-pipelines.pipelinesone outputParameters: - type: object mapping: $. - name: apideck-update-pipeline description: Apideck Update pipeline hints: readOnly: false destructive: false idempotent: true call: crm-pipelines.pipelinesupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: apideck-delete-pipeline description: Apideck Delete pipeline hints: readOnly: false destructive: true idempotent: true call: crm-pipelines.pipelinesdelete outputParameters: - type: object mapping: $.