Event service#

An Event is an annotated moment or time range. The Event Service is responsible for creating and retrieving events for a particular data source.

OpenAPI file: EventService.json

Endpoints#

Create event#

POST /event/v1/events

Creates an event.

Body

assetRids array of string (RID)

Must contain at least one asset rid.

origins array of EventOrigin

If empty, will default to set<EventOrigin.api>.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID) required

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string required

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID) required

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID) required

​

checkMetadata CheckOriginMetadata required

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID) required

​

checkRid string (RID) required

​

checkLineageRid string (RID) required

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID) required

​

procedureRid string (RID) required

​

stepId string required

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID) required

​

checkMetadata StreamingCheckOriginMetadata required

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID) required

​

checkLineageRid string (RID) required

​

implementationIndex integer

​

timestamp Timestamp required

​

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

duration Duration required

​

Fields of Duration
seconds integer (int64) required

​

nanos integer (int64) required

​

name string required

​

description string

If not provided, will default to an empty string.

type EventType required

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

disposition EventDisposition

​

Fields of EventDisposition
priority Priority required

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState required

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID) required

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID) required

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID) required

​

assignees array of string (RID)

​

Response

uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/events" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "timestamp": {
    "seconds": 1,
    "nanos": 1
  },
  "duration": {
    "seconds": 1,
    "nanos": 1
  },
  "name": "<name>",
  "type": "INFO"
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/events",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "timestamp": {"seconds": 1, "nanos": 1},
        "duration": {"seconds": 1, "nanos": 1},
        "name": "<name>",
        "type": "INFO",
    },
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/events",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "timestamp": {"seconds": 1, "nanos": 1},
        "duration": {"seconds": 1, "nanos": 1},
        "name": "<name>",
        "type": "INFO",
    },
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/events",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "timestamp": {"seconds": 1, "nanos": 1},
                "duration": {"seconds": 1, "nanos": 1},
                "name": "<name>",
                "type": "INFO",
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "uuid": "<uuid>",
  "rid": "<event rid>",
  "assetRids": [
    "<asset rid>"
  ],
  "origins": [
    {
      "type": "workbook",
      "workbook": {
        "rid": "<notebook rid>",
        "data": [
          {
            "type": "timeSeriesChannel",
            "timeSeriesChannel": {
              "variableName": "<variable name>",
              "tags": {
                "<key>": "<value>"
              }
            }
          }
        ]
      }
    }
  ],
  "timestamp": {
    "seconds": 1,
    "nanos": 1
  },
  "duration": {
    "seconds": 1,
    "nanos": 1
  },
  "name": "<name>",
  "description": "<description>",
  "type": "INFO",
  "labels": [
    "<label>"
  ],
  "properties": {
    "<key>": "<property value>"
  },
  "typedProperties": {
    "<key>": {
      "type": "stringValue",
      "stringValue": "<property value>"
    }
  },
  "isArchived": true,
  "createdBy": "<user rid>",
  "disposition": {
    "priority": "P0",
    "state": {
      "type": "pendingReview",
      "pendingReview": {
        "openedBy": "<user rid>"
      }
    },
    "assignees": [
      "<user rid>"
    ]
  }
}

Get events#

POST /event/v1/get-events

Deprecated: This endpoint is deprecated. Use the batchGetEvents endpoint instead.

Gets a set of events by UUIDs

Body

uuids array of string (UUID)

​

Response

The body is an array of Event.

Fields of Event
uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/get-events" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "uuids": [
    "<uuids>"
  ]
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/get-events",
    headers={"Authorization": "Bearer <api key>"},
    json={"uuids": ["<uuids>"]},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/get-events",
    headers={"Authorization": "Bearer <api key>"},
    json={"uuids": ["<uuids>"]},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/get-events",
            headers={"Authorization": "Bearer <api key>"},
            json={"uuids": ["<uuids>"]},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

[
  {
    "uuid": "<uuid>",
    "rid": "<event rid>",
    "assetRids": [
      "<asset rid>"
    ],
    "origins": [
      {
        "type": "workbook",
        "workbook": {
          "rid": "<notebook rid>",
          "data": [
            {
              "type": "timeSeriesChannel",
              "timeSeriesChannel": {
                "variableName": "<variable name>",
                "tags": {
                  "<key>": "<value>"
                }
              }
            }
          ]
        }
      }
    ],
    "timestamp": {
      "seconds": 1,
      "nanos": 1
    },
    "duration": {
      "seconds": 1,
      "nanos": 1
    },
    "name": "<name>",
    "description": "<description>",
    "type": "INFO",
    "labels": [
      "<label>"
    ],
    "properties": {
      "<key>": "<property value>"
    },
    "typedProperties": {
      "<key>": {
        "type": "stringValue",
        "stringValue": "<property value>"
      }
    },
    "isArchived": true,
    "createdBy": "<user rid>",
    "disposition": {
      "priority": "P0",
      "state": {
        "type": "pendingReview",
        "pendingReview": {
          "openedBy": "<user rid>"
        }
      },
      "assignees": [
        "<user rid>"
      ]
    }
  }
]

Batch get events#

POST /event/v1/events/batch-get

Gets a set of events by RID.

Body

The body is an array of string (RID).

Response

The body is an array of Event.

Fields of Event
uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/events/batch-get" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '[
  "<event rid>"
]'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/events/batch-get",
    headers={"Authorization": "Bearer <api key>"},
    json=["<event rid>"],
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/events/batch-get",
    headers={"Authorization": "Bearer <api key>"},
    json=["<event rid>"],
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/events/batch-get",
            headers={"Authorization": "Bearer <api key>"},
            json=["<event rid>"],
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

[
  {
    "uuid": "<uuid>",
    "rid": "<event rid>",
    "assetRids": [
      "<asset rid>"
    ],
    "origins": [
      {
        "type": "workbook",
        "workbook": {
          "rid": "<notebook rid>",
          "data": [
            {
              "type": "timeSeriesChannel",
              "timeSeriesChannel": {
                "variableName": "<variable name>",
                "tags": {
                  "<key>": "<value>"
                }
              }
            }
          ]
        }
      }
    ],
    "timestamp": {
      "seconds": 1,
      "nanos": 1
    },
    "duration": {
      "seconds": 1,
      "nanos": 1
    },
    "name": "<name>",
    "description": "<description>",
    "type": "INFO",
    "labels": [
      "<label>"
    ],
    "properties": {
      "<key>": "<property value>"
    },
    "typedProperties": {
      "<key>": {
        "type": "stringValue",
        "stringValue": "<property value>"
      }
    },
    "isArchived": true,
    "createdBy": "<user rid>",
    "disposition": {
      "priority": "P0",
      "state": {
        "type": "pendingReview",
        "pendingReview": {
          "openedBy": "<user rid>"
        }
      },
      "assignees": [
        "<user rid>"
      ]
    }
  }
]

Batch filter events#

POST /event/v1/events/batch-filter-get

Gets a filtered set of events by RID and search filters.

Body

eventRids array of string (RID)

​

filterQuery SearchQuery required

​

Set type to "archived".

archived boolean

​

Set type to "searchText".

searchText string

Search text to perform fuzzy searching against.

Set type to "exactMatch".

exactMatch string

Search text to perform exact matching against on the event name and description.

Set type to "after".

after Timestamp

Filters to events after this timestamp, exclusive. This includes events that start before, but end after this time.

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

Set type to "before".

before Timestamp

Filters to events before this timestamp, exclusive. This includes events that start before, but end after this time.

Set type to "advancedTimeFilter".

advancedTimeFilter EventTimeFilter

​

Fields of EventTimeFilter
timestamp Timestamp required

​

timestampCondition EventTimeFilterCondition required

​

Values of EventTimeFilterCondition
START_TIME_BEFORE_INCLUSIVE

​

START_TIME_BEFORE_EXCLUSIVE

​

START_TIME_AFTER_INCLUSIVE

​

START_TIME_AFTER_EXCLUSIVE

​

END_TIME_BEFORE_INCLUSIVE

​

END_TIME_BEFORE_EXCLUSIVE

​

END_TIME_AFTER_INCLUSIVE

​

END_TIME_AFTER_EXCLUSIVE

​

Set type to "asset".

asset string (RID) deprecated

Deprecated: use assetRids

Set type to "assets".

assets AssetsFilter

​

Fields of AssetsFilter
operator SetOperator required

​

Values of SetOperator
AND

​

OR

​

assets array of string (RID)

​

Set type to "template".

template string (RID)

​

Set type to "workbook".

workbook string (RID)

​

Set type to "dataReview".

dataReview string (RID) deprecated

Deprecated: use dataReviews instead

Set type to "dataReviews".

dataReviews DataReviewsFilter

​

Fields of DataReviewsFilter
dataReviews array of string (RID)

​

Set type to "originType".

originType SearchEventOriginType deprecated

Deprecated: use originTypes instead

Values of SearchEventOriginType
WORKBOOK

​

TEMPLATE

​

API

​

DATA_REVIEW

​

PROCEDURE

​

STREAMING_CHECKLIST

​

Set type to "originTypes".

originTypes OriginTypesFilter

​

Fields of OriginTypesFilter
operator SetOperator required

​

originTypes array of SearchEventOriginType

​

Set type to "dataReviewCheck".

dataReviewCheck string (RID) deprecated

Deprecated: use dataReviewChecks instead

Set type to "dataReviewChecks".

dataReviewChecks DataReviewChecksFilter

​

Fields of DataReviewChecksFilter
dataReviewChecks array of string (RID)

​

Set type to "dispositionStatus".

dispositionStatus EventDispositionStatus deprecated

Deprecated: use dispositionStatuses instead

Values of EventDispositionStatus
PENDING_REVIEW

​

CLOSED_IGNORED

​

CLOSED_REQUIRES_FURTHER_ACTION

​

NO_DISPOSITION

​

Set type to "dispositionStatuses".

dispositionStatuses array of EventDispositionStatus

​

Set type to "priority".

priority Priority deprecated

Deprecated: use priorities instead

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

Set type to "priorities".

priorities array of Priority

​

Set type to "assignee".

assignee string (RID) deprecated

Deprecated: use assignees instead

Set type to "assignees".

assignees AssigneesFilter

​

Fields of AssigneesFilter
operator SetOperator required

​

assignees array of string (RID)

​

Set type to "eventType".

eventType EventType deprecated

Deprecated: use eventTypes instead

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

Set type to "eventTypes".

eventTypes array of EventType

​

Set type to "createdBy".

createdBy string (RID)

​

Set type to "createdByAnyOf".

createdByAnyOf array of string (RID)

​

Set type to "label".

label string deprecated

Deprecated: use labels instead

Set type to "labels".

labels LabelsFilter

​

Fields of LabelsFilter
operator SetOperator required

​

labels array of string

​

Set type to "property".

property Property deprecated

Deprecated: use properties instead

Fields of Property
name string required

​

value string required

​

Set type to "properties".

properties PropertiesFilter

​

Fields of PropertiesFilter
name string required

​

values array of string

​

Set type to "and".

and array of SearchQuery

​

Set type to "or".

or array of SearchQuery

​

Set type to "not".

not SearchQuery

​

Set type to "workspace".

workspace string (RID)

​

Set type to "procedure".

procedure string (RID)

​

Set type to "procedureExecution".

procedureExecution string (RID)

​

Set type to "stepId".

stepId string

​

Set type to "streamingChecklist".

streamingChecklist string (RID)

Filters to events created from a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "streamingCheck".

streamingCheck string (RID)

Filters to events created from the check of a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "numericProperty".

numericProperty NumericPropertyPredicate

Matches events using a numeric property comparison.

Fields of NumericPropertyPredicate
name string required

​

value number required

​

operator PropertyComparisonOperator required

​

Values of PropertyComparisonOperator
EQ

​

NEQ

​

GT

​

GTE

​

LT

​

LTE

​

Set type to "numericPropertyRange".

numericPropertyRange NumericPropertyRangePredicate

Matches events using an inclusive numeric property range.

Fields of NumericPropertyRangePredicate
name string required

​

min number

​

max number

​

operator NumericPropertyRangeOperator required

​

Values of NumericPropertyRangeOperator
BETWEEN

​

NOT_BETWEEN

​

Response

The body is an array of Event.

Fields of Event
uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/events/batch-filter-get" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "filterQuery": {
    "type": "archived",
    "archived": true
  }
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/events/batch-filter-get",
    headers={"Authorization": "Bearer <api key>"},
    json={"filterQuery": {"type": "archived", "archived": True}},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/events/batch-filter-get",
    headers={"Authorization": "Bearer <api key>"},
    json={"filterQuery": {"type": "archived", "archived": True}},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/events/batch-filter-get",
            headers={"Authorization": "Bearer <api key>"},
            json={"filterQuery": {"type": "archived", "archived": True}},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

[
  {
    "uuid": "<uuid>",
    "rid": "<event rid>",
    "assetRids": [
      "<asset rid>"
    ],
    "origins": [
      {
        "type": "workbook",
        "workbook": {
          "rid": "<notebook rid>",
          "data": [
            {
              "type": "timeSeriesChannel",
              "timeSeriesChannel": {
                "variableName": "<variable name>",
                "tags": {
                  "<key>": "<value>"
                }
              }
            }
          ]
        }
      }
    ],
    "timestamp": {
      "seconds": 1,
      "nanos": 1
    },
    "duration": {
      "seconds": 1,
      "nanos": 1
    },
    "name": "<name>",
    "description": "<description>",
    "type": "INFO",
    "labels": [
      "<label>"
    ],
    "properties": {
      "<key>": "<property value>"
    },
    "typedProperties": {
      "<key>": {
        "type": "stringValue",
        "stringValue": "<property value>"
      }
    },
    "isArchived": true,
    "createdBy": "<user rid>",
    "disposition": {
      "priority": "P0",
      "state": {
        "type": "pendingReview",
        "pendingReview": {
          "openedBy": "<user rid>"
        }
      },
      "assignees": [
        "<user rid>"
      ]
    }
  }
]

Update event#

POST /event/v1/update-event

Deprecated: This endpoint is deprecated. Use the batchUpdateEvent endpoint instead.

Updates the fields of an event. Empty fields are left unchanged.

Body

uuid string (UUID) required deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

The unique identifier for the event. This field is required if the uuid field is not provided.

assetRids array of string (RID)

If provided, will replace the existing asset rids. If provided, must contain at least one asset rid.

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

duration Duration

​

Fields of Duration
seconds integer (int64) required

​

nanos integer (int64) required

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

Response

uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/update-event" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "uuid": "<uuid>"
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/update-event",
    headers={"Authorization": "Bearer <api key>"},
    json={"uuid": "<uuid>"},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/update-event",
    headers={"Authorization": "Bearer <api key>"},
    json={"uuid": "<uuid>"},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/update-event",
            headers={"Authorization": "Bearer <api key>"},
            json={"uuid": "<uuid>"},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "uuid": "<uuid>",
  "rid": "<event rid>",
  "assetRids": [
    "<asset rid>"
  ],
  "origins": [
    {
      "type": "workbook",
      "workbook": {
        "rid": "<notebook rid>",
        "data": [
          {
            "type": "timeSeriesChannel",
            "timeSeriesChannel": {
              "variableName": "<variable name>",
              "tags": {
                "<key>": "<value>"
              }
            }
          }
        ]
      }
    }
  ],
  "timestamp": {
    "seconds": 1,
    "nanos": 1
  },
  "duration": {
    "seconds": 1,
    "nanos": 1
  },
  "name": "<name>",
  "description": "<description>",
  "type": "INFO",
  "labels": [
    "<label>"
  ],
  "properties": {
    "<key>": "<property value>"
  },
  "typedProperties": {
    "<key>": {
      "type": "stringValue",
      "stringValue": "<property value>"
    }
  },
  "isArchived": true,
  "createdBy": "<user rid>",
  "disposition": {
    "priority": "P0",
    "state": {
      "type": "pendingReview",
      "pendingReview": {
        "openedBy": "<user rid>"
      }
    },
    "assignees": [
      "<user rid>"
    ]
  }
}

Batch update event#

POST /event/v1/events/batch-update

Updates the fields of an event specified by each request in the batch. Empty fields in the UpdateEventRequest are left unchanged.

Body

requests array of UpdateEventRequest

​

Fields of UpdateEventRequest
rid string (RID) required

​

assetRids array of string (RID)

If provided, will replace the existing asset rids. If provided, must contain at least one asset rid.

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

duration Duration

​

Fields of Duration
seconds integer (int64) required

​

nanos integer (int64) required

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

Response

events array of Event

​

Fields of Event
uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/events/batch-update" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requests": [
    {
      "rid": "<event rid>"
    }
  ]
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/events/batch-update",
    headers={"Authorization": "Bearer <api key>"},
    json={"requests": [{"rid": "<event rid>"}]},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/events/batch-update",
    headers={"Authorization": "Bearer <api key>"},
    json={"requests": [{"rid": "<event rid>"}]},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/events/batch-update",
            headers={"Authorization": "Bearer <api key>"},
            json={"requests": [{"rid": "<event rid>"}]},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "events": [
    {
      "uuid": "<uuid>",
      "rid": "<event rid>",
      "assetRids": [
        "<asset rid>"
      ],
      "origins": [
        {
          "type": "workbook",
          "workbook": {
            "rid": "<notebook rid>",
            "data": [
              {
                "type": "timeSeriesChannel",
                "timeSeriesChannel": {
                  "variableName": "<variable name>",
                  "tags": {
                    "<key>": "<value>"
                  }
                }
              }
            ]
          }
        }
      ],
      "timestamp": {
        "seconds": 1,
        "nanos": 1
      },
      "duration": {
        "seconds": 1,
        "nanos": 1
      },
      "name": "<name>",
      "description": "<description>",
      "type": "INFO",
      "labels": [
        "<label>"
      ],
      "properties": {
        "<key>": "<property value>"
      },
      "typedProperties": {
        "<key>": {
          "type": "stringValue",
          "stringValue": "<property value>"
        }
      },
      "isArchived": true,
      "createdBy": "<user rid>",
      "disposition": {
        "priority": "P0",
        "state": {
          "type": "pendingReview",
          "pendingReview": {
            "openedBy": "<user rid>"
          }
        },
        "assignees": [
          "<user rid>"
        ]
      }
    }
  ]
}

Batch update disposition#

POST /event/v1/update-disposition

Updates the disposition of an event.

Body

requests array of UpdateDispositionRequest

​

Fields of UpdateDispositionRequest
rid string (RID) required

​

disposition EventDisposition

The new disposition for the event. If empty, will remove the disposition from the event.

Fields of EventDisposition
priority Priority required

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState required

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID) required

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID) required

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID) required

​

assignees array of string (RID)

​

Response

events array of Event

​

Fields of Event
uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/update-disposition" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requests": [
    {
      "rid": "<event rid>"
    }
  ]
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/update-disposition",
    headers={"Authorization": "Bearer <api key>"},
    json={"requests": [{"rid": "<event rid>"}]},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/update-disposition",
    headers={"Authorization": "Bearer <api key>"},
    json={"requests": [{"rid": "<event rid>"}]},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/update-disposition",
            headers={"Authorization": "Bearer <api key>"},
            json={"requests": [{"rid": "<event rid>"}]},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "events": [
    {
      "uuid": "<uuid>",
      "rid": "<event rid>",
      "assetRids": [
        "<asset rid>"
      ],
      "origins": [
        {
          "type": "workbook",
          "workbook": {
            "rid": "<notebook rid>",
            "data": [
              {
                "type": "timeSeriesChannel",
                "timeSeriesChannel": {
                  "variableName": "<variable name>",
                  "tags": {
                    "<key>": "<value>"
                  }
                }
              }
            ]
          }
        }
      ],
      "timestamp": {
        "seconds": 1,
        "nanos": 1
      },
      "duration": {
        "seconds": 1,
        "nanos": 1
      },
      "name": "<name>",
      "description": "<description>",
      "type": "INFO",
      "labels": [
        "<label>"
      ],
      "properties": {
        "<key>": "<property value>"
      },
      "typedProperties": {
        "<key>": {
          "type": "stringValue",
          "stringValue": "<property value>"
        }
      },
      "isArchived": true,
      "createdBy": "<user rid>",
      "disposition": {
        "priority": "P0",
        "state": {
          "type": "pendingReview",
          "pendingReview": {
            "openedBy": "<user rid>"
          }
        },
        "assignees": [
          "<user rid>"
        ]
      }
    }
  ]
}

Archive event#

POST /event/v1/archive-event

Deprecated: This endpoint is deprecated. Use the batchArchiveEvents endpoint instead.

Archives an event

Body

uuid string (UUID) required

​

Response

No content (HTTP 204).

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/archive-event" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "uuid": "<uuid>"
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/archive-event",
    headers={"Authorization": "Bearer <api key>"},
    json={"uuid": "<uuid>"},
)
response.raise_for_status()
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/archive-event",
    headers={"Authorization": "Bearer <api key>"},
    json={"uuid": "<uuid>"},
)
response.raise_for_status()
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/archive-event",
            headers={"Authorization": "Bearer <api key>"},
            json={"uuid": "<uuid>"},
        ) as response:
            response.raise_for_status()


asyncio.run(main())

Response: 204

No content.

Batch archive event#

POST /event/v1/batch-archive-events

Archives a set of events

Body

The body is an array of string (RID).

Response

No content (HTTP 204).

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/batch-archive-events" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '[
  "<event rid>"
]'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/batch-archive-events",
    headers={"Authorization": "Bearer <api key>"},
    json=["<event rid>"],
)
response.raise_for_status()
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/batch-archive-events",
    headers={"Authorization": "Bearer <api key>"},
    json=["<event rid>"],
)
response.raise_for_status()
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/batch-archive-events",
            headers={"Authorization": "Bearer <api key>"},
            json=["<event rid>"],
        ) as response:
            response.raise_for_status()


asyncio.run(main())

Response: 204

No content.

Batch unarchive event#

POST /event/v1/batch-unarchive-events

Unarchives a set of events

Body

The body is an array of string (RID).

Response

No content (HTTP 204).

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/batch-unarchive-events" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '[
  "<event rid>"
]'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/batch-unarchive-events",
    headers={"Authorization": "Bearer <api key>"},
    json=["<event rid>"],
)
response.raise_for_status()
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/batch-unarchive-events",
    headers={"Authorization": "Bearer <api key>"},
    json=["<event rid>"],
)
response.raise_for_status()
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/batch-unarchive-events",
            headers={"Authorization": "Bearer <api key>"},
            json=["<event rid>"],
        ) as response:
            response.raise_for_status()


asyncio.run(main())

Response: 204

No content.

Search events#

POST /event/v1/search-events

Searches for events that match the given filters.

Body

sort SortOptions required

​

Fields of SortOptions
isDescending boolean required

​

field SortField required

​

Values of SortField
START_TIME

​

END_TIME

​

DURATION

​

DISPOSITION_STATUS

​

PRIORITY

​

EVENT_NAME

​

pageSize integer required

Will reject page sizes greater than 10k.

nextPageToken string

​

query SearchQuery required

​

Set type to "archived".

archived boolean

​

Set type to "searchText".

searchText string

Search text to perform fuzzy searching against.

Set type to "exactMatch".

exactMatch string

Search text to perform exact matching against on the event name and description.

Set type to "after".

after Timestamp

Filters to events after this timestamp, exclusive. This includes events that start before, but end after this time.

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

Set type to "before".

before Timestamp

Filters to events before this timestamp, exclusive. This includes events that start before, but end after this time.

Set type to "advancedTimeFilter".

advancedTimeFilter EventTimeFilter

​

Fields of EventTimeFilter
timestamp Timestamp required

​

timestampCondition EventTimeFilterCondition required

​

Values of EventTimeFilterCondition
START_TIME_BEFORE_INCLUSIVE

​

START_TIME_BEFORE_EXCLUSIVE

​

START_TIME_AFTER_INCLUSIVE

​

START_TIME_AFTER_EXCLUSIVE

​

END_TIME_BEFORE_INCLUSIVE

​

END_TIME_BEFORE_EXCLUSIVE

​

END_TIME_AFTER_INCLUSIVE

​

END_TIME_AFTER_EXCLUSIVE

​

Set type to "asset".

asset string (RID) deprecated

Deprecated: use assetRids

Set type to "assets".

assets AssetsFilter

​

Fields of AssetsFilter
operator SetOperator required

​

Values of SetOperator
AND

​

OR

​

assets array of string (RID)

​

Set type to "template".

template string (RID)

​

Set type to "workbook".

workbook string (RID)

​

Set type to "dataReview".

dataReview string (RID) deprecated

Deprecated: use dataReviews instead

Set type to "dataReviews".

dataReviews DataReviewsFilter

​

Fields of DataReviewsFilter
dataReviews array of string (RID)

​

Set type to "originType".

originType SearchEventOriginType deprecated

Deprecated: use originTypes instead

Values of SearchEventOriginType
WORKBOOK

​

TEMPLATE

​

API

​

DATA_REVIEW

​

PROCEDURE

​

STREAMING_CHECKLIST

​

Set type to "originTypes".

originTypes OriginTypesFilter

​

Fields of OriginTypesFilter
operator SetOperator required

​

originTypes array of SearchEventOriginType

​

Set type to "dataReviewCheck".

dataReviewCheck string (RID) deprecated

Deprecated: use dataReviewChecks instead

Set type to "dataReviewChecks".

dataReviewChecks DataReviewChecksFilter

​

Fields of DataReviewChecksFilter
dataReviewChecks array of string (RID)

​

Set type to "dispositionStatus".

dispositionStatus EventDispositionStatus deprecated

Deprecated: use dispositionStatuses instead

Values of EventDispositionStatus
PENDING_REVIEW

​

CLOSED_IGNORED

​

CLOSED_REQUIRES_FURTHER_ACTION

​

NO_DISPOSITION

​

Set type to "dispositionStatuses".

dispositionStatuses array of EventDispositionStatus

​

Set type to "priority".

priority Priority deprecated

Deprecated: use priorities instead

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

Set type to "priorities".

priorities array of Priority

​

Set type to "assignee".

assignee string (RID) deprecated

Deprecated: use assignees instead

Set type to "assignees".

assignees AssigneesFilter

​

Fields of AssigneesFilter
operator SetOperator required

​

assignees array of string (RID)

​

Set type to "eventType".

eventType EventType deprecated

Deprecated: use eventTypes instead

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

Set type to "eventTypes".

eventTypes array of EventType

​

Set type to "createdBy".

createdBy string (RID)

​

Set type to "createdByAnyOf".

createdByAnyOf array of string (RID)

​

Set type to "label".

label string deprecated

Deprecated: use labels instead

Set type to "labels".

labels LabelsFilter

​

Fields of LabelsFilter
operator SetOperator required

​

labels array of string

​

Set type to "property".

property Property deprecated

Deprecated: use properties instead

Fields of Property
name string required

​

value string required

​

Set type to "properties".

properties PropertiesFilter

​

Fields of PropertiesFilter
name string required

​

values array of string

​

Set type to "and".

and array of SearchQuery

​

Set type to "or".

or array of SearchQuery

​

Set type to "not".

not SearchQuery

​

Set type to "workspace".

workspace string (RID)

​

Set type to "procedure".

procedure string (RID)

​

Set type to "procedureExecution".

procedureExecution string (RID)

​

Set type to "stepId".

stepId string

​

Set type to "streamingChecklist".

streamingChecklist string (RID)

Filters to events created from a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "streamingCheck".

streamingCheck string (RID)

Filters to events created from the check of a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "numericProperty".

numericProperty NumericPropertyPredicate

Matches events using a numeric property comparison.

Fields of NumericPropertyPredicate
name string required

​

value number required

​

operator PropertyComparisonOperator required

​

Values of PropertyComparisonOperator
EQ

​

NEQ

​

GT

​

GTE

​

LT

​

LTE

​

Set type to "numericPropertyRange".

numericPropertyRange NumericPropertyRangePredicate

Matches events using an inclusive numeric property range.

Fields of NumericPropertyRangePredicate
name string required

​

min number

​

max number

​

operator NumericPropertyRangeOperator required

​

Values of NumericPropertyRangeOperator
BETWEEN

​

NOT_BETWEEN

​

archivedStatuses array of ArchivedStatus

Default search status is NOT_ARCHIVED if none are provided. Allows for including archived events in search.

Values of ArchivedStatus
NOT_ARCHIVED

​

ARCHIVED

​

Response

results array of Event

​

Fields of Event
uuid string (UUID) deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID)

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

Set type to "workbook".

workbook WorkbookEventOrigin

This event was created in this workbook

Fields of WorkbookEventOrigin
rid string (RID)

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Set type to "timeSeriesChannel".

timeSeriesChannel TimeSeriesChannelAssociation

​

Fields of TimeSeriesChannelAssociation
variableName string

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Set type to "template".

template TemplateEventOrigin

This event was created in this template

Fields of TemplateEventOrigin
rid string (RID)

​

Set type to "api".

api ApiEventOrigin

This event was created programmatically via the API

Set type to "dataReview".

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

Fields of DataReviewEventOrigin
dataReviewRid string (RID)

​

checkMetadata CheckOriginMetadata

Metadata about the check that created this event.

Fields of CheckOriginMetadata
checkEvaluationRid string (RID)

​

checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

Set type to "procedure".

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

Fields of ProcedureEventOrigin
procedureExecutionRid string (RID)

​

procedureRid string (RID)

​

stepId string

​

Set type to "streamingChecklist".

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

Fields of StreamingChecklistEventOrigin
checklistRid string (RID)

​

checkMetadata StreamingCheckOriginMetadata

Metadata about the check that created this event.

Fields of StreamingCheckOriginMetadata
checkRid string (RID)

​

checkLineageRid string (RID)

​

implementationIndex integer

​

timestamp Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

name string

​

description string

​

type EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

Set type to "stringValue".

stringValue string

​

Set type to "numericValue".

numericValue number

​

isArchived boolean

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

Fields of EventDisposition
priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

state DispositionState

​

Set type to "pendingReview".

pendingReview PendingReviewDispositionState

​

Fields of PendingReviewDispositionState
openedBy string (RID)

​

Set type to "closedWithFurtherAction".

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

Fields of ClosedWithFurtherActionDispositionState
closedBy string (RID)

​

Set type to "closedWithIgnore".

closedWithIgnore ClosedWithIgnoreDispositionState

​

Fields of ClosedWithIgnoreDispositionState
closedBy string (RID)

​

assignees array of string (RID)

​

nextPageToken string

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/search-events" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "sort": {
    "isDescending": true,
    "field": "START_TIME"
  },
  "pageSize": 1,
  "query": {
    "type": "archived",
    "archived": true
  }
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/search-events",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "sort": {"isDescending": True, "field": "START_TIME"},
        "pageSize": 1,
        "query": {"type": "archived", "archived": True},
    },
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/search-events",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "sort": {"isDescending": True, "field": "START_TIME"},
        "pageSize": 1,
        "query": {"type": "archived", "archived": True},
    },
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/search-events",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "sort": {"isDescending": True, "field": "START_TIME"},
                "pageSize": 1,
                "query": {"type": "archived", "archived": True},
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "results": [
    {
      "uuid": "<uuid>",
      "rid": "<event rid>",
      "assetRids": [
        "<asset rid>"
      ],
      "origins": [
        {
          "type": "workbook",
          "workbook": {
            "rid": "<notebook rid>",
            "data": [
              {
                "type": "timeSeriesChannel",
                "timeSeriesChannel": {
                  "variableName": "<variable name>",
                  "tags": {
                    "<key>": "<value>"
                  }
                }
              }
            ]
          }
        }
      ],
      "timestamp": {
        "seconds": 1,
        "nanos": 1
      },
      "duration": {
        "seconds": 1,
        "nanos": 1
      },
      "name": "<name>",
      "description": "<description>",
      "type": "INFO",
      "labels": [
        "<label>"
      ],
      "properties": {
        "<key>": "<property value>"
      },
      "typedProperties": {
        "<key>": {
          "type": "stringValue",
          "stringValue": "<property value>"
        }
      },
      "isArchived": true,
      "createdBy": "<user rid>",
      "disposition": {
        "priority": "P0",
        "state": {
          "type": "pendingReview",
          "pendingReview": {
            "openedBy": "<user rid>"
          }
        },
        "assignees": [
          "<user rid>"
        ]
      }
    }
  ],
  "nextPageToken": "<token>"
}

Aggregate events#

POST /event/v1/aggregate-events

Searches for events matching the given filter and aggregates them based on the requested functions.

Body

query SearchQuery required

​

Set type to "archived".

archived boolean

​

Set type to "searchText".

searchText string

Search text to perform fuzzy searching against.

Set type to "exactMatch".

exactMatch string

Search text to perform exact matching against on the event name and description.

Set type to "after".

after Timestamp

Filters to events after this timestamp, exclusive. This includes events that start before, but end after this time.

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

Set type to "before".

before Timestamp

Filters to events before this timestamp, exclusive. This includes events that start before, but end after this time.

Set type to "advancedTimeFilter".

advancedTimeFilter EventTimeFilter

​

Fields of EventTimeFilter
timestamp Timestamp required

​

timestampCondition EventTimeFilterCondition required

​

Values of EventTimeFilterCondition
START_TIME_BEFORE_INCLUSIVE

​

START_TIME_BEFORE_EXCLUSIVE

​

START_TIME_AFTER_INCLUSIVE

​

START_TIME_AFTER_EXCLUSIVE

​

END_TIME_BEFORE_INCLUSIVE

​

END_TIME_BEFORE_EXCLUSIVE

​

END_TIME_AFTER_INCLUSIVE

​

END_TIME_AFTER_EXCLUSIVE

​

Set type to "asset".

asset string (RID) deprecated

Deprecated: use assetRids

Set type to "assets".

assets AssetsFilter

​

Fields of AssetsFilter
operator SetOperator required

​

Values of SetOperator
AND

​

OR

​

assets array of string (RID)

​

Set type to "template".

template string (RID)

​

Set type to "workbook".

workbook string (RID)

​

Set type to "dataReview".

dataReview string (RID) deprecated

Deprecated: use dataReviews instead

Set type to "dataReviews".

dataReviews DataReviewsFilter

​

Fields of DataReviewsFilter
dataReviews array of string (RID)

​

Set type to "originType".

originType SearchEventOriginType deprecated

Deprecated: use originTypes instead

Values of SearchEventOriginType
WORKBOOK

​

TEMPLATE

​

API

​

DATA_REVIEW

​

PROCEDURE

​

STREAMING_CHECKLIST

​

Set type to "originTypes".

originTypes OriginTypesFilter

​

Fields of OriginTypesFilter
operator SetOperator required

​

originTypes array of SearchEventOriginType

​

Set type to "dataReviewCheck".

dataReviewCheck string (RID) deprecated

Deprecated: use dataReviewChecks instead

Set type to "dataReviewChecks".

dataReviewChecks DataReviewChecksFilter

​

Fields of DataReviewChecksFilter
dataReviewChecks array of string (RID)

​

Set type to "dispositionStatus".

dispositionStatus EventDispositionStatus deprecated

Deprecated: use dispositionStatuses instead

Values of EventDispositionStatus
PENDING_REVIEW

​

CLOSED_IGNORED

​

CLOSED_REQUIRES_FURTHER_ACTION

​

NO_DISPOSITION

​

Set type to "dispositionStatuses".

dispositionStatuses array of EventDispositionStatus

​

Set type to "priority".

priority Priority deprecated

Deprecated: use priorities instead

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

Set type to "priorities".

priorities array of Priority

​

Set type to "assignee".

assignee string (RID) deprecated

Deprecated: use assignees instead

Set type to "assignees".

assignees AssigneesFilter

​

Fields of AssigneesFilter
operator SetOperator required

​

assignees array of string (RID)

​

Set type to "eventType".

eventType EventType deprecated

Deprecated: use eventTypes instead

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

Set type to "eventTypes".

eventTypes array of EventType

​

Set type to "createdBy".

createdBy string (RID)

​

Set type to "createdByAnyOf".

createdByAnyOf array of string (RID)

​

Set type to "label".

label string deprecated

Deprecated: use labels instead

Set type to "labels".

labels LabelsFilter

​

Fields of LabelsFilter
operator SetOperator required

​

labels array of string

​

Set type to "property".

property Property deprecated

Deprecated: use properties instead

Fields of Property
name string required

​

value string required

​

Set type to "properties".

properties PropertiesFilter

​

Fields of PropertiesFilter
name string required

​

values array of string

​

Set type to "and".

and array of SearchQuery

​

Set type to "or".

or array of SearchQuery

​

Set type to "not".

not SearchQuery

​

Set type to "workspace".

workspace string (RID)

​

Set type to "procedure".

procedure string (RID)

​

Set type to "procedureExecution".

procedureExecution string (RID)

​

Set type to "stepId".

stepId string

​

Set type to "streamingChecklist".

streamingChecklist string (RID)

Filters to events created from a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "streamingCheck".

streamingCheck string (RID)

Filters to events created from the check of a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "numericProperty".

numericProperty NumericPropertyPredicate

Matches events using a numeric property comparison.

Fields of NumericPropertyPredicate
name string required

​

value number required

​

operator PropertyComparisonOperator required

​

Values of PropertyComparisonOperator
EQ

​

NEQ

​

GT

​

GTE

​

LT

​

LTE

​

Set type to "numericPropertyRange".

numericPropertyRange NumericPropertyRangePredicate

Matches events using an inclusive numeric property range.

Fields of NumericPropertyRangePredicate
name string required

​

min number

​

max number

​

operator NumericPropertyRangeOperator required

​

Values of NumericPropertyRangeOperator
BETWEEN

​

NOT_BETWEEN

​

aggregateTypes array of AggregateType

​

Values of AggregateType
TOTAL_DURATION

​

TOTAL_COUNT

​

Response

values map of string to AggregateValue

​

Set type to "duration".

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

Set type to "count".

count integer

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/aggregate-events" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "query": {
    "type": "archived",
    "archived": true
  }
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/aggregate-events",
    headers={"Authorization": "Bearer <api key>"},
    json={"query": {"type": "archived", "archived": True}},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/aggregate-events",
    headers={"Authorization": "Bearer <api key>"},
    json={"query": {"type": "archived", "archived": True}},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/aggregate-events",
            headers={"Authorization": "Bearer <api key>"},
            json={"query": {"type": "archived", "archived": True}},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "values": {
    "<key>": {
      "type": "duration",
      "duration": {
        "seconds": 1,
        "nanos": 1
      }
    }
  }
}

Batch aggregate events#

POST /event/v1/aggregate-events/batch

Searches for events matching the given filter and aggregates them based on the requested functions. Returns a list of responses in same order as the batched requests.

Body

requests array of AggregateEventsRequest

​

Fields of AggregateEventsRequest
query SearchQuery required

​

Set type to "archived".

archived boolean

​

Set type to "searchText".

searchText string

Search text to perform fuzzy searching against.

Set type to "exactMatch".

exactMatch string

Search text to perform exact matching against on the event name and description.

Set type to "after".

after Timestamp

Filters to events after this timestamp, exclusive. This includes events that start before, but end after this time.

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

Set type to "before".

before Timestamp

Filters to events before this timestamp, exclusive. This includes events that start before, but end after this time.

Set type to "advancedTimeFilter".

advancedTimeFilter EventTimeFilter

​

Fields of EventTimeFilter
timestamp Timestamp required

​

timestampCondition EventTimeFilterCondition required

​

Values of EventTimeFilterCondition
START_TIME_BEFORE_INCLUSIVE

​

START_TIME_BEFORE_EXCLUSIVE

​

START_TIME_AFTER_INCLUSIVE

​

START_TIME_AFTER_EXCLUSIVE

​

END_TIME_BEFORE_INCLUSIVE

​

END_TIME_BEFORE_EXCLUSIVE

​

END_TIME_AFTER_INCLUSIVE

​

END_TIME_AFTER_EXCLUSIVE

​

Set type to "asset".

asset string (RID) deprecated

Deprecated: use assetRids

Set type to "assets".

assets AssetsFilter

​

Fields of AssetsFilter
operator SetOperator required

​

Values of SetOperator
AND

​

OR

​

assets array of string (RID)

​

Set type to "template".

template string (RID)

​

Set type to "workbook".

workbook string (RID)

​

Set type to "dataReview".

dataReview string (RID) deprecated

Deprecated: use dataReviews instead

Set type to "dataReviews".

dataReviews DataReviewsFilter

​

Fields of DataReviewsFilter
dataReviews array of string (RID)

​

Set type to "originType".

originType SearchEventOriginType deprecated

Deprecated: use originTypes instead

Values of SearchEventOriginType
WORKBOOK

​

TEMPLATE

​

API

​

DATA_REVIEW

​

PROCEDURE

​

STREAMING_CHECKLIST

​

Set type to "originTypes".

originTypes OriginTypesFilter

​

Fields of OriginTypesFilter
operator SetOperator required

​

originTypes array of SearchEventOriginType

​

Set type to "dataReviewCheck".

dataReviewCheck string (RID) deprecated

Deprecated: use dataReviewChecks instead

Set type to "dataReviewChecks".

dataReviewChecks DataReviewChecksFilter

​

Fields of DataReviewChecksFilter
dataReviewChecks array of string (RID)

​

Set type to "dispositionStatus".

dispositionStatus EventDispositionStatus deprecated

Deprecated: use dispositionStatuses instead

Values of EventDispositionStatus
PENDING_REVIEW

​

CLOSED_IGNORED

​

CLOSED_REQUIRES_FURTHER_ACTION

​

NO_DISPOSITION

​

Set type to "dispositionStatuses".

dispositionStatuses array of EventDispositionStatus

​

Set type to "priority".

priority Priority deprecated

Deprecated: use priorities instead

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

Set type to "priorities".

priorities array of Priority

​

Set type to "assignee".

assignee string (RID) deprecated

Deprecated: use assignees instead

Set type to "assignees".

assignees AssigneesFilter

​

Fields of AssigneesFilter
operator SetOperator required

​

assignees array of string (RID)

​

Set type to "eventType".

eventType EventType deprecated

Deprecated: use eventTypes instead

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

Set type to "eventTypes".

eventTypes array of EventType

​

Set type to "createdBy".

createdBy string (RID)

​

Set type to "createdByAnyOf".

createdByAnyOf array of string (RID)

​

Set type to "label".

label string deprecated

Deprecated: use labels instead

Set type to "labels".

labels LabelsFilter

​

Fields of LabelsFilter
operator SetOperator required

​

labels array of string

​

Set type to "property".

property Property deprecated

Deprecated: use properties instead

Fields of Property
name string required

​

value string required

​

Set type to "properties".

properties PropertiesFilter

​

Fields of PropertiesFilter
name string required

​

values array of string

​

Set type to "and".

and array of SearchQuery

​

Set type to "or".

or array of SearchQuery

​

Set type to "not".

not SearchQuery

​

Set type to "workspace".

workspace string (RID)

​

Set type to "procedure".

procedure string (RID)

​

Set type to "procedureExecution".

procedureExecution string (RID)

​

Set type to "stepId".

stepId string

​

Set type to "streamingChecklist".

streamingChecklist string (RID)

Filters to events created from a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "streamingCheck".

streamingCheck string (RID)

Filters to events created from the check of a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

Set type to "numericProperty".

numericProperty NumericPropertyPredicate

Matches events using a numeric property comparison.

Fields of NumericPropertyPredicate
name string required

​

value number required

​

operator PropertyComparisonOperator required

​

Values of PropertyComparisonOperator
EQ

​

NEQ

​

GT

​

GTE

​

LT

​

LTE

​

Set type to "numericPropertyRange".

numericPropertyRange NumericPropertyRangePredicate

Matches events using an inclusive numeric property range.

Fields of NumericPropertyRangePredicate
name string required

​

min number

​

max number

​

operator NumericPropertyRangeOperator required

​

Values of NumericPropertyRangeOperator
BETWEEN

​

NOT_BETWEEN

​

aggregateTypes array of AggregateType

​

Values of AggregateType
TOTAL_DURATION

​

TOTAL_COUNT

​

Response

responses array of AggregateEventsResponse

​

Fields of AggregateEventsResponse
values map of string to AggregateValue

​

Set type to "duration".

duration Duration

​

Fields of Duration
seconds integer (int64)

​

nanos integer (int64)

​

Set type to "count".

count integer

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/aggregate-events/batch" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requests": [
    {
      "query": {
        "type": "archived",
        "archived": true
      }
    }
  ]
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/aggregate-events/batch",
    headers={"Authorization": "Bearer <api key>"},
    json={"requests": [{"query": {"type": "archived", "archived": True}}]},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/aggregate-events/batch",
    headers={"Authorization": "Bearer <api key>"},
    json={"requests": [{"query": {"type": "archived", "archived": True}}]},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/aggregate-events/batch",
            headers={"Authorization": "Bearer <api key>"},
            json={"requests": [{"query": {"type": "archived", "archived": True}}]},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "responses": [
    {
      "values": {
        "<key>": {
          "type": "duration",
          "duration": {
            "seconds": 1,
            "nanos": 1
          }
        }
      }
    }
  ]
}

Get events histogram#

POST /event/v1/histogram

Gets a histogram of events that match the given filters.

Body

startInclusive Timestamp required

​

Fields of Timestamp
seconds integer (int64) required

​

nanos integer (int64) required

​

endExclusive Timestamp required

​

filterQuery HistogramFilterQuery

The query to filter the events to be included in the histogram.

Set type to "searchText".

searchText string

​

Set type to "asset".

asset string (RID)

​

Set type to "template".

template string (RID)

​

Set type to "workbook".

workbook string (RID)

​

Set type to "dataReview".

dataReview string (RID)

​

Set type to "originType".

originType SearchEventOriginType

​

Values of SearchEventOriginType
WORKBOOK

​

TEMPLATE

​

API

​

DATA_REVIEW

​

PROCEDURE

​

STREAMING_CHECKLIST

​

Set type to "dataReviewCheck".

dataReviewCheck string (RID)

​

Set type to "dispositionStatus".

dispositionStatus EventDispositionStatus

​

Values of EventDispositionStatus
PENDING_REVIEW

​

CLOSED_IGNORED

​

CLOSED_REQUIRES_FURTHER_ACTION

​

NO_DISPOSITION

​

Set type to "priority".

priority Priority

​

Values of Priority
P0

​

P1

​

P2

​

P3

​

P4

​

Set type to "assignee".

assignee string (RID)

​

Set type to "eventType".

eventType EventType

​

Values of EventType
INFO

​

FLAG

​

ERROR

​

SUCCESS

​

Set type to "createdBy".

createdBy string (RID)

​

Set type to "label".

label string

​

Set type to "property".

property Property

​

Fields of Property
name string required

​

value string required

​

Set type to "and".

and array of HistogramFilterQuery

​

Set type to "or".

or array of HistogramFilterQuery

​

Set type to "not".

not HistogramFilterQuery

​

Set type to "workspace".

workspace string (RID)

​

Set type to "procedure".

procedure string (RID)

​

Set type to "procedureExecution".

procedureExecution string (RID)

​

Set type to "stepId".

stepId string

​

archivedStatuses array of ArchivedStatus

Filters search on check alerts based on the archived statuses provided. Default is NOT_ARCHIVED only if none are provided.

Values of ArchivedStatus
NOT_ARCHIVED

​

ARCHIVED

​

numBins integer

Defaults to 100. Throws if larger than 1_000. The resulting histogram may have fewer bins than requested if the requested time window is too small.

eventLimit integer

Limits the number of events to be included in the histogram. Defaults to 1_000. Throws if larger than 10_000.

Response

buckets array of EventsHistogramBucket

​

Fields of EventsHistogramBucket
startInclusive Timestamp

​

Fields of Timestamp
seconds integer (int64)

​

nanos integer (int64)

​

endExclusive Timestamp

​

count integer

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/histogram" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "startInclusive": {
    "seconds": 1,
    "nanos": 1
  },
  "endExclusive": {
    "seconds": 1,
    "nanos": 1
  }
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/histogram",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "startInclusive": {"seconds": 1, "nanos": 1},
        "endExclusive": {"seconds": 1, "nanos": 1},
    },
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/histogram",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "startInclusive": {"seconds": 1, "nanos": 1},
        "endExclusive": {"seconds": 1, "nanos": 1},
    },
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/histogram",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "startInclusive": {"seconds": 1, "nanos": 1},
                "endExclusive": {"seconds": 1, "nanos": 1},
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "buckets": [
    {
      "startInclusive": {
        "seconds": 1,
        "nanos": 1
      },
      "endExclusive": {
        "seconds": 1,
        "nanos": 1
      },
      "count": 1
    }
  ]
}

List properties and labels#

POST /event/v1/list-properties-labels

Lists the properties and labels of active events in the provided workspaces. Returns up to 500 of the most-used labels, and up to 500 of the most-used values for each property key. Property keys are not capped. Response maps and sets are unordered.

Body

workspaces array of string (RID)

If omitted, results will come from all workspaces the user belongs to.

Response

properties map of PropertyName to array of string deprecated

Legacy string-only property values. Deprecated: Use the paginated searchPropertyKeys and searchPropertyValues methods instead.

labels array of string

​

Request

curl -X POST "https://api.gov.nominal.io/api/event/v1/list-properties-labels" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "workspaces": [
    "<workspace rid>"
  ]
}'
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/event/v1/list-properties-labels",
    headers={"Authorization": "Bearer <api key>"},
    json={"workspaces": ["<workspace rid>"]},
)
response.raise_for_status()
print(response.json())
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/event/v1/list-properties-labels",
    headers={"Authorization": "Bearer <api key>"},
    json={"workspaces": ["<workspace rid>"]},
)
response.raise_for_status()
print(response.json())
import asyncio

import aiohttp


async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/event/v1/list-properties-labels",
            headers={"Authorization": "Bearer <api key>"},
            json={"workspaces": ["<workspace rid>"]},
        ) as response:
            response.raise_for_status()
            print(await response.json())


asyncio.run(main())

Response: 200

{
  "properties": {
    "<key>": [
      "<property value>"
    ]
  },
  "labels": [
    "<label>"
  ]
}

Errors#

Errors shows how these errors are sent.

Each error’s errorName is Scout: followed by its name below.

Status

Name

Notes

400

IllegalBinCountRequested

400

IllegalEventLimitRequested

400

MissingAssetRid

404

EventNotFound

404

EventsNotFound

404

RidsNotFound

Types#

AggregateEventsRequest#

query SearchQuery required

​

aggregateTypes array of AggregateType

​

AggregateEventsResponse#

values map of string to AggregateValue

​

AggregateType#

TOTAL_DURATION

​

TOTAL_COUNT

​

AggregateValue#

Set type to the name of one of the other fields, and set only that field.

duration Duration

​

count integer

​

ApiEventOrigin#

An empty JSON object, {}.

ArchivedStatus#

NOT_ARCHIVED

​

ARCHIVED

​

AssetsFilter#

operator SetOperator required

​

assets array of string (RID)

​

AssigneesFilter#

operator SetOperator required

​

assignees array of string (RID)

​

CheckOriginMetadata#

checkEvaluationRid string (RID) required

​

checkRid string (RID) required

​

checkLineageRid string (RID) required

​

implementationIndex integer

​

ClosedWithFurtherActionDispositionState#

closedBy string (RID) required

​

ClosedWithIgnoreDispositionState#

closedBy string (RID) required

​

DataReviewChecksFilter#

dataReviewChecks array of string (RID)

​

DataReviewEventOrigin#

dataReviewRid string (RID) required

​

checkMetadata CheckOriginMetadata required

Metadata about the check that created this event.

DataReviewsFilter#

dataReviews array of string (RID)

​

DispositionState#

Set type to the name of one of the other fields, and set only that field.

pendingReview PendingReviewDispositionState

​

closedWithFurtherAction ClosedWithFurtherActionDispositionState

​

closedWithIgnore ClosedWithIgnoreDispositionState

​

Duration#

seconds integer (int64) required

​

nanos integer (int64) required

​

Event#

uuid string (UUID) required deprecated

Deprecated: This field is deprecated. Use the rid field instead.

rid string (RID) required

​

assetRids array of string (RID)

A set of asset rids associated with the event.

origins array of EventOrigin

A set of origins associated with the event.

timestamp Timestamp required

​

duration Duration required

​

name string required

​

description string required

​

type EventType required

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

isArchived boolean required

​

createdBy string (RID)

The user who created the event. This field may be missing for legacy events.

disposition EventDisposition

​

EventDisposition#

Describes the review status for an event. This is used to track the disposition status of an event.

priority Priority required

​

state DispositionState required

​

assignees array of string (RID)

​

EventDispositionStatus#

PENDING_REVIEW

​

CLOSED_IGNORED

​

CLOSED_REQUIRES_FURTHER_ACTION

​

NO_DISPOSITION

​

EventOrigin#

Describes where an event came from.

Set type to the name of one of the other fields, and set only that field.

workbook WorkbookEventOrigin

This event was created in this workbook

template TemplateEventOrigin

This event was created in this template

api ApiEventOrigin

This event was created programmatically via the API

dataReview DataReviewEventOrigin

This event was created automatically from a checklist execution.

procedure ProcedureEventOrigin

This event was created automatically from a procedure execution.

streamingChecklist StreamingChecklistEventOrigin

This event was created automatically from the execution of a streaming checklist.

EventsHistogramBucket#

startInclusive Timestamp required

​

endExclusive Timestamp required

​

count integer required

​

EventTimeFilter#

timestamp Timestamp required

​

timestampCondition EventTimeFilterCondition required

​

EventTimeFilterCondition#

START_TIME_BEFORE_INCLUSIVE

​

START_TIME_BEFORE_EXCLUSIVE

​

START_TIME_AFTER_INCLUSIVE

​

START_TIME_AFTER_EXCLUSIVE

​

END_TIME_BEFORE_INCLUSIVE

​

END_TIME_BEFORE_EXCLUSIVE

​

END_TIME_AFTER_INCLUSIVE

​

END_TIME_AFTER_EXCLUSIVE

​

EventType#

INFO

​

FLAG

​

ERROR

​

SUCCESS

​

HistogramFilterQuery#

Set type to the name of one of the other fields, and set only that field.

searchText string

​

asset string (RID)

​

template string (RID)

​

workbook string (RID)

​

dataReview string (RID)

​

originType SearchEventOriginType

​

dataReviewCheck string (RID)

​

dispositionStatus EventDispositionStatus

​

priority Priority

​

assignee string (RID)

​

eventType EventType

​

createdBy string (RID)

​

label string

​

property Property

​

and array of HistogramFilterQuery

​

or array of HistogramFilterQuery

​

not HistogramFilterQuery

​

workspace string (RID)

​

procedure string (RID)

​

procedureExecution string (RID)

​

stepId string

​

LabelsFilter#

operator SetOperator required

​

labels array of string

​

NumericPropertyPredicate#

Matches resources that have a numeric value for the named property and whose value satisfies the operator. NEQ excludes resources that lack the property or store a string value under the same name.

name string required

​

value number required

​

operator PropertyComparisonOperator required

​

NumericPropertyRangeOperator#

BETWEEN

​

NOT_BETWEEN

​

NumericPropertyRangePredicate#

Inclusive range on a numeric property. At least one bound is required. BETWEEN: min <= x <= max. An absent bound is unbounded on that side. NOT_BETWEEN: x < min OR x > max. An absent bound drops that side. Both operators require a numeric value for name. Missing properties and string values never match. Bounds are closed [min, max] to match the number chip (is between / is not between), not half-open.

name string required

​

min number

​

max number

​

operator NumericPropertyRangeOperator required

​

OriginTypesFilter#

operator SetOperator required

​

originTypes array of SearchEventOriginType

​

PendingReviewDispositionState#

openedBy string (RID) required

​

Priority#

P0

​

P1

​

P2

​

P3

​

P4

​

ProcedureEventOrigin#

procedureExecutionRid string (RID) required

​

procedureRid string (RID) required

​

stepId string required

​

PropertiesFilter#

name string required

​

values array of string

​

Property#

name string required

​

value string required

​

PropertyComparisonOperator#

EQ

​

NEQ

​

GT

​

GTE

​

LT

​

LTE

​

SearchEventOriginType#

WORKBOOK

​

TEMPLATE

​

API

​

DATA_REVIEW

​

PROCEDURE

​

STREAMING_CHECKLIST

​

SearchQuery#

Set type to the name of one of the other fields, and set only that field.

archived boolean

​

searchText string

Search text to perform fuzzy searching against.

exactMatch string

Search text to perform exact matching against on the event name and description.

after Timestamp

Filters to events after this timestamp, exclusive. This includes events that start before, but end after this time.

before Timestamp

Filters to events before this timestamp, exclusive. This includes events that start before, but end after this time.

advancedTimeFilter EventTimeFilter

​

asset string (RID) deprecated

Deprecated: use assetRids

assets AssetsFilter

​

template string (RID)

​

workbook string (RID)

​

dataReview string (RID) deprecated

Deprecated: use dataReviews instead

dataReviews DataReviewsFilter

​

originType SearchEventOriginType deprecated

Deprecated: use originTypes instead

originTypes OriginTypesFilter

​

dataReviewCheck string (RID) deprecated

Deprecated: use dataReviewChecks instead

dataReviewChecks DataReviewChecksFilter

​

dispositionStatus EventDispositionStatus deprecated

Deprecated: use dispositionStatuses instead

dispositionStatuses array of EventDispositionStatus

​

priority Priority deprecated

Deprecated: use priorities instead

priorities array of Priority

​

assignee string (RID) deprecated

Deprecated: use assignees instead

assignees AssigneesFilter

​

eventType EventType deprecated

Deprecated: use eventTypes instead

eventTypes array of EventType

​

createdBy string (RID)

​

createdByAnyOf array of string (RID)

​

label string deprecated

Deprecated: use labels instead

labels LabelsFilter

​

property Property deprecated

Deprecated: use properties instead

properties PropertiesFilter

​

and array of SearchQuery

​

or array of SearchQuery

​

not SearchQuery

​

workspace string (RID)

​

procedure string (RID)

​

procedureExecution string (RID)

​

stepId string

​

streamingChecklist string (RID)

Filters to events created from a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

streamingCheck string (RID)

Filters to events created from the check of a checklist executing in streaming. Use assets to further filter to a specific streaming checklist instance.

numericProperty NumericPropertyPredicate

Matches events using a numeric property comparison.

numericPropertyRange NumericPropertyRangePredicate

Matches events using an inclusive numeric property range.

SetOperator#

AND

​

OR

​

SortField#

START_TIME

​

END_TIME

​

DURATION

​

DISPOSITION_STATUS

​

PRIORITY

​

EVENT_NAME

​

SortOptions#

isDescending boolean required

​

field SortField required

​

StreamingChecklistEventOrigin#

checklistRid string (RID) required

​

checkMetadata StreamingCheckOriginMetadata required

Metadata about the check that created this event.

StreamingCheckOriginMetadata#

checkRid string (RID) required

​

checkLineageRid string (RID) required

​

implementationIndex integer

​

TemplateEventOrigin#

rid string (RID) required

​

TimeSeriesChannelAssociation#

A singular time series to associate the event with.

variableName string required

​

tags map of string to string

If this variable is grouped, the tags within the groupings this event should associate with

Timestamp#

Deprecated for new APIs. Use google.protobuf.Timestamp for absolute instants in proto APIs.

This legacy nanosecond precision timestamp type is represented by an epoch time in seconds and a nanosecond offset. The nanosecond offset is from the start of the epoch second, so must be less than 1 billion.

seconds integer (int64) required

​

nanos integer (int64) required

​

TypedPropertyValue#

Typed metadata value. Additional variants may be added as property types expand.

Set type to the name of one of the other fields, and set only that field.

stringValue string

​

numericValue number

​

UpdateDispositionRequest#

rid string (RID) required

​

disposition EventDisposition

The new disposition for the event. If empty, will remove the disposition from the event.

UpdateEventRequest#

rid string (RID) required

​

assetRids array of string (RID)

If provided, will replace the existing asset rids. If provided, must contain at least one asset rid.

timestamp Timestamp

​

duration Duration

​

name string

​

description string

​

type EventType

​

labels array of string

​

properties map of PropertyName to string deprecated

Deprecated: use typedProperties

typedProperties map of PropertyName to TypedPropertyValue

​

WorkbookDataAssociation#

Set type to the name of one of the other fields, and set only that field.

timeSeriesChannel TimeSeriesChannelAssociation

​

WorkbookEventOrigin#

rid string (RID) required

​

data array of WorkbookDataAssociation

Data visualizations to associate this event with

Page design based on Scalar, MIT License.