メインコンテンツへスキップ
POST
cURL

承認

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
name
string
必須

A human-readable name for the folder. Must be unique among siblings.

Minimum string length: 1
parent_id
string | null

ID of the parent folder. Omit or pass null to create a top-level folder. Folders can be nested at most three levels deep.

レスポンス

Folder created.

id
string
必須

The ID of the folder.

parent_id
string | null
必須

The ID of the parent folder, or null for top-level folders.

name
string
必須

The folder's name.

created_at
string<date-time>
必須

When the folder was created.

agents
FolderAgentSummary · object[]
必須

Agents that have access to this folder.

documents
FolderDocumentSummary · object[]
必須

Documents inside this folder.