> ## Documentation Index
> Fetch the complete documentation index at: https://www.klavis.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Export salesforce sandbox data

> Export all data from the sandbox in the same format used for initialization.



## OpenAPI

````yaml get /sandbox/salesforce/{sandbox_id}/dump
openapi: 3.1.0
info:
  title: Klavis AI (https://www.klavis.ai)
  description: Klavis AI - Open Source MCP Integrations for AI Applications
  version: 0.1.0
servers:
  - url: https://api.klavis.ai
    description: US Production server
  - url: https://api.eu.klavis.ai
    description: EU Production server
security: []
paths:
  /sandbox/salesforce/{sandbox_id}/dump:
    get:
      tags:
        - sandbox
      summary: Export salesforce sandbox data
      description: >-
        Export all data from the sandbox in the same format used for
        initialization.
      operationId: dump_sandbox_sandbox_salesforce__sandbox_id__dump_get
      parameters:
        - name: sandbox_id
          in: path
          required: true
          schema:
            type: string
            description: The unique sandbox identifier
            title: Sandbox Id
          description: The unique sandbox identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DumpSandboxResponse_SalesforceData_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DumpSandboxResponse_SalesforceData_:
      properties:
        sandbox_id:
          type: string
          title: Sandbox Id
          description: Sandbox identifier
        server_name:
          $ref: '#/components/schemas/SandboxMCPServer'
          description: MCP server type
        dumped_at:
          type: string
          format: date-time
          title: Dumped At
          description: Timestamp of dump
        data:
          $ref: '#/components/schemas/SalesforceData-Output'
          description: Dumped sandbox data in server-specific format
      type: object
      required:
        - sandbox_id
        - server_name
        - dumped_at
        - data
      title: DumpSandboxResponse[SalesforceData]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SandboxMCPServer:
      type: string
      enum:
        - jira
        - github
        - salesforce
        - hubspot
        - notion
        - airtable
        - linear
        - asana
        - google_sheets
        - google_drive
        - google_docs
        - gmail
        - google_calendar
        - google_forms
        - clickup
        - close
        - monday
        - motion
        - onedrive
        - microsoft_teams
        - outlook_mail
        - cal.com
        - quickbooks
        - moneybird
        - dropbox
        - shopify
        - woocommerce
        - outlook_calendar
        - resend
        - wordpress
        - mem0
        - supabase
        - slack
        - confluence
        - discord
        - snowflake
        - postgres
        - mongodb
        - youtube
        - googleworkspaceatlas
        - huggingface
        - mock_notion
        - arxiv_latex
        - calculator
        - clinicaltrialsgov
        - fetch
        - met_museum
        - open_library
        - osm
        - pubmed
        - us_weather
        - duckduckgo
        - whois
        - wikipedia
        - scholarly
        - howtocook
        - yahoo_finance
        - '12306'
        - youtube_transcript
        - weather
        - twelvedata
        - national_parks
        - lara_translate
        - e2b
        - context7
        - alchemy
        - weights_and_biases
        - oxylabs
        - google_maps
        - brave_search
        - exa
        - serper
      title: SandboxMCPServer
      description: Supported MCP servers for sandboxing
    SalesforceData-Output:
      properties:
        accounts:
          anyOf:
            - items:
                $ref: '#/components/schemas/Account'
              type: array
            - type: 'null'
          title: Accounts
        contacts:
          anyOf:
            - items:
                $ref: '#/components/schemas/Contact'
              type: array
            - type: 'null'
          title: Contacts
        opportunities:
          anyOf:
            - items:
                $ref: '#/components/schemas/Opportunity'
              type: array
            - type: 'null'
          title: Opportunities
        leads:
          anyOf:
            - items:
                $ref: '#/components/schemas/Lead'
              type: array
            - type: 'null'
          title: Leads
        cases:
          anyOf:
            - items:
                $ref: '#/components/schemas/Case'
              type: array
            - type: 'null'
          title: Cases
        campaigns:
          anyOf:
            - items:
                $ref: '#/components/schemas/Campaign'
              type: array
            - type: 'null'
          title: Campaigns
      type: object
      title: SalesforceData
      description: Complete Salesforce sandbox data
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    Account:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
          description: Company name
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
          description: e.g., Technology, Healthcare, Finance
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: e.g., Customer, Prospect, Partner
        phone:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Phone
        website:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Website
        revenue:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          title: Revenue
          description: Annual revenue
        employees:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Employees
        address:
          anyOf:
            - $ref: '#/components/schemas/Address'
            - type: 'null'
        description:
          anyOf:
            - type: string
              maxLength: 32000
            - type: 'null'
          title: Description
        rating:
          anyOf:
            - type: string
            - type: 'null'
          title: Rating
          description: e.g., Hot, Warm, Cold
      type: object
      required:
        - name
      title: Account
      description: Company/organization record
    Contact:
      properties:
        first_name:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: First Name
        last_name:
          type: string
          maxLength: 80
          minLength: 1
          title: Last Name
        email:
          anyOf:
            - type: string
              format: email
            - type: 'null'
          title: Email
        phone:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Phone
        mobile:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Mobile
        title:
          anyOf:
            - type: string
              maxLength: 128
            - type: 'null'
          title: Title
          description: Job title
        department:
          anyOf:
            - type: string
              maxLength: 80
            - type: 'null'
          title: Department
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Id
          description: Related account ID
        address:
          anyOf:
            - $ref: '#/components/schemas/Address'
            - type: 'null'
        description:
          anyOf:
            - type: string
              maxLength: 32000
            - type: 'null'
          title: Description
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
          description: e.g., Web, Phone, Referral
      type: object
      required:
        - last_name
      title: Contact
      description: Individual person associated with an account
    Opportunity:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
        stage:
          type: string
          title: Stage
          description: e.g., Prospecting, Qualification, Closed Won
        close_date:
          type: string
          title: Close Date
          description: Expected close date (YYYY-MM-DD)
        amount:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          title: Amount
        probability:
          anyOf:
            - type: integer
              maximum: 100
              minimum: 0
            - type: 'null'
          title: Probability
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Id
          description: Related account ID
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: e.g., New Business, Renewal
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
          description: Lead source
        next_step:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Next Step
        description:
          anyOf:
            - type: string
              maxLength: 32000
            - type: 'null'
          title: Description
      type: object
      required:
        - name
        - stage
        - close_date
      title: Opportunity
      description: Sales deal/potential revenue
    Lead:
      properties:
        first_name:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: First Name
        last_name:
          type: string
          maxLength: 80
          minLength: 1
          title: Last Name
        company:
          type: string
          maxLength: 255
          minLength: 1
          title: Company
        email:
          anyOf:
            - type: string
              format: email
            - type: 'null'
          title: Email
        phone:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Phone
        mobile:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Mobile
        title:
          anyOf:
            - type: string
              maxLength: 128
            - type: 'null'
          title: Title
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          default: Open - Not Contacted
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
          description: e.g., Web, Phone, Referral
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
        rating:
          anyOf:
            - type: string
            - type: 'null'
          title: Rating
          description: e.g., Hot, Warm, Cold
        address:
          anyOf:
            - $ref: '#/components/schemas/Address'
            - type: 'null'
        website:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Website
        description:
          anyOf:
            - type: string
              maxLength: 32000
            - type: 'null'
          title: Description
        employees:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Employees
        revenue:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          title: Revenue
      type: object
      required:
        - last_name
        - company
      title: Lead
      description: Potential customer not yet qualified
    Case:
      properties:
        subject:
          type: string
          maxLength: 255
          minLength: 1
          title: Subject
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          default: New
        priority:
          anyOf:
            - type: string
            - type: 'null'
          title: Priority
          description: High, Medium, or Low
          default: Medium
        origin:
          anyOf:
            - type: string
            - type: 'null'
          title: Origin
          description: e.g., Phone, Email, Web
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: e.g., Problem, Question, Feature Request
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Id
        contact_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Contact Id
        description:
          anyOf:
            - type: string
              maxLength: 32000
            - type: 'null'
          title: Description
        customer_email:
          anyOf:
            - type: string
              format: email
            - type: 'null'
          title: Customer Email
        customer_name:
          anyOf:
            - type: string
              maxLength: 80
            - type: 'null'
          title: Customer Name
        customer_phone:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Customer Phone
      type: object
      required:
        - subject
      title: Case
      description: Customer support ticket
    Campaign:
      properties:
        name:
          type: string
          maxLength: 80
          minLength: 1
          title: Name
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: e.g., Email, Webinar, Conference
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          default: Planned
        start_date:
          anyOf:
            - type: string
            - type: 'null'
          title: Start Date
          description: YYYY-MM-DD
        end_date:
          anyOf:
            - type: string
            - type: 'null'
          title: End Date
          description: YYYY-MM-DD
        expected_revenue:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          title: Expected Revenue
        budget:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          title: Budget
        actual_cost:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          title: Actual Cost
        description:
          anyOf:
            - type: string
              maxLength: 32000
            - type: 'null'
          title: Description
        active:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Active
      type: object
      required:
        - name
      title: Campaign
      description: Marketing campaign
    Address:
      properties:
        street:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Street
        city:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: City
        state:
          anyOf:
            - type: string
              maxLength: 80
            - type: 'null'
          title: State
        postal_code:
          anyOf:
            - type: string
              maxLength: 20
            - type: 'null'
          title: Postal Code
        country:
          anyOf:
            - type: string
              maxLength: 80
            - type: 'null'
          title: Country
      type: object
      title: Address
      description: Reusable address structure
  securitySchemes:
    HTTPBearer:
      type: http
      description: Your Klavis AI API key.
      scheme: bearer
      x-fern-bearer:
        name: api_key

````