Salesforce Batch API

The Batch API from Salesforce — 7 operation(s) for batch.

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /async/64.0/job//batch Add a batch of records to a Bulk API job · Salesforce Bulk Create Batch #
Ask an LLM
“How do I upload a CSV of records as a new batch in a Bulk API 1.0 job?”
“Can I send a batch file with a specific charset to a bulk job?”
Tell an agent
Add file {file} as a new batch in my bulk job.
Upload {file} with charset {charset} as a batch.
GET /async/64.0/job//batch Check the status of batches in a Bulk API job · Salesforce Bulk Check Batch Status #
Ask an LLM
“Have the batches in my Bulk API 1.0 job finished processing?”
“Can I see how many records each batch processed or failed?”
Tell an agent
Check the batch status for my bulk job using session {session}.
List the batches in my Bulk API job with {encoding} compression.
GET /async/64.0/job//batch/{_batchId}/result List the result sets of a Bulk API batch · Salesforce Bulk Retrieve Batch Result #
Ask an LLM
“Where are the results of a finished Bulk API batch?”
“Can I get the list of result IDs a batch produced?”
Tell an agent
List the results for batch {batch_id}.
Get the result set IDs produced by bulk batch {batch_id}.
GET /async/64.0/job//batch/{_batchId}/result/{batchResultId} Download one result set of a Bulk API batch · Salesforce Bulk Retrieve Batch Result Data #
Ask an LLM
“Can I download the data for one specific result of a bulk query batch?”
“What rows are in result set 752... of my batch?”
Tell an agent
Download result {result_id} of batch {batch_id}.
Fetch the rows in bulk result {result_id} from batch {batch_id}.
POST /data/v64.0/composite/batch Run up to 25 subrequests in one call · Salesforce Composite Batch #
Ask an LLM
“Can I bundle up to 25 independent REST calls into a single request?”
“Do composite batch subrequests stop when one fails?”
Tell an agent
Run these subrequests {requests} as one composite batch.
Execute batch {requests} and set halt on error to {halt}.
POST /data/v64.0/chatter/feed-elements/batch Post up to 500 feed elements at once · Salesforce Feed Elements, Batch Post #
Ask an LLM
“Can I post hundreds of Chatter feed items in one request?”
“What is the limit on feed elements in a batch post?”
Tell an agent
Post these feed elements {inputs} to Chatter in one batch.
Bulk-publish {inputs} as Chatter posts.
GET /data/v64.0/ui-api/records/batch/{RECORD_IDS} Get several records in one call · Salesforce Get a Batch of Records #
Ask an LLM
“Can I fetch the data for several record IDs at once?”
“What is the quickest way to read a handful of records by ID together?”
Tell an agent
Get records {record_ids}.
Fetch the field values for the batch of record IDs {record_ids}.
PUT /data/v64.0/ui-api/favorites/batch Reorder and replace all favorites at once · Salesforce Update a Batch of Favorites #
Ask an LLM
“Can I reorder all my favorites in one call?”
“What happens to favorites I leave out of a batch update?”
Tell an agent destructive · confirm first
Replace my favorites with {favorites} in this order.
Set my full favorites list to {favorites}, deleting any not listed.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce:salesforce-batch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-batch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Batch API
  description: Find the resources you need to start building.
  contact: {}
  version: '1.0'
servers:
- url: https://login.salesforce.com
  variables: {}
- url: https://id
  variables: {}
- url: https://services
  variables: {}
- url: '{{url}}{{site}}/services/oauth2'
  variables:
    url:
      default: DefaultParameterValue
    site:
      default: DefaultParameterValue
security:
- oauth2:
  - api
tags:


# --- truncated at 32 KB (176 KB total) ---
# Full source: https://artifacts.apis.io/salesforce/openapi/salesforce-batch-api-openapi.yml