openapi: 3.1.0 info: title: Salesforce Bulk API 2.0 Abort Agent API description: 'Salesforce Bulk API 2.0 is a simplified, REST-based interface for bulk data operations that improves on the original Bulk API. It uses a straightforward job model and supports CSV format for ingest and query jobs, enabling processing of millions of records asynchronously. ' version: v63.0 contact: name: Salesforce Developers url: https://developer.salesforce.com/ license: name: Salesforce Developer Terms url: https://www.salesforce.com/company/legal/agreements/ servers: - url: https://{instance}.salesforce.com/services/data/v{version}/jobs description: Salesforce Bulk API 2.0 jobs endpoint variables: instance: default: yourInstance description: 'The Salesforce instance identifier (e.g., na1, eu3, or a My Domain subdomain like mycompany). ' version: default: '63.0' description: 'The Salesforce API version number (e.g., 63.0). Use the latest supported version for new integrations. ' security: - BearerAuth: [] tags: - name: Agent paths: /services/oauth2/authorize: parameters: [] get: tags: - Agent summary: Salesforce User Agent Flow operationId: UserAgentFlow parameters: - name: response_type in: query description: '' required: true style: form explode: true schema: type: string examples: - token example: example_value - name: client_id in: query description: '' required: true style: form explode: true schema: type: string examples: - '{{vault:salesforce-consumer-key}}' example: '500123' - name: redirect_uri in: query description: '' required: true style: form explode: true schema: type: string example: example_value - name: display in: query description: '' required: true style: form explode: true schema: type: string examples: - touch example: example_value - name: login_hint in: query description: '' required: true style: form explode: true schema: type: string example: example_value - name: nonce in: query description: '' required: true style: form explode: true schema: type: string examples: - awesome example: example_value responses: '200': description: OK headers: Strict-Transport-Security: content: text/plain: schema: type: string contentMediaType: text/plain example: max-age=63072000; includeSubDomains X-Content-Type-Options: content: text/plain: schema: type: string contentMediaType: text/plain example: nosniff X-XSS-Protection: content: text/plain: schema: type: string contentMediaType: text/plain example: 1; mode=block Content-Security-Policy: content: text/plain: schema: type: string contentMediaType: text/plain example: upgrade-insecure-requests X-Robots-Tag: content: text/plain: schema: type: string contentMediaType: text/plain example: none Cache-Control: content: text/plain: schema: type: string contentMediaType: text/plain example: must-revalidate,no-cache,no-store Vary: content: text/plain: schema: type: string contentMediaType: text/plain example: Accept-Encoding Content-Encoding: content: text/plain: schema: type: string contentMediaType: text/plain example: gzip Connection: content: text/plain: schema: type: string contentMediaType: text/plain example: close content: text/html; charset=UTF-8: schema: type: string examples: - "\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n" contentMediaType: text/html; charset=UTF-8 example: "\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n" deprecated: false security: [] servers: - url: https://login.salesforce.com variables: {} x-api-evangelist-processing: PascalCaseOperationSummaries: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK /data/v64.0/einstein/ai-evaluations/runs: parameters: [] post: tags: - Agent summary: Salesforce Run Agent Test description: Generates a response based on the specified prompt template and input parameters ([documentation](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_prompt_template.htm)). operationId: Runagenttest parameters: [] requestBody: description: '' content: application/json: schema: allOf: - $ref: '#/components/schemas/RunagenttestRequest' - examples: - aiEvaluationDefinitionName: contentMediaType: application/json example: aiEvaluationDefinitionName: required: true responses: '201': description: Created headers: Date: content: text/plain: schema: type: string contentMediaType: text/plain example: Wed, 10 Sep 2025 13:46:14 GMT Transfer-Encoding: content: text/plain: schema: type: string contentMediaType: text/plain example: chunked Connection: content: text/plain: schema: type: string contentMediaType: text/plain example: keep-alive Vary: content: text/plain: schema: type: string contentMediaType: text/plain example: Accept-Encoding X-Content-Type-Options: content: text/plain: schema: type: string contentMediaType: text/plain example: nosniff Content-Encoding: content: text/plain: schema: type: string contentMediaType: text/plain example: gzip Sforce-Limit-Info: content: text/plain: schema: type: string contentMediaType: text/plain example: api-usage=183/5000000 Set-Cookie: content: text/plain: schema: type: string contentMediaType: text/plain example: CookieConsentPolicy=0:1; path=/; expires=Thu, 10-Sep-2026 13:46:14 GMT; Max-Age=31536000; secure X-Robots-Tag: content: text/plain: schema: type: string contentMediaType: text/plain example: none Cache-Control: content: text/plain: schema: type: string contentMediaType: text/plain example: no-cache,must-revalidate,max-age=0,no-store,private Server: content: text/plain: schema: type: string contentMediaType: text/plain example: sfdcedge X-SFDC-Request-Id: content: text/plain: schema: type: string contentMediaType: text/plain example: 543c8913aa732b136328d39c8546b5ac X-Request-Id: content: text/plain: schema: type: string contentMediaType: text/plain example: 543c8913aa732b136328d39c8546b5ac content: application/json: schema: allOf: - $ref: '#/components/schemas/Runagenttest' - examples: - runId: 4KBAU0000002oK54AI status: NEW contentMediaType: application/json example: runId: 4KBAU0000002oK54AI status: NEW deprecated: false servers: - url: https://services variables: {} x-api-evangelist-processing: PascalCaseOperationSummaries: true ChooseTags: true x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: RunagenttestRequest: title: RunagenttestRequest required: - aiEvaluationDefinitionName type: object properties: aiEvaluationDefinitionName: type: string example: example_value examples: - aiEvaluationDefinitionName: Runagenttest: title: Runagenttest required: - runId - status type: object properties: runId: type: string example: '500123' status: type: string example: example_value examples: - runId: 4KBAU0000002oK54AI status: NEW securitySchemes: BearerAuth: type: http scheme: bearer description: 'OAuth 2.0 Bearer token obtained from the Salesforce OAuth 2.0 token endpoint. Include this token in the Authorization header as "Bearer {access_token}". '