Skip to main content

Create a project

This tutorial will guide you through the process of creating a project to store the assets information and analysis results. The project is the main container for all the data and analysis results. It is also the place where you can define the risk model and the risk analysis settings.

API Endpoint

[POST] https://api.intensel.net/apiv2/create_project/

Request Arguments

ArgumentTypeDescription
project_namestringThe name of the project.
variableslistThe list of variables.

Variables

Variables
river_flood *
typhoon *
storm_surge *
landslide
extreme_heat
snow_melt
rainfall_flood
drought
sea_level_rise
wild_fire

* The variables marked with an asterisk are the default variables.

Example

import requests
URL = "https://api.intensel.net/apiv1/create_project/"
headers = {
'X-Intensel-Api-Key': 'YOUR_API_KEY',
}
payload = {
"project_name": "My Awesome Project",
"variables":["rainfall_flood", "extreme_heat"],
}
response = requests.post(URL, json=payload, headers=headers)
data = response.json()
print(data)

Example Response

Create Project Response JSON -> view response