Request This endpoint expects an object.
reference string Required format: "^\S+$"0-256 characters
type enum Required
EVENTS. METER_DATA is deprecated: still accepted and handled the same as EVENTS, but use EVENTS
Allowed values: EVENTS METER_DATA
file_name string Optional format: "^[a-zA-Z0-9!#$%&-_.*\s]*$"0-256 characters
The name of the uploaded file. Required for a DEFAULT file, cannot be set on a BUCKET file
name string or null Optional format: "^.*$"0-256 characters
description string or null Optional format: "^.*$"0-256 characters
customer_id string or null Optional
processing_type enum or null Optional
DEFAULT when left out. A BUCKET file only takes DEFAULT
Allowed values: DEFAULT SETTINGS CUSTOM
file_processing_settings_id string or null Optional
events object Optional
For type EVENTS: the meter and the ingest timestamp of its lines
meter_data object Optional
As events, for the deprecated type METER_DATA
content_type string Optional
content string Optional
The content of the file, BASE64 encoded. Required unless source is BUCKET
number_of_lines long Optional
download_settings object Optional
source enum Optional
Where the content comes from: DEFAULT (in content) or BUCKET (uploaded to the upload url). Cannot be changed
Allowed values: DEFAULT BUCKET
line_counts object or null Optional
bucket_files object or null Optional
upload object or null Optional
Only in the response to creating a BUCKET file
Response Created
object_type string or null Optional Read-only
id string or null Optional Read-only
reference string Optional format: "^\S+$"0-256 characters
file_name string Optional format: "^[a-zA-Z0-9!#$%&-_.*\s]*$"0-256 characters
The name of the uploaded file. Required for a DEFAULT file, cannot be set on a BUCKET file
created_at string or null Optional Read-only
type enum Optional
EVENTS. METER_DATA is deprecated: still accepted and handled the same as EVENTS, but use EVENTS
Allowed values: EVENTS METER_DATA
name string or null Optional format: "^.*$"0-256 characters
description string or null Optional format: "^.*$"0-256 characters
customer_id string or null Optional
processing_type enum or null Optional
DEFAULT when left out. A BUCKET file only takes DEFAULT
Allowed values: DEFAULT SETTINGS CUSTOM
file_processing_settings_id string or null Optional
events object Optional
For type EVENTS: the meter and the ingest timestamp of its lines
meter_data object Optional
As events, for the deprecated type METER_DATA
content_type string Optional
column_headers list of strings or null Optional Read-only
number_of_lines long Optional
message string or null Optional Read-only
download_settings object Optional
source enum Optional
Where the content comes from: DEFAULT (in content) or BUCKET (uploaded to the upload url). Cannot be changed
Allowed values: DEFAULT BUCKET
line_counts object or null Optional
bucket_files object or null Optional
upload object or null Optional
Only in the response to creating a BUCKET file