メインコンテンツへスキップ
POST
Bulk Create Documents

承認

Authorization
string
header
デフォルト:$CARTESIA_API_KEY
必須

Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.

ヘッダー

Cartesia-Version
enum<string>
デフォルト:2026-03-01
必須

API version header.

利用可能なオプション:
2026-03-01
:

"2026-03-01"

ボディ

application/json
documents
CreateDocumentBody · object[]
必須

The documents to upload. Up to 100 per request.

Maximum array length: 100

レスポンス

Documents created.

id
string
必須

The ID of the document.

name
string | null
必須

The document's display name, or null if unnamed.

content
string
必須

The full document text.

created_at
string<date-time>
必須

When the document was uploaded.

metadata
object
必須

User-defined string-keyed metadata.