Documentation Index

Fetch the complete documentation index at: https://docs.plainid.io/llms.txt

Use this file to discover all available pages before exploring further.

List Observability Events

Prev Next
Get
/orchestrator/1.0/observability-events/env/{envId}/pop/{popId}

This API call provides detailed information about events in each POP, including the operation type and summary, status, start and end time, duration, and request ID. All Observability events are returned sorted by time.

Note: Observability data is retained for a limited period and is not stored indefinitely. Ensure that any data required for long-term analysis or auditing is exported or archived externally within your retention window.

Security
HTTP
Type bearer

For more details about Administration API Authentication, check out the Authentication APIs documentation
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123

Path parameters
envId
stringRequired

The Environment ID can be found under the Details Tab in the Environment Settings.

Exampleec3ff4ee-81f9-4e7f-9037-6fa9fde62cc8
popId
stringRequired

POP ID. You can find the POP ID using the GET List of POPs API or through the UI under your POP settings in the Integration Workspace.

ExamplePOPS269J5C16H8N4
Query parameters
filter[flowType]
array of string

Input one or more flow types to filter by. To filter by multiple flow types, separate them with commas (e.g. discovery,accept-all-platform-changes).

Examplediscovery
Valid Item values[ "discovery", "accept-vendor-changes", "accept-platform-changes", "accept-all-platform-changes" ]
filter[flowType][in]
array of string

Input multiple flow types to filter by. You can choose multiple and separate them using a comma.

Examplediscovery,accept-all-platform-changes
Valid Item values[ "discovery", "accept-vendor-changes", "accept-platform-changes", "accept-all-platform-changes" ]
filter[status]
array of string

Input one or more statuses to filter by. To filter by multiple statuses, separate them with commas (e.g. Completed,Failed).

ExampleCompleted
Valid Item values[ "Completed", "Failed", "Running", "Partial" ]
filter[status][in]
array of string

Input multiple types of statuses to filter by. Refer to the filter[status] parameter to filter by a single status.

ExampleCompleted,Failed
Valid Item values[ "Completed", "Failed", "Running", "Partial" ]
filter[fromTime]
string

The start of the time range to filter workflows by (must be in UTC). If omitted, the API defaults to the last 30 days from the time of the request.

When provided, the value must be formatted as RFC3339 or RFC3339Nano (e.g. 2024-06-01T12:00:00Z). Malformed values return a 400 error. If filter[toTime] is also set, fromTime must not be later than filter[toTime].

Example2024-06-01T00:00:00Z
filter[toTime]
string

The end of the time range to filter workflows by (must be in UTC). If omitted, the API defaults to the current time of the request.

When provided, the value must be formatted as RFC3339 or RFC3339Nano (e.g. 2024-06-01T12:00:00Z). Malformed values return a 400 error. If filter[fromTime] is also set, toTime must not be earlier than filter[fromTime].

Example2024-06-15T23:59:59Z
limit
integer

Maximum number of events to return (default 20, maximum 100).

Minimum1
Maximum100
Default20
Example20
offset
integer

Number of matching events to skip before returning results.

Minimum0
Default0
Example0
Responses
200

Success

discovery_completed

Completed discovery event

{
  "data": [
    {
      "flowType": "discovery",
      "popId": "POPS269J5C16H8N4",
      "status": "Completed",
      "startTime": "2024-06-14T08:15:00Z",
      "endTime": "2024-06-14T08:18:42Z",
      "summary": "Discovery summary from Snowflake: 12 policies were discovered from Credit Risk Control Center",
      "executionId": "0192a1b2-c3d4-7890-abcd-ef1234567890",
      "requestId": "req-7f3a9c2e-4b1d-4e8a-9f0c-1a2b3c4d5e6f",
      "durationMs": 222000,
      "discoveryResult": {
        "isDiscoveryChanged": true,
        "vendorObjectsDiscovered": 45,
        "vendorObjectAttributesDiscovered": 128,
        "vendorIdpsDiscovered": 3,
        "policiesDiscovered": 12
      }
    }
  ],
  "meta": {
    "total": 1,
    "limit": 20,
    "offset": 0
  }
}
deployment_running

Running accept-all-platform-changes event

{
  "data": [
    {
      "flowType": "accept-all-platform-changes",
      "popId": "POPS269J5C16H8N4",
      "status": "Running",
      "startTime": "2024-06-15T09:00:00Z",
      "summary": "Accept All Platform Changes Running",
      "executionId": "0192b2c3-d4e5-8901-bcde-f12345678901",
      "requestId": "req-8a4b0d3f-5c2e-4f9b-a0d1-2b3c4d5e6f70",
      "policiesDeployedCount": 8
    }
  ],
  "meta": {
    "total": 1,
    "limit": 20,
    "offset": 0
  }
}
Expand All
object
data
Array of object (ObservabilityFlowEvent)
object

A single orchestration flow execution for observability listings.

flowType
string

Type of Operation selected

Valid values[ "discovery", "single-policy-discovery", "accept-all-vendor-changes", "accept-vendor-changes", "accept-platform-changes", "accept-all-platform-changes", "other" ]
popId
string

POP ID

status
string

Workflow status

startTime
string

Start time range for the workflow

endTime
string | null

End time range for the workflow

scheduledTime
string | null

Scheduled time for workflow

summary
string

Summary in case there is a workflow failure

executionId
string

Execution ID for Workflow. You can use this for the Get Observability Detailed Events API call.

requestId
string

Flow Execution Request ID

durationMs
integer (int64) | null

Operation start time to end in milliseconds. This is omitted if the operation is still running.

discoveryResult
object (ObservabilityDiscoveryEventResult)

Discovery outcome summary from workflow memo (when available).

isDiscoveryChanged
boolean
vendorObjectsDiscovered
integer
vendorObjectAttributesDiscovered
integer
vendorIdpsDiscovered
integer
policiesDiscovered
integer
policiesDeployedCount
integer | null
meta
object (ObservabilityEventsMeta)
total
integer
limit
integer

Page size requested (maximum 100).

Maximum100
offset
integer
400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

© 2024 PlainID LTD. All rights reserved.