v3

latestOpenAPI 3.0.32026-07-31135300306.1 KB
training-data

Upload text content as training data

Uploads plain text content as a training data document.

Rate limit: 10 requests per minute

post/training-data/upload-content

Request body

contentstring

The text content to upload.

external_idstring

External ID for idempotent operations (optional).

file_namestring

The name for the uploaded file.

training_data_idstring

The ID of an existing training data container to upload to (optional).

training_data_namestring

The name of a new training data container (required if training_data_id not provided).

visibilitystring

Visibility of the training data. Defaults to "everyone".

Response

request_idstring