Endpoint Service

List endpoint events

GET
/projects/{projectId}/endpoints/{id}/events

Lists an endpoint's audit and lifecycle events newest first. The feed combines endpoint changes with provisioning, scaling, readiness, rollout, and other events from deployments under the endpoint.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Project identifier.

id*string

Endpoint identifier.

Query Parameters

limit?integer

Maximum number of events to return. Max 10000, defaults to 50.

after?string

Cursor from a previous endpoint event list response.

types?array<string>

Event types to include, such as deployment.scaled or condition.set. Combined with other filters using AND.

minLevel?string

Minimum severity. Omit to disable severity filtering.

Value in

  • "LEVEL_DEBUG"
  • "LEVEL_INFO"
  • "LEVEL_WARN"
  • "LEVEL_ERROR"
since?string

Return only events at or after this time.

Formatdate-time
until?string

Return only events strictly before this time.

Formatdate-time
deploymentIds?array<string>

Deployment IDs whose events should be included. Every ID must belong to the endpoint. Supplying this filter excludes endpoint-scoped events unless SOURCE_KIND_ENDPOINT is also included in sourceKinds.

sourceKinds?array<>

Resource kinds whose events should be included. Omit to include both endpoint- and deployment-scoped events.

subjectId?string

ID of a subject associated with the event, such as a rollout. Combined with other filters using AND.

Response Body

application/json

application/json

curl -X GET "https://example.com/projects/string/endpoints/string/events"
{  "data": [    {      "id": "string",      "createdAt": "2019-08-24T14:15:22Z",      "level": "LEVEL_DEBUG",      "type": "string",      "message": "string",      "source": "string",      "sourceKind": "SOURCE_KIND_ENDPOINT",      "endpointId": "string",      "deploymentId": "string",      "subjectId": "string",      "name": "string",      "paths": [        "string"      ],      "oldReplicas": 0,      "newReplicas": 0,      "version": 0,      "status": "string",      "reason": "string",      "clusterId": "string",      "serviceType": "string",      "replicaId": "string",      "containerName": "string",      "logExcerpt": "string",      "nodeId": "string"    }  ],  "next_cursor": "string",  "object": "list"}