---
title: "Import Proforma"
method: POST
path: "/clinic/document-templates/import"
tags: ["clinic", "document-templates"]
---

# Import Proforma

`POST /clinic/document-templates/import`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/clinic/document-templates/import`
- Auth: none declared

NDJSON: a ``{"section"}`` line for each section as the model drafts it, then
the ``{"result"}`` (``ImportResult``). A refusal is the usual error response;
a failure after the first line can only be a line, ``{"error"}``, carrying the
status and body it would have had.

## Request body `multipart/form-data`

- BodyImportProformaClinicDocumentTemplatesImportPost
  - `file` string, binary, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
