curl --request POST \
--url https://api.omnifuel.ai/v1/forecaster \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"dataset": "https://docs.google.com/spreadsheets/d/e/2PACX-1vQlWg_weIflYDrxnlAVx7pEaQHL2fgCuqjwswG0XdZGkakIFdCoBGgzH7JOy7qyPNFxs5T7YB4pjwPT/pub?output=csv",
"dataset_format": "csv",
"time_column": "time",
"target_columns": [
"target"
],
"past_covariates": [],
"future_covariates": [],
"static_covariates": [],
"group_columns": [
"group"
],
"holidays": [],
"datetime_attributes": [],
"lags": 30,
"lags_past_covariates": 7,
"lags_future_covariates": [
2
],
"num_leaves": 50,
"learning_rate": 0.05,
"num_iterations": 200,
"test_size": 0.2,
"test_sample_over": "time",
"min_data_in_leaf": 20,
"max_depth": -1,
"max_bin": 255,
"output_chunk_length": 1
}
'