load_csv_from_url
Download and parse CSV data from any URL with security validation. Returns session ID and data preview for further analysis and transformation operations.
Instructions
Load CSV file from URL into DataBeak session.
Downloads and parses CSV data with security validation. Returns session ID and data preview for further operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the CSV file to download and load | |
| encoding | No | Text encoding for file reading (utf-8, latin1, cp1252, etc.) | utf-8 |
| delimiter | No | Column delimiter character (comma, tab, semicolon, pipe) | , |
| header_config | No | Header detection configuration |
Input Schema (JSON Schema)
{
"properties": {
"delimiter": {
"default": ",",
"description": "Column delimiter character (comma, tab, semicolon, pipe)",
"type": "string"
},
"encoding": {
"default": "utf-8",
"description": "Text encoding for file reading (utf-8, latin1, cp1252, etc.)",
"type": "string"
},
"header_config": {
"anyOf": [
{
"discriminator": {
"mapping": {
"auto": "#/$defs/AutoDetectHeader",
"none": "#/$defs/NoHeader",
"row": "#/$defs/ExplicitHeaderRow"
},
"propertyName": "mode"
},
"oneOf": [
{
"$ref": "#/$defs/AutoDetectHeader"
},
{
"$ref": "#/$defs/NoHeader"
},
{
"$ref": "#/$defs/ExplicitHeaderRow"
}
]
},
{
"type": "null"
}
],
"default": null,
"description": "Header detection configuration"
},
"url": {
"description": "URL of the CSV file to download and load",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}