Overview
The List all AOIs endpoint retrieves all AOIs associated with the authenticated user. It supports filtering using optional query parameters like satellite_name
, aoi_id
, project_id
, and date-based filters. Results are paginated using offset and limit values. A successful request returns a list of AOIs 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
- Operation: Retrieve a list of all AOIs
- Authentication Required: Yes
Authorization
You need the api key which you can get from the API tab in Organization Settings. The api key is required in almost all the commands
Query Parameters
This command consists the following query parameters (optional):
-
offset
integer
default:0
This is the offset for pagination -
limit
integer
default:10
This is the limit for pagination -
satellite_name
string
You can use this to filter the AOIs by satellite name -
created_at
string
You can use this to filter by the date on which the aoi was created -
updated_at
string
You can use this to filter by the date on which the aoi was updated. -
aoi_id
string
You can use this to filter by AOI ID -
aoi_name
string
You can use this to filter by AOI name -
project_id
string
You can use this to filter by project ids (comma separated)
Path Parameters
You dont really require any path parameters for this command.
Response
Successful Response – 200 OK
A 200 OK response from the List all AOIs endpoint indicates that the request was successful. It returns a list of AOIs created by the authenticated user, along with pagination metadata. Each AOI includes details like name, geometry, EO bands, project ID, status, and timestamps.Refer to the table below for the detailed breakdown of each field in the API response:AOI Object FieldsField | Type | Description |
---|---|---|
aoi_id | string | Unique identifier for the AOI. |
name | string | Name given to the AOI by the user. |
description | string | Description or notes about the AOI. |
lens_satellite_id | string | ID of the satellite used to capture the EO data. |
project_id | string | ID of the project the AOI is linked to. |
images | object | Container for EO images (may be empty or populated). |
eo_bands | array | List of EO bands associated with the AOI (e.g., ["B01", "B02"] ). |
geometry | object | GeoJSON-style object with shape of the AOI. |
geometry.coordinates | array | Coordinate arrays defining the AOI geometry. |
geometry.type | string | Type of geometry (e.g., "Polygon" or "MultiPolygon" ). |
progress | integer | Processing progress percentage (0–100). |
status | string | Current status of the AOI (e.g., "success" ). |
is_favourite | boolean | Indicates if the AOI is marked as favorite. |
created_at | string | Timestamp when the AOI was created. |
updated_at | string | Timestamp of the last update to the AOI. |
user_id | string | ID of the user who created the AOI. |
area_in_sq_m | float | Area of the AOI in square meters. |
centroid | array | Geographic center of the AOI [longitude, latitude] . |
Field | Type | Description |
---|---|---|
total | integer | Total number of AOIs available for the user. |
offset | integer | Starting index of the current result page. |
limit | integer | Maximum number of AOIs 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 the
Authorization
header. You can optionally include query parameters likeoffset
,limit
,satellite_name
,aoi_id
,project_id
,created_at
, orupdated_at
to filter the AOIs returned. - Send the Request Send the request to: https://api.pixxel.space/v0/aois. 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 AOIs you’ve created, along with pagination metadata. Each AOI object includes geometry, EO bands, project details, status, and timestamps. In case of failure (404, 500), structured error messages withcode
,message
, anddetails
will be returned.