Overview
The List Assets for an AOI endpoint retrieves all assets associated with the specified AOI. Results are paginated using offset and limit values. A successful request returns a list of assets along with pagination metadata. Authentication via API key is mandatory, and errors like 404 or 500 return standard error messages with relevant codes and details.
-
Method:
GET -
URL:
/v0/aois/{aoi_id}/assets - Operation: Retrieve a list of assets for an AOI
- Authentication Required: Yes
Authorization
You need the api key which you can get from the API tab in Workspace Settings. The api key is required in almost all the commands
Path Parameters
The aoi_id identifies the exact AOI whose assets are to be retrieved.
| Field | Type | Required | Description |
|---|---|---|---|
aoi_id | string | Yes | Unique identifier of the AOI |
Response
Successful Response – 200 OK
A 200 OK response from the List Assets for an AOI endpoint indicates that the request was successful. It returns a list of assets created for an AOI, along with pagination metadata. Each asset includes details like name, geometry, EO bands, status, and timestamps.Refer to the table below for the detailed breakdown of each field in the API response:AOI Object Fields| Field | Type | Description |
|---|---|---|
aoi_id | string | Unique identifier for the AOI. |
area_in_sq_m | float | Area of the AOI in square meters. |
band_list | array | List of EO bands associated with the asset (e.g., ["B01", "B02"]). |
created_at | string | Timestamp when the Asset was created. |
geometry.coordinates | array | Coordinate arrays defining the AOI geometry. |
geometry.type | string | Type of geometry (e.g., "Polygon" or "MultiPolygon"). |
id | string | Unique identifier for the Asset. |
name | string | Sysytem generated name of the asset. |
progress | integer | Processing progress percentage (0–100). |
status | string | Current status of the Asset (e.g., "success"). |
updated_at | string | Timestamp of the last update to the Asset. |
visualization_id | string | Unique identifier for the visualization. |
| Field | Type | Description |
|---|---|---|
total | integer | Total number of assets available for the AOI. |
offset | integer | Starting index of the current result page. |
limit | integer | Maximum number of assets returned in the response. |
200
- If you recieve a Not Found error (404) or the Internal Server Error (500), you will get the following response:
404 500
How to use endpoint
-
Construct your Request:
Add your API key to theAuthorizationheader. You can optionally include query parameters likeoffset,limit, to filter the Assets returned. -
Send the Request:
Send the request to: https://api.pixxel.space/v0/aois/{aoi_id}/assets. Include any query parameters directly in the URL to paginate or filter results. -
Examine the Response:
A successful response (200 OK) returns a list of Assets created for an AOI, along with pagination metadata. In case of failure (404, 500), structured error messages withcode,message, anddetailswill be returned.