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

VariablesRequired
river_flood
typhoon
storm_surge
landslide
extreme_heat
snow_fall
rainfall_flood
drought
sea_level_rise
wild_fire

Note: Fields marked as ✅ are required and must be included in the request. Others are optional.

Example

import requests
URL = "https://api.intensel.net/apiv2/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