naftiko: 1.0.0-alpha2 info: label: Salesforce Bulk API 2.0 — Ingest Jobs description: 'Salesforce Bulk API 2.0 — Ingest Jobs. 9 operations. Lead operation: List all ingest jobs. Self-contained Naftiko capability covering one Salesforce Automation business surface.' tags: - Salesforce Automation - Ingest Jobs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_AUTOMATION_API_KEY: SALESFORCE_AUTOMATION_API_KEY capability: consumes: - type: http namespace: salesforce-bulk-ingest-jobs baseUri: https://{instance}.salesforce.com/services/data/v63.0 description: Salesforce Bulk API 2.0 — Ingest Jobs business capability. Self-contained, no shared references. resources: - name: jobs-ingest path: /jobs/ingest operations: - name: getingestjobs method: GET description: List all ingest jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: isPkChunkingEnabled in: query type: boolean description: Filter by PK chunking status - name: jobType in: query type: string description: Filter by job type - name: queryLocator in: query type: string description: Locator for the next page of results - name: createingestjob method: POST description: Create an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: jobs-ingest-jobId path: /jobs/ingest/{jobId} operations: - name: getingestjob method: GET description: Get ingest job status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateingestjob method: PATCH description: Close or abort an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteingestjob method: DELETE description: Delete an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. - name: jobs-ingest-jobId-batches path: /jobs/ingest/{jobId}/batches operations: - name: uploadingestjobdata method: PUT description: Upload data for an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: jobs-ingest-jobId-failedResults path: /jobs/ingest/{jobId}/failedResults operations: - name: getingestjobfailedresults method: GET description: Get failed results for an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. - name: jobs-ingest-jobId-successfulResults path: /jobs/ingest/{jobId}/successfulResults operations: - name: getingestjobsuccessfulresults method: GET description: Get successful results for an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. - name: jobs-ingest-jobId-unprocessedrecords path: /jobs/ingest/{jobId}/unprocessedrecords operations: - name: getingestjobunprocessedrecords method: GET description: Get unprocessed records for an ingest job outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SALESFORCE_AUTOMATION_API_KEY}}' exposes: - type: rest namespace: salesforce-bulk-ingest-jobs-rest port: 8080 description: REST adapter for Salesforce Bulk API 2.0 — Ingest Jobs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/jobs/ingest name: jobs-ingest description: REST surface for jobs-ingest. operations: - method: GET name: getingestjobs description: List all ingest jobs call: salesforce-bulk-ingest-jobs.getingestjobs with: isPkChunkingEnabled: rest.isPkChunkingEnabled jobType: rest.jobType queryLocator: rest.queryLocator outputParameters: - type: object mapping: $. - method: POST name: createingestjob description: Create an ingest job call: salesforce-bulk-ingest-jobs.createingestjob with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/jobs/ingest/{jobid} name: jobs-ingest-jobid description: REST surface for jobs-ingest-jobId. operations: - method: GET name: getingestjob description: Get ingest job status call: salesforce-bulk-ingest-jobs.getingestjob outputParameters: - type: object mapping: $. - method: PATCH name: updateingestjob description: Close or abort an ingest job call: salesforce-bulk-ingest-jobs.updateingestjob with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteingestjob description: Delete an ingest job call: salesforce-bulk-ingest-jobs.deleteingestjob outputParameters: - type: object mapping: $. - path: /v1/jobs/ingest/{jobid}/batches name: jobs-ingest-jobid-batches description: REST surface for jobs-ingest-jobId-batches. operations: - method: PUT name: uploadingestjobdata description: Upload data for an ingest job call: salesforce-bulk-ingest-jobs.uploadingestjobdata with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/jobs/ingest/{jobid}/failedresults name: jobs-ingest-jobid-failedresults description: REST surface for jobs-ingest-jobId-failedResults. operations: - method: GET name: getingestjobfailedresults description: Get failed results for an ingest job call: salesforce-bulk-ingest-jobs.getingestjobfailedresults outputParameters: - type: object mapping: $. - path: /v1/jobs/ingest/{jobid}/successfulresults name: jobs-ingest-jobid-successfulresults description: REST surface for jobs-ingest-jobId-successfulResults. operations: - method: GET name: getingestjobsuccessfulresults description: Get successful results for an ingest job call: salesforce-bulk-ingest-jobs.getingestjobsuccessfulresults outputParameters: - type: object mapping: $. - path: /v1/jobs/ingest/{jobid}/unprocessedrecords name: jobs-ingest-jobid-unprocessedrecords description: REST surface for jobs-ingest-jobId-unprocessedrecords. operations: - method: GET name: getingestjobunprocessedrecords description: Get unprocessed records for an ingest job call: salesforce-bulk-ingest-jobs.getingestjobunprocessedrecords outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-bulk-ingest-jobs-mcp port: 9090 transport: http description: MCP adapter for Salesforce Bulk API 2.0 — Ingest Jobs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-ingest-jobs description: List all ingest jobs hints: readOnly: true destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.getingestjobs with: isPkChunkingEnabled: tools.isPkChunkingEnabled jobType: tools.jobType queryLocator: tools.queryLocator outputParameters: - type: object mapping: $. - name: create-ingest-job description: Create an ingest job hints: readOnly: false destructive: false idempotent: false call: salesforce-bulk-ingest-jobs.createingestjob with: body: tools.body outputParameters: - type: object mapping: $. - name: get-ingest-job-status description: Get ingest job status hints: readOnly: true destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.getingestjob outputParameters: - type: object mapping: $. - name: close-abort-ingest-job description: Close or abort an ingest job hints: readOnly: false destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.updateingestjob with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-ingest-job description: Delete an ingest job hints: readOnly: false destructive: true idempotent: true call: salesforce-bulk-ingest-jobs.deleteingestjob outputParameters: - type: object mapping: $. - name: upload-data-ingest-job description: Upload data for an ingest job hints: readOnly: false destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.uploadingestjobdata with: body: tools.body outputParameters: - type: object mapping: $. - name: get-failed-results-ingest-job description: Get failed results for an ingest job hints: readOnly: true destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.getingestjobfailedresults outputParameters: - type: object mapping: $. - name: get-successful-results-ingest-job description: Get successful results for an ingest job hints: readOnly: true destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.getingestjobsuccessfulresults outputParameters: - type: object mapping: $. - name: get-unprocessed-records-ingest-job description: Get unprocessed records for an ingest job hints: readOnly: true destructive: false idempotent: true call: salesforce-bulk-ingest-jobs.getingestjobunprocessedrecords outputParameters: - type: object mapping: $.