import_dataset_logs
Import logs into a dataset filtered by time range and attributes, running as a background process.
Instructions
Import existing logs into a dataset by time range and filters. Runs in the background.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset_id": "<dataset_id>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "import_dataset_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Filters to select which logs to import. Example: { "model": { "operator": "", "value": "gpt-4o" } } | |
| end_time | Yes | End time in ISO 8601 format. | |
| dataset_id | Yes | The unique identifier of the dataset. | |
| start_time | Yes | Start time in ISO 8601 format. | |
| sampling_percentage | No | Percent of matching logs to import (1-100). |