openapi: 3.1.0 info: title: Salesforce Analytics (CRM Analytics) REST Actions Batch API description: REST API for accessing and managing CRM Analytics (formerly Tableau CRM / Einstein Analytics) resources including datasets, lenses, dashboards, and dataflows. Enables programmatic access to analytics metadata, query execution, and dashboard management. Uses the Wave API resource at /services/data/vXX.0/wave. version: '63.0' contact: name: Salesforce Developer Support url: https://developer.salesforce.com/support email: developer@salesforce.com license: name: Salesforce API Terms of Use url: https://www.salesforce.com/company/legal/agreements/ servers: - url: https://{instance}.salesforce.com/services/data/v63.0/wave description: Salesforce production or developer instance variables: instance: default: yourInstance description: Your Salesforce instance identifier security: - oauth2: [] - bearerAuth: [] tags: - name: Batch description: Independent subrequests in a single call paths: /composite/batch: post: operationId: executeCompositeBatch summary: Execute composite batch request description: Executes up to 25 independent subrequests in a single call. Unlike the composite resource, batch subrequests are independent and cannot reference each other. If haltOnError is true, processing stops after the first error. Each subrequest counts as one API call, but the batch itself counts as one call toward the limit. tags: - Batch requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BatchRequest' responses: '200': description: Batch response with results for each subrequest content: application/json: schema: $ref: '#/components/schemas/BatchResponse' components: schemas: BatchResponse: type: object properties: hasErrors: type: boolean results: type: array items: type: object properties: statusCode: type: integer result: description: The response body BatchRequest: type: object required: - batchRequests properties: haltOnError: type: boolean default: false description: If true, stops processing after the first error batchRequests: type: array maxItems: 25 items: type: object required: - method - url properties: method: type: string enum: - GET - POST - PATCH - PUT - DELETE url: type: string richInput: description: The request body securitySchemes: oauth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://login.salesforce.com/services/oauth2/authorize tokenUrl: https://login.salesforce.com/services/oauth2/token scopes: api: Access and manage your Salesforce data wave_api: Access CRM Analytics REST API resources bearerAuth: type: http scheme: bearer