---
title: "Request DSA code execution [batch]"
method: POST
path: "/public/request-dsa-code-execution-batch"
tags: ["DSA"]
---

# Request DSA code execution [batch]

`POST /public/request-dsa-code-execution-batch`

Request multiple DSA code executions at once. Please note that if you are running SQLite, you must pass `additionalFilesAsZip` as a ZIP file that must contain `db.sqlite` file (exact name) when unzipped

Authentication with the "FERMION-API-KEY" header is required to use this endpoint.

Rate limit: Maximum 10000 requests in a window of 1m.

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `entries` object[], required
        - `language` 'C' | 'Cpp' | 'Java' | 'Python' | 'Nodejs' | 'Sqlite_3_48_0' | 'Golang_1_19' | 'Rust_1_87' | 'Dotnet_8' | 'Mysql_8', required
        - `runConfig` object, required
          - `customMatcherToUseForExpectedOutput` union
            - 'ExactMatch' | 'IgnoreWhitespaceAtStartAndEnd' | 'IgnoreWhitespaceAtStartAndEndCaseInsensitive' | 'IgnoreWhitespaceAtStartAndEndForEveryLine' | 'IgnoreWhitespaceAtStartAndEndForEveryLineCaseInsensitive'
            - unknown
            - unknown
          - `expectedOutputAsBase64UrlEncoded` union
            - string
            - unknown
            - unknown
          - `stdinStringAsBase64UrlEncoded` union
            - string
            - unknown
            - unknown
          - `callbackUrlOnExecutionCompletion` union
            - string, uri — Provide a URL on which Fermion would sent a POST request with the result in body after execution is completed
            - unknown
            - unknown
          - `shouldEnablePerProcessAndThreadCpuTimeLimit` boolean
          - `shouldEnablePerProcessAndThreadMemoryLimit` boolean
          - `shouldAllowInternetAccess` boolean
          - `compilerFlagString` string
          - `maxFileSizeInKilobytesFilesCreatedOrModified` number
          - `stackSizeLimitInKilobytes` number
          - `cpuTimeLimitInMilliseconds` integer
          - `wallTimeLimitInMilliseconds` integer
          - `memoryLimitInKilobyte` integer
          - `maxProcessesAndOrThreads` integer
        - `sourceCodeAsBase64UrlEncoded` string, required
        - `additionalFilesAsZip` union
          - object
            - `type` 'base64url-encoding', required
            - `base64UrlEncodedZip` string, required
          - unknown
          - unknown

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `taskIds` string[], required
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.net/fermion/apis/fermion-backend-api.md) · [All operations](https://skmtc.net/fermion/apis/fermion-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fermion/fermion-backend-api/revisions/7ce364c8820b/schema)
