naftiko: 1.0.0-alpha2 info: label: Salesforce Bulk API 2.0 — Ingest Jobs description: 'Salesforce Bulk API 2.0 — Ingest Jobs. 5 operations. Lead operation: Salesforce Create an Ingest Job. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Ingest Jobs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: bulk-api-2-ingest-jobs baseUri: https://{instance}.salesforce.com/services/data/v{version}/jobs description: Salesforce Bulk API 2.0 — Ingest Jobs business capability. Self-contained, no shared references. resources: - name: ingest path: /ingest operations: - name: createingestjob method: POST description: Salesforce 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: listingestjobs method: GET description: Salesforce List Ingest Jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: isPkChunkingEnabled in: query type: boolean description: Filter results to only jobs with PK chunking enabled (true) or disabled (false). - name: jobType in: query type: string description: Filter results by job type. Use Classic for Bulk API 1.0 jobs or V2Ingest for Bulk API 2.0 ingest jobs. - name: ingest-jobId path: /ingest/{jobId} operations: - name: getingestjobinfo method: GET description: Salesforce Get Ingest Job Info outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateingestjob method: PATCH description: Salesforce Update or Close 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: Salesforce Delete an Ingest Job outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: bulk-api-2-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/ingest name: ingest description: REST surface for ingest. operations: - method: POST name: createingestjob description: Salesforce Create an Ingest Job call: bulk-api-2-ingest-jobs.createingestjob with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listingestjobs description: Salesforce List Ingest Jobs call: bulk-api-2-ingest-jobs.listingestjobs with: isPkChunkingEnabled: rest.isPkChunkingEnabled jobType: rest.jobType outputParameters: - type: object mapping: $. - path: /v1/ingest/{jobid} name: ingest-jobid description: REST surface for ingest-jobId. operations: - method: GET name: getingestjobinfo description: Salesforce Get Ingest Job Info call: bulk-api-2-ingest-jobs.getingestjobinfo outputParameters: - type: object mapping: $. - method: PATCH name: updateingestjob description: Salesforce Update or Close an Ingest Job call: bulk-api-2-ingest-jobs.updateingestjob with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteingestjob description: Salesforce Delete an Ingest Job call: bulk-api-2-ingest-jobs.deleteingestjob outputParameters: - type: object mapping: $. - type: mcp namespace: bulk-api-2-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: salesforce-create-ingest-job description: Salesforce Create an Ingest Job hints: readOnly: false destructive: false idempotent: false call: bulk-api-2-ingest-jobs.createingestjob with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-list-ingest-jobs description: Salesforce List Ingest Jobs hints: readOnly: true destructive: false idempotent: true call: bulk-api-2-ingest-jobs.listingestjobs with: isPkChunkingEnabled: tools.isPkChunkingEnabled jobType: tools.jobType outputParameters: - type: object mapping: $. - name: salesforce-get-ingest-job-info description: Salesforce Get Ingest Job Info hints: readOnly: true destructive: false idempotent: true call: bulk-api-2-ingest-jobs.getingestjobinfo outputParameters: - type: object mapping: $. - name: salesforce-update-close-ingest-job description: Salesforce Update or Close an Ingest Job hints: readOnly: false destructive: false idempotent: true call: bulk-api-2-ingest-jobs.updateingestjob with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-delete-ingest-job description: Salesforce Delete an Ingest Job hints: readOnly: false destructive: true idempotent: true call: bulk-api-2-ingest-jobs.deleteingestjob outputParameters: - type: object mapping: $.