Analytics operations

Analytics over your data and usage.

Each operation below is reachable at POST /v1/op/{operation_id} or the resource path POST /v1/{resource}/{action}, with a Bearer token (a gpra_ API key or a session token). Back to the Operations Reference index.

analytics.band_math

Apply a custom band-math formula to a COG (statistics JSON or rendered PNG).

Scopeanalytics:process
Side-effectcompute
HTTPPOST /v1/op/analytics.band_math · POST /v1/analytics/band_math
Python / TypeScriptclient.analytics.band_math(…)
CLIgeopera analytics band-math …

RequestBandMathInput

FieldTypeRequiredDescription
cog_urlstringyes
formulastringyes
bboxobjectyes
sensorstringyes
max_sizeinteger
output_formatstring
colormapstring
vminnumber
vmaxnumber

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.calculate_index

Calculate a named spectral index (NDVI, NDWI, …) on a COG (stats JSON or PNG).

Scopeanalytics:process
Side-effectcompute
HTTPPOST /v1/op/analytics.calculate_index · POST /v1/analytics/calculate_index
Python / TypeScriptclient.analytics.calculate_index(…)
CLIgeopera analytics calculate-index …

RequestCalculateIndexInput

FieldTypeRequiredDescription
cog_urlstringyes
index_namestringyes
bboxobjectyes
sensorstringyes
max_sizeinteger
output_formatstring
colormapstring

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.execute

Run a registered analytics operation (zonal_stats / time_series / change_detection).

Scopeanalytics:process
Side-effectread
HTTPPOST /v1/op/analytics.execute · POST /v1/analytics/execute
Python / TypeScriptclient.analytics.execute(…)
CLIgeopera analytics execute …

RequestExecuteRequest

FieldTypeRequiredDescription
operationstringyesName of the registered operation
paramsobjectyesOperation-specific parameters

ResponseAnalyticsExecuteOutput.

analytics.index.get

Detailed info about a single spectral index (+ compatible sensors).

Scopeanalytics:read
Side-effectread
HTTPPOST /v1/op/analytics.index.get · POST /v1/analytics/index/get
Python / TypeScriptclient.analytics.index.get(…)
CLIgeopera analytics index get …

RequestIndexGetInput

FieldTypeRequiredDescription
index_namestringyes

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.indices.list

List spectral indices (optionally filtered by category / sensor compatibility).

Scopeanalytics:read
Side-effectread
HTTPPOST /v1/op/analytics.indices.list · POST /v1/analytics/indices/list
Python / TypeScriptclient.analytics.indices.list(…)
CLIgeopera analytics indices list …

RequestIndicesListInput

FieldTypeRequiredDescription
categorystring
sensorstring

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.operations.get

Detailed capabilities of a single analytics operation.

Scopeanalytics:read
Side-effectread
HTTPPOST /v1/op/analytics.operations.get · POST /v1/analytics/operations/get
Python / TypeScriptclient.analytics.operations.get(…)
CLIgeopera analytics operations get …

RequestOperationGetInput

FieldTypeRequiredDescription
operation_namestringyes

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.operations.list

List all registered analytics operations + their input schemas (discovery).

Scopeanalytics:read
Side-effectread
HTTPPOST /v1/op/analytics.operations.list · POST /v1/analytics/operations/list
Python / TypeScriptclient.analytics.operations.list(…)
CLIgeopera analytics operations list …

RequestOperationsListInput

FieldTypeRequiredDescription
data_typestring

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.sensors.list

List supported sensors and their band mappings.

Scopeanalytics:read
Side-effectread
HTTPPOST /v1/op/analytics.sensors.list · POST /v1/analytics/sensors/list
Python / TypeScriptclient.analytics.sensors.list(…)
CLIgeopera analytics sensors list …

Request_Empty (see the OpenAPI schema for fields).

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

analytics.validate_formula

Validate a band-math formula (syntax + required bands) without executing it.

Scopeanalytics:read
Side-effectread
HTTPPOST /v1/op/analytics.validate_formula · POST /v1/analytics/validate_formula
Python / TypeScriptclient.analytics.validate_formula(…)
CLIgeopera analytics validate-formula …

RequestValidateFormulaInput

FieldTypeRequiredDescription
formulastringyes
sensorstringyes

ResponseValidateFormulaOutput.