Training Data
Endpoints for managing training data sources used by Pylon AI.
Endpoints
Returns all training data configurations for the organization.
Rate limit: 60 requests per minute
Authorization: Bearer
Creates a new training data configuration for the organization.
Rate limit: 10 requests per minute
Authorization: Bearer
The name of the training data container.
The visibility of the training data. Defaults to "everyone".
Valid values: "everyone", "user_only", "ai_agent_only"
Returns a single training data configuration by ID.
Rate limit: 60 requests per minute
Authorization: Bearer
The ID of the training data.
Uploads one or more files to a training data configuration.
Rate limit: 10 requests per minute
Authorization: Bearer
External IDs for idempotent operations. Must match the number of files if provided.
Used for duplicate detection and updates.
Custom names for the uploaded files. Must match the number of files if provided.
If not provided, original filenames will be used.
The files to upload (minimum 1, maximum 10).
Supported types: PDF, plain text, markdown, CSV, JSON, and images (JPEG, PNG, GIF, WebP).
Maximum size: 50MB per file, 100MB total.
The ID of an existing training data container to upload files to.
Required if not creating new training data.
The name of a new training data container.
Required when creating new training data (if training_data_id is not provided).
Visibility of the training data. Defaults to "everyone".
Valid values: "everyone", "user_only", "ai_agent_only"
Uploads plain text content as a training data document.
Authorization: Bearer
The text content to upload.
External ID for idempotent operations (optional).
The name for the uploaded file.
The ID of an existing training data container to upload to (optional).
The name of a new training data container (required if training_data_id not provided).
Visibility of the training data. Defaults to "everyone".
Removes documents from a training data configuration by document ID or external ID.
Rate limit: 10 requests per minute
Authorization: Bearer
The ID of the training data.
Document IDs to delete.
External IDs to delete.
Last updated
Was this helpful?

