REST API
Steps to integrate REST API with Locale.ai
You can use REST API to integrate send your data directly to the locale.ai platform. Here's how it's done.
You will need the following things before you can integrate your S3 Bucket.
- 1.Sample CSV or JSON file to configure the data-source
- 2.






You can read about our data standards here https://www.notion.so/localeai/Data-Standards-c53fef8c2fe243d483fe02507be1b75f

curl --location --request POST '<https://ingestion.locale.ai/raw>' \\
--header 'Content-Type: application/json' \\
--header 'Cookie: __cfduid=d259823e7362c46fc2f9cc2aa9e9a6dec1603795297' \\
--data-raw '{
"datasource_id": "raw_lkjiortry1321fdhyteqerqznvfg",
"api_key": "5eaac9e9175a44f9b74b8ef58a1343a3",
"data": {
{
"vehicle_id": "3d2e2d70-800e-4c61-bfac-d64de3277dae",
"time_scope": 2020-01-17 00: 00: 20,
"vehicle_status": "idle",
"lat": 13.0379399,
"lon": 77.66190,
"vehicle_condition": "ON"
}
}
}'
Last modified 2yr ago