list training files
list_training_filesRetrieve uploaded fine-tuning files, newest first, to locate the provider file ID required when starting a training job.
Instructions
List the training files this workspace has uploaded for fine-tuning, newest first, so a customer can find the file id to start a job with. GET /v1/fine_tuning/files (API-key scope: read). Returns: A bare JSON array (no list envelope): [{id (local record id), provider_file_id (the opaque upstream file id — THIS is the value to pass as training.file_id / training_file_id when creating a job), filename, bytes, purpose ("fine-tune"), created_at}]. Notes: Feature-flag gated: when the fineTuning flag is off every /v1/fine_tuning route returns 404 {error:"Fine-tuning is not enabled"} (plain string error, not the nested shape). Note: the fine-tuning routes authenticate the key directly and do NOT currently enforce management scopes (any valid key of the workspace works); requiredScopeFor would classify writes here as platform:write. Read-only, no spend.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_training_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||