Alerts operations

Alert rules.

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.

alerts.acknowledge_event

Mark an alert event acknowledged (org-scoped).

Scopealerts:write
Side-effectcompute
HTTPPOST /v1/op/alerts.acknowledge_event · POST /v1/alerts/acknowledge_event
Python / TypeScriptclient.alerts.acknowledge_event(…)
CLIgeopera alerts acknowledge-event …

RequestAcknowledgeEventInput

FieldTypeRequiredDescription
event_idstringyes

ResponseAlertEventOutput.

alerts.create_rule

Create an alert rule for the caller’s organization.

Scopealerts:write
Side-effectcompute
HTTPPOST /v1/op/alerts.create_rule · POST /v1/alerts/create_rule
Python / TypeScriptclient.alerts.create_rule(…)
CLIgeopera alerts create-rule …

RequestCreateAlertRuleInput

FieldTypeRequiredDescription
namestringyes
descriptionstring
collection_idstring
event_typesarray of string
expressionstringyes
comparisonstringyes
thresholdnumberyes
threshold_uppernumber
asset_keystring
band_mappingobject
notification_channelsarray of string
cooldown_minutesinteger

ResponseAlertRuleOutput.

alerts.delete_rule

Delete an alert rule (org-scoped).

Scopealerts:write
Side-effectdestructive
HTTPPOST /v1/op/alerts.delete_rule · POST /v1/alerts/delete_rule
Python / TypeScriptclient.alerts.delete_rule(…)
CLIgeopera alerts delete-rule …

RequestDeleteAlertRuleInput

FieldTypeRequiredDescription
rule_idstringyes

ResponseDeleteAlertRuleOutput.

alerts.events.list

List the caller’s organization’s alert events (org-scoped, triggered_at desc).

Scopealerts:read
Side-effectread
HTTPPOST /v1/op/alerts.events.list · POST /v1/alerts/events/list
Python / TypeScriptclient.alerts.events.list(…)
CLIgeopera alerts events list …

RequestAlertEventsListInput

FieldTypeRequiredDescription
rule_idstring
acknowledgedboolean
limitinteger
offsetinteger

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

alerts.rule.get

Get a single alert rule by id (org-scoped; 404 cross-org).

Scopealerts:read
Side-effectread
HTTPPOST /v1/op/alerts.rule.get · POST /v1/alerts/rule/get
Python / TypeScriptclient.alerts.rule.get(…)
CLIgeopera alerts rule get …

RequestAlertRuleGetInput

FieldTypeRequiredDescription
rule_idstringyes

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

alerts.rules.list

List the caller’s organization’s alert rules (org-scoped).

Scopealerts:read
Side-effectread
HTTPPOST /v1/op/alerts.rules.list · POST /v1/alerts/rules/list
Python / TypeScriptclient.alerts.rules.list(…)
CLIgeopera alerts rules list …

RequestAlertRulesListInput

FieldTypeRequiredDescription
activeboolean
collection_idstring

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

alerts.test_rule

Test-evaluate an alert rule against an item without persisting.

Scopealerts:read
Side-effectread
HTTPPOST /v1/op/alerts.test_rule · POST /v1/alerts/test_rule
Python / TypeScriptclient.alerts.test_rule(…)
CLIgeopera alerts test-rule …

RequestTestAlertRuleInput

FieldTypeRequiredDescription
rule_idstringyes
item_idstringyes

ResponseTestAlertRuleOutput.

alerts.update_rule

Update an alert rule (org-scoped).

Scopealerts:write
Side-effectcompute
HTTPPOST /v1/op/alerts.update_rule · POST /v1/alerts/update_rule
Python / TypeScriptclient.alerts.update_rule(…)
CLIgeopera alerts update-rule …

RequestUpdateAlertRuleInput

FieldTypeRequiredDescription
rule_idstringyes
namestring
descriptionstring
collection_idstring
event_typesarray of string
expressionstring
comparisonstring
thresholdnumber
threshold_uppernumber
asset_keystring
band_mappingobject
notification_channelsarray of string
activeboolean
cooldown_minutesinteger

ResponseAlertRuleOutput.