Skip to content
Last updated

Alarm Cycle APIs

Alarm Cycle APIs provides a set of APIs to query and modify alarm cycles

Background

Alarm: an alarm is usually generated by downstream algorithms and related to a container, such as a well.

Alarm histories: some operations performed on an alarm can create an alarm history, for example: an alarm state changed, alarm escalated, etc.

Introduction

What is Cycle in Alarm service:

A Cycle is an object representing a set of consecutive Alarm history items starting from an active state to the first resolved state, currently resolved state is “Inactive”.

  • A cycle must start with “Active” state history and end with “Inactive” state history
  • Not all histories belong to a cycle. A history that is not between any “Active” and “Inactive” histories does not belong to any cycle.

Alarm Cycles

The relationship between alarm, alarm cycles, and alarm histories

Alarm Cycles Relationship

API Design

POST /cycles

  • Supported on Delfi Developer Portal
  • This is the cycle search Api that can search for cycles by a set of conditions with pagination.
  • All filters are optional. If no filter is provided, default cycles during the last 7 days will be provided.
  • Multiple filters are applied together with 'AND' logic, but array elements are applied with “OR” logic.
  • user token is needed to use this Api
  • Notes for some request input fields:
Field NameParent Field NameTypeNotes
systemStatusfilterstringValues should be 'Active' or 'Inactive'
severitiesfilterstringValues should be 'Low', 'Medium' or 'High'
voteStatusfilterenumValues should be 'Unvoted', 'True', 'False' or 'NA'
keywordfilterstringThe 'Keyword' filter will search in 'WellName', 'WellboreName', 'RigName', 'Source', 'AlarmType', 'LastVotedBy' fields.
start, endfilter/timeRangeDateTimeOffsetExample value format is: "2025-07-30T07:54:48.600Z"
fieldsortenumValues should be 'None', 'AlarmType', 'Status', 'Severities', 'VoteStatus', 'WellName', 'WellboreName', 'RigName', 'Source', 'StartTime', 'EndTime', 'LastVotedTime', or 'LastVotedBy'
sortDirectionsortstringValues should be 'Ascending' or 'Descending'
pageSizepagingintpageSize should be between 20 – 100 (Inclusive). If pageSize is smaller than 20 or greater than 100, pageSize will be set to 20 and 100 respectively.
  • Notes for some response output fields:
Field NameParent Field NameTypeNotes
iditemsstringcycle Id
availabilityitemsobjectavailability could be "PRODUCER" or "CUSTOMER". "PRODUCER" represents SLB data.
containerIditemsstringa container could be a well, wellbore, datapartition or etc. Currently only support well level.
feedbackitemsobjecta list of feedbacks for this alarm
escalationitemsobjectThe escalation status