v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Events

Get Event

Lookup an event by its event ID

get/events/{eventId}

Path parameters

eventIdstring required

Event ID of the event for lookup

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

Single event record

generated_uuidstring
created_atstring date-time

Example response

{
  "generated_uuid": "generated_uuid",
  "created_at": "2000-01-23T04:56:07.000+00:00",
  "event": {
    "resource": {
      "user_id": "user_id",
      "id": "id",
      "type": "type"
    },
    "level": "level",
    "details": "{}",
    "source": {
      "base_url": "base_url",
      "hostid": "hostid",
      "servicename": "servicename",
      "request_id": "request_id"
    },
    "type": "type",
    "category": "category",
    "message": "message",
    "timestamp": "2000-01-23T04:56:07.000+00:00"
  }
}