GET
/
v0
/
aois
/
{aoi_id}
/
visualizations
List visualizations for an AOI
curl --request GET \
  --url https://api.pixxel.space/v0/aois/{aoi_id}/visualizations \
  --header 'Authorization: <api-key>'
{
  "pagination": {
    "total": 100,
    "offset": 0,
    "limit": 10
  },
  "visualization": [
    {
      "aoi_id": "e9767554-550e-4464-a677-b8cf096073ab",
      "assets": [
        {
          "aoi_id": "e9767554-550e-4464-a677-b8cf096073ab",
          "area_in_sq_m": 0,
          "asset_type": "mosaic",
          "band_list": [
            "B01",
            "B02"
          ],
          "centroid": [
            77.55,
            12.95
          ],
          "created_at": "2022-11-14 12:55:49.125928+00:00",
          "date": "2022-11-14",
          "description": "This asset is mosaic file",
          "geometry": {
            "coordinates": [
              [
                [
                  123
                ]
              ]
            ],
            "type": "<string>"
          },
          "id": "e9767554-550e-4464-a677-b8cf096073ab",
          "name": "Asset-A",
          "path": "https://storage.account",
          "progress": 0,
          "status": "success",
          "updated_at": "2022-11-14 12:55:49.125928+00:00",
          "visualization_id": "e9767554-550e-4464-a677-b8cf096073ab"
        }
      ],
      "created_at": "2022-11-14 12:55:49.125928+00:00",
      "expression": "(B08 - B04) / (B08 + B04)",
      "expression_type": "index",
      "id": "a80f7f4c-abe9-4118-875e-3a2306577e11",
      "index_id": "90d63531-5f54-4704-a4b0-7bb92ae08f23",
      "index_name": "NDVI-Custom",
      "progress": 100,
      "rescale": [
        0,
        1
      ],
      "status": "success",
      "tenant_id": "tenant-123456",
      "type": "custom",
      "updated_at": "2022-11-14 12:55:49.125928+00:00",
      "user_id": "e3a671ad-5381-4413-8c1c-bc4e1ccaff45"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

aoi_id
string
required

AOI ID

Query Parameters

offset
integer
default:0

Offset for pagination

limit
integer
default:10

Limit for pagination

type
string

Filter by type

user_id
string

Filter by user ID

expression_type
string

Filter by expression type

index_id
string

Filter by index ID

visualization_id
string

Filter by visualization ID

Response

200
application/json

OK

The response is of type object.