跳转到主要内容
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>
必填