---
title: "Upload Url"
method: POST
path: "/api/batch/url"
tags: ["Batch Processing"]
---

# Upload Url

`POST /api/batch/url`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/batch/url`
- Auth: HTTP bearer

Extract structured data from a web page URL.
Renders the page with Playwright, takes screenshots (for the viewer),
extracts text, and processes through the structuring pipeline.

## Request body `application/x-www-form-urlencoded`

- BodyUploadUrlApiBatchUrlPost
  - `url` string, required
  - `batch_name` string, nullable
  - `schema_fields` string, nullable
  - `processing_mode` string, nullable
  - `guest_session_id` string, nullable

## Response `200`

Successful Response

- BatchUploadResponse: Response model for batch upload
  - `batch_id` string, required
  - `document_count` integer, required
  - `documents` object[], required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
