Salesforce Collections API

The Collections API from Salesforce — 4 operation(s) for collections.

Operations 6

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

GET /services/data/v64.0/apps/oauth/credentials/ List consumer credentials for a client app · Salesforce Collections #
Ask an LLM
“Where can I get consumer credentials for my external client app?”
“Can I list all consumer keys tied to an external client app?”
Tell an agent
List consumer credentials for my external client app.
Get the OAuth consumer keys and secrets for the app.
POST /data/v64.0/composite/sobjects Create many records in one request · Salesforce Sobject Collections Create #
Ask an LLM
“How do I create many records in one request?”
“Can I roll back all inserts if one record in the batch fails?”
Tell an agent
Create the records {records} in one request.
Insert {records} with all-or-none set to {allOrNone}.
PATCH /data/v64.0/composite/sobjects Update many existing records at once · Salesforce Sobject Collections Update #
Ask an LLM
“What's the way to update multiple existing records in one call?”
“Can a batch update be rolled back entirely when any record errors?”
Tell an agent
Update the records {records} in a single request.
Apply updates {records} with all-or-none {allOrNone}.
DELETE /data/v64.0/composite/sobjects Delete several records by ID · Salesforce Sobject Collections Delete #
Ask an LLM
“Can I delete several records by ID in one call?”
“Is it possible to make a multi-record delete all-or-nothing?”
Tell an agent destructive · confirm first
Delete records {ids} in one request.
Delete {ids} with all-or-none {allOrNone}.
GET /data/v64.0/composite/sobjects/{SOBJECT_API_NAME} Fetch several records of one object · Salesforce Sobject Collections Retrieve #
Ask an LLM
“Can I fetch several records of one object by ID with chosen fields?”
“Which fields come back when I retrieve a set of records together?”
Tell an agent
Get {SOBJECT_API_NAME} records {ids} with fields {fields}.
Retrieve the {SOBJECT_API_NAME} records with IDs {ids}.
PATCH /data/v64.0/composite/sobjects/{SOBJECT_API_NAME}/{FIELD_NAME} Upsert records by external ID · Salesforce Sobject Collections Upsert #
Ask an LLM
“Can I upsert up to 200 records matched on an external ID field?”
“How do I create-or-update many records keyed by my own ID?”
Tell an agent
Upsert {records} into {SOBJECT_API_NAME} matching on {FIELD_NAME}.
Upsert {SOBJECT_API_NAME} records by external ID {FIELD_NAME} with all-or-none {allOrNone}.

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-collections-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-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Collections 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:
- name: Collections
paths:
  /services/data/v64.0/apps/oauth/credentials/:
    parameters: []
    get:
      tags:
      - Collections
      summary: Salesforce Collections
      description: Returns credentials for all consumers associated with an external client app. See OAuth Credentials by App ID.
      operationId: Collections
      parameters:
      - name: Authorization
        in: header
        description: Replace <token> with your access token
        required: true
        schema:
          type: string
          examples:
          - Bearer <token>
        example: example_value
      responses:
        '200':
          description: ''
          headers: {}
      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/composite/sobjects:
    parameters: []
    post:
      tags:
      - Collections
      summary: Salesforce Sobject Collections Create
      description: 'Executes actions on multiple records in one request. Use SObject Collections to reduce the number of round-trips between the client and server. This resource is available in API version 42.0 and later.


        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections.htm'
      operationId: SObjectCollectionsCreate
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/SObjectCollectionsCreateRequest'
              - examples:
                - allOrNone: false
                  records:
                  - attributes:
                      type: Account
                    Name: example.com
                    BillingCity: San Francisco
                  - attributes:
                      type: Contact
                    LastName: Johnson
                    FirstName: Erica
              contentMediaType: application/json
            example:
              allOrNone: false
              records:
              - attributes:
                  type: Account
                Name: example.com
                BillingCity: San Francisco
              - attributes:
                  type: Contact
                LastName: Johnson
                FirstName: Erica
        required: true
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Mon, 20 Nov 2023 15:25:46 GMT
            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
            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
            Sforce-Limit-Info:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: api-usage=44/15000
            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
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SuccessfulSObjectCollectionsCreate'
                description: ''
                examples:
                - - id: 001...
                    success: true
                    errors: []
                  - id: 003...
                    success: true
                    errors: []
                contentMediaType: application/json;charset=UTF-8
              example:
              - id: 001...
                success: true
                errors: []
              - id: 003...
                success: true
                errors: []
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      tags:
      - Collections
      summary: Salesforce Sobject Collections Update
      description: 'Executes actions on multiple records in one request. Use SObject Collections to reduce the number of round-trips between the client and server. This resource is available in API version 42.0 and later.


        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections.htm'
      operationId: SObjectCollectionsUpdate
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/SObjectCollectionsUpdateRequest'
              - examples:
                - allOrNone: false
                  records:
                  - attributes:
                      type: Account
                    id: <account-id>
                    NumberOfEmployees: 27000
              contentMediaType: application/json
            example:
              allOrNone: false
              records:
              - attributes:
                  type: Account
                id: <account-id>
                NumberOfEmployees: 27000
        required: true
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Mon, 20 Nov 2023 15:28:31 GMT
            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
            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
            Sforce-Limit-Info:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: api-usage=46/15000
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SObjectCollectionsUpdate'
                description: ''
                examples:
                - - id: 001...
                    success: true
                    errors: []
                contentMediaType: application/json;charset=UTF-8
              example:
              - id: 001...
                success: true
                errors: []
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      tags:
      - Collections
      summary: Salesforce Sobject Collections Delete
      description: 'Executes actions on multiple records in one request. Use SObject Collections to reduce the number of round-trips between the client and server. This resource is available in API version 42.0 and later.


        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections.htm'
      operationId: SObjectCollectionsDelete
      parameters:
      - name: ids
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
          examples:
          - 0012o00003OBzVSAA1
        example: example_value
      - name: allOrNone
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: boolean
          examples:
          - true
        example: true
      - name: Content-Type
        in: header
        description: ''
        required: true
        schema:
          const: application/json
          type: string
          examples:
          - application/json
        example: example_value
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Mon, 20 Nov 2023 15:31:21 GMT
            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
            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
            Sforce-Limit-Info:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: api-usage=49/15000
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SuccessfulSObjectCollectionsDelete'
                description: ''
                examples:
                - - id: 001...
                    success: true
                    errors: []
                contentMediaType: application/json;charset=UTF-8
              example:
              - id: 001...
                success: true
                errors: []
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/v64.0/composite/sobjects/{SOBJECT_API_NAME}:
    parameters: []
    get:
      tags:
      - Collections
      summary: Salesforce Sobject Collections Retrieve
      description: 'Executes actions on multiple records in one request. Use SObject Collections to reduce the number of round-trips between the client and server. This resource is available in API version 42.0 and later.


        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections.htm'
      operationId: SObjectCollectionsRetrieve
      parameters:
      - name: ids
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
        example: example_value
      - name: fields
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
        example: example_value
      - name: SOBJECT_API_NAME
        in: path
        description: ''
        required: true
        schema:
          type: string
        example: example_value
      - name: Content-Type
        in: header
        description: ''
        required: true
        schema:
          const: application/json
          type: string
          examples:
          - application/json
        example: example_value
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Mon, 20 Nov 2023 15:27:03 GMT
            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
            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
            Sforce-Limit-Info:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: api-usage=44/15000
            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
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SuccessfulSObjectCollectionsRetrieve'
                description: ''
                examples:
                - - attributes:
                      type: Account
                      url: /services/data/v58.0/sobjects/Account/001...
                    Name: Sample Account
                    Id: 001...
                contentMediaType: application/json;charset=UTF-8
              example:
              - attributes:
                  type: Account
                  url: /services/data/v58.0/sobjects/Account/001...
                Name: Sample Account
                Id: 001...
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/v64.0/composite/sobjects/{SOBJECT_API_NAME}/{FIELD_NAME}:
    parameters: []
    patch:
      tags:
      - Collections
      summary: Salesforce Sobject Collections Upsert
      description: 'Use a PATCH request with sObject Collections to either create or update (upsert) up to 200 records based on an external ID field. This method returns a list of UpsertResult objects. You can choose whether to roll back the entire request when an error occurs. This request is available in API version 46 and later.


        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections_upsert.htm'
      operationId: SObjectCollectionsUpsert
      parameters:
      - name: SOBJECT_API_NAME
        in: path
        description: ''
        required: true
        schema:
          type: string
          examples:
          - Account
        example: example_value
      - name: FIELD_NAME
        in: path
        description: ''
        required: true
        schema:
          type: string
          examples:
          - Id
        example: example_value
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/SObjectCollectionsUpsertRequest'
              - examples:
                - allOrNone: false
                  records:
                  - attributes:
                      type: Account
                    Name: Test Upsert
                    Id: 0012o00003OBzVSAA1
              contentMediaType: application/json
            example:
              allOrNone: false
              records:
              - attributes:
                  type: Account
                Name: Test Upsert
                Id: 0012o00003OBzVSAA1
        required: true
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Mon, 20 Nov 2023 15:29:54 GMT
            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
            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
            Sforce-Limit-Info:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: api-usage=48/15000
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SuccessfulSObjectCollectionsUpsert'
                description: ''
                examples:
                - - id: 001...
                    success: true
                    errors: []
                    created: false
                contentMediaType: application/json;charset=UTF-8
              example:
              - id: 001...
                success: true
                errors: []
                created: false
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    SuccessfulSObjectCollectionsUpsert:
      title: SuccessfulSObjectCollectionsUpsert
      required:
      - id
      - success
      - errors
      - created
      type: object
      properties:
        id:
          type: string
          example: abc123
        success:
          type: boolean
          example: true
        errors:
          type: array
          items:
            type: string
          description: ''
          example: []
        created:
          type: boolean
          example: true
      examples:
      - id: 001...
        success: true
        errors: []
        created: false
    SObjectCollectionsUpdate:
      title: SObjectCollectionsUpdate
      required:
      - id
      - success
      - errors
      type: object
      properties:
        id:
          type: string
          example: abc123
        success:
          type: boolean
          example: true
        errors:
          type: array
          items:
            type: string
          description: ''
          example: []
      examples:
      - id: 001...
        success: true
        errors: []
    Record5:
      title: Record5
      required:
      - attributes
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/Attributes3'
        Name:
          type: string
          example: Example Title
        BillingCity:
          type: string
          example: example_value
        LastName:
          type: string
          example: example_value
        FirstName:
          type: string
          example: example_value
      examples:
      - attributes:
          type: Account
        Name: example.com
        BillingCity: San Francisco
    Attributes3:
      title: Attributes3
      required:
      - type
      type: object
      properties:
        type:
          type: string
          example: example_value
      examples:
      - type: Account
    SuccessfulSObjectCollectionsCreate:
      title: SuccessfulSObjectCollectionsCreate
      required:
      - id
      - success
      - errors
      type: object
      properties:
        id:
          type: string
          example: abc123
        success:
          type: boolean
          example: true
        errors:
          type: array
          items:
            type: string
          description: ''
          example: []
      examples:
      - id: 001...
        success: true
        errors: []
    SObjectCollectionsCreateRequest:
      title: SObjectCollectionsCreateRequest
      required:
      - allOrNone
      - records
      type: object
      properties:
        allOrNone:
          type: boolean
          example: true
        records:
          type: array
          items:
            $ref: '#/components/schemas/Record5'
          description: ''
          example: []
      examples:
      - allOrNone: false
        records:
        - attributes:
            type: Account
          Name: example.com
          BillingCity: San Francisco
        - attributes:
            type: Contact
          LastName: Johnson
          FirstName: Erica
    SuccessfulSObjectCollectionsRetrieve:
      title: SuccessfulSObjectCollectionsRetrieve
      required:
      - attributes
      - Name
      - Id
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/Attributes4'
        Name:
          type: string
          example: Example Title
        Id:
          type: string
          example: abc123
      examples:
      - attributes:
          type: Account
          url: /services/data/v58.0/sobjects/Account/001...
        Name: Sample Account
        Id: 001...
    SObjectCollectionsUpdateRequest:
      title: SObjectCollectionsUpdateRequest
      required:
      - allOrNone
      - records
      type: object
      properties:
        allOrNone:
          type: boolean
          example: true
        records:
          type: array
          items:
            $ref: '#/components/schemas/Record6'
          description: ''
          example: []
      examples:
      - allOrNone: false
        records:
        - attributes:
            type: Account
          id: <account-id>
          NumberOfEmployees: 27000
    Record6:
      title: Record6
      required:
      - attributes
      - id
      - NumberOfEmployees
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/Attributes3'
        id:
          type: string
          example: abc123
        NumberOfEmployees:
          type: integer
          contentEncoding: int32
          example: 10
      examples:
      - attributes:
          type: Account
        id: <account-id>
        NumberOfEmployees: 27000
    SuccessfulSObjectCollectionsDelete:
      title: SuccessfulSObjectCollectionsDelete
      required:
      - id
      - success
      - errors
      type: object
      properties:
        id:
          type: string
          example: abc123
        success:
          type: boolean
          example: true
        errors:
          type: array
          items:
            type: string
          description: ''
          example: []
      examples:
      - id: 001...
        success: true
        errors: []
    Record7:
      title: Record7
      required:
      - attributes
      - Name
      - Id
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/Attributes3'
        Name:
          type: string
          example: Example Title
        Id:
          type: string
          example: abc123
      examples:
      - attributes:
          type: Account
        Name: Test Upsert
        Id: 0012o00003OBzVSAA1
    Attributes4:
      title: Attributes4
      required:
      - type
      - url
      type: object
      properties:
        type:
          type: string
          example: example_value
        url:
          type: string
          example: https://www.example.com
      examples:
      - type: Account
        url: /services/data/v58.0/sobjects/Account/001...
    SObjectCollectionsUpsertRequest:
      title: SObjectCollectionsUpsertRequest
      required:
      - allOrNone
      - records
      type: object
      properties:
        allOrNone:
          type: boolean
          example: true
        records:
          type: array
          items:
            $ref: '#/components/schemas/Record7'
          description: ''
          example: []
      examples:
      - allOrNone: false
        records:
        - attributes:
            type: Account
          Name: Test Upsert
          Id: 0012o00003OBzVSAA1
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''