Перейти до основного вмісту
POST
Start an upload

Авторизації

Authorization
string
header
обов'язково

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

Заголовки

Idempotency-Key
string

One key (a UUID) per logical write, sent again on each retry: a repeat within 24 hours replays the first successful answer.

Required string length: 1 - 255
Pattern: ^[\x21-\x7e]+$

Тіло

application/json
bytes
integer<int64>
обов'язково
Необхідний діапазон: 1 <= x <= 1073741824
filename
string
Maximum string length: 1024
purpose
enum<string>
за замовчуванням:import

import: an import's JSONL, in parts of 64 MiB.

Доступні опції:
import

Відповідь

The upload.

id
string
обов'язково
part_size
integer<int64>
обов'язково
parts
integer
обов'язково
bytes
integer<int64>
обов'язково
expires_at
string<date-time>
обов'язково