naftiko: 1.0.0-alpha2 info: label: LlamaIndex LlamaCloud API — Pipeline Data Sources description: 'LlamaIndex LlamaCloud API — Pipeline Data Sources. 2 operations. Lead operation: List pipeline data sources. Self-contained Naftiko capability covering one Llamaindex business surface.' tags: - Llamaindex - Pipeline Data Sources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LLAMAINDEX_API_KEY: LLAMAINDEX_API_KEY capability: consumes: - type: http namespace: llamacloud-pipeline-data-sources baseUri: https://api.cloud.llamaindex.ai/api/v1 description: LlamaIndex LlamaCloud API — Pipeline Data Sources business capability. Self-contained, no shared references. resources: - name: pipelines-pipelineId-data-sources path: /pipelines/{pipelineId}/data-sources operations: - name: listpipelinedatasources method: GET description: List pipeline data sources outputRawFormat: json outputParameters: - name: result type: object value: $. - name: adddatasourcestopipeline method: PUT description: Add data sources to a pipeline 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.LLAMAINDEX_API_KEY}}' exposes: - type: rest namespace: llamacloud-pipeline-data-sources-rest port: 8080 description: REST adapter for LlamaIndex LlamaCloud API — Pipeline Data Sources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/pipelines/{pipelineid}/data-sources name: pipelines-pipelineid-data-sources description: REST surface for pipelines-pipelineId-data-sources. operations: - method: GET name: listpipelinedatasources description: List pipeline data sources call: llamacloud-pipeline-data-sources.listpipelinedatasources outputParameters: - type: object mapping: $. - method: PUT name: adddatasourcestopipeline description: Add data sources to a pipeline call: llamacloud-pipeline-data-sources.adddatasourcestopipeline with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: llamacloud-pipeline-data-sources-mcp port: 9090 transport: http description: MCP adapter for LlamaIndex LlamaCloud API — Pipeline Data Sources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-pipeline-data-sources description: List pipeline data sources hints: readOnly: true destructive: false idempotent: true call: llamacloud-pipeline-data-sources.listpipelinedatasources outputParameters: - type: object mapping: $. - name: add-data-sources-pipeline description: Add data sources to a pipeline hints: readOnly: false destructive: false idempotent: true call: llamacloud-pipeline-data-sources.adddatasourcestopipeline with: body: tools.body outputParameters: - type: object mapping: $.