---
title: "POST /api/v1/project/upload-session/{uid}/_batch_upload/"
method: POST
path: "/api/v1/project/upload-session/{uid}/_batch_upload/"
tags: ["project", "v1"]
---

# POST /api/v1/project/upload-session/{uid}/_batch_upload/

`POST /api/v1/project/upload-session/{uid}/_batch_upload/`

Upload batch of files

    Params:
        - folder (source_path): str - absolute path to a directory containing files
        - force: bool (optional) - whether rewrite existing file and Document

## Path parameters

- `uid` string, required

## Request body

- UploadSessionDetail
  - `uid` string, uuid
  - `project` integer, nullable
  - `created_by` TaskQueueReviewersDataInner, required
    - `pk` integer
    - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
  - `created_date` string, date-time
  - `document_type` string
  - `progress` string
  - `completed` boolean, nullable
  - `is_canceling` string

## Response `201`

- UploadSessionDetail
  - `uid` string, uuid
  - `project` integer, nullable
  - `created_by` TaskQueueReviewersDataInner, required
    - `pk` integer
    - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
  - `created_date` string, date-time
  - `document_type` string
  - `progress` string
  - `completed` boolean, nullable
  - `is_canceling` string

## Changes

- **2021-09-22** `63116f2e9e3e` — 1 info
  - added the optional property `is_canceling` to the response with the `201` status
- **2021-05-24** `8167164be9cc` — 7 breaking, 54 warning, 7 info
  - the `project` request property type/format changed from `object`/`` to `integer`/`` (media type: application/json)
  - the `project` request property type/format changed from `object`/`` to `integer`/`` (media type: application/x-www-form-urlencoded)
  - the `project` request property type/format changed from `object`/`` to `integer`/`` (media type: multipart/form-data)
  - the response property `project` became nullable for the status `201`
  - …64 more
- **2020-12-11** `0957c4a7ae3d` — 13 breaking, 5 warning, 50 info
  - added the new required request property `project/name` (media type: application/json)
  - added the new required request property `project/name` (media type: application/x-www-form-urlencoded)
  - added the new required request property `project/name` (media type: multipart/form-data)
  - added the new required request property `project/type_data` (media type: application/json)
  - …64 more

[Change history](https://skmtc.dev/lexpredict/apis/contraxsuite-api/changes/api/v1/project/upload-session/:uid/_batch_upload/post.md)

---

[API](https://skmtc.dev/lexpredict/apis/contraxsuite-api.md) · [All operations](https://skmtc.dev/lexpredict/apis/contraxsuite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lexpredict/contraxsuite-api/revisions/3429f921b4cb/schema)
