---
title: "Load Data Endpoint"
method: POST
path: "/infra/trials/{trial_id}:load-data"
tags: ["trials"]
---

# Load Data Endpoint

`POST /infra/trials/{trial_id}:load-data`

## Request

- Base URL: `https://api.4chems.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.4chems.com/infra/trials/{trial_id}:load-data`
- Auth: HTTP bearer

Import a prospect's IUCLID export into the trial instance (UC-046).

Returns 202 + Location: /infra/operations/{id}. Preconditions:
trial must be ready, have a deployed IUCLID template, and the export
must be within the trial quota.

## Path parameters

- `trial_id` string, uuid, required

## Request body

- TrialLoadDataIn
  - `upload_ref` string, required

## Response `202`

Successful Response

- OperationOut
  - `operation_id` string, uuid, required
  - `status` string, required
  - `type` string, required
  - `target_type` string, nullable
  - `target_id` string, nullable
  - `result` unknown
  - `error` ErrorDetail
    - `code` string, required
    - `message` string, required
  - `created_at` string, date-time, required
  - `finished_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/4chems/apis/platform-api.md) · [All operations](https://skmtc.dev/4chems/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/4chems/apis/platform-api/revisions/65e4f7b4dba0?raw)
