Pixxel

Create Insights on an AOI

Creates an insight or get the estimated cost of running the insight.

POST/v0/aoi/{aoi_id}/insights
Authorisations
AuthorizationString
Path Parameters
aoi_idstringrequired
ID of the AOI on which you want to run the insight
Request Body
namestring
Name is a human-readable title for the insight
blockobjectrequired
Describes the processing block to use for the insight
Show child attributes
inputinteger[]required
Inputs to the insight
project_idstring
Identifies which project this insight belongs to
metadataobject
Contains additional key-value information about the insight
estimateboolean
Indicates whether to return a cost estimate instead of running the insight.
Response
application/json
When estimating cost
estimateinteger
Estimate provides the computed cost value for the insight execution
Create Insights on an AOI
1curl -X POST 'https://api.pixxel.space/v0/aoi/{aoi_id}/insights' \
2 -H 'Authorization: YOUR_API_KEY' \
3 -H 'Content-Type: application/json' \
4 -d '{
5 "name": "string",
6 "block": {
7 "name": "string",
8 "string": "string",
9 "version": "string"
10 },
11 "input": [
12 0
13 ],
14 "project_id": "string",
15 "metadata": {},
16 "estimate": true
17}'
Response:
{
"estimate": 0
}