---
title: "List Engagement Hook Events"
method: GET
path: "/admin/engagements/{engagement_id}/hook-events"
tags: ["admin", "hook-events"]
---

# List Engagement Hook Events

`GET /admin/engagements/{engagement_id}/hook-events`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/engagements/{engagement_id}/hook-events`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Return hook evaluation/action log lines for an engagement.

Backed by SigNoz log queries — see ``api/utils/signoz_read.py``.
Returns ``[]`` when SigNoz is not configured, the engagement doesn't
exist, or the caller isn't authorized for the engagement's org. The
handler decides authorization; the router just shapes the response.

The signoz_read parser already coerces timestamps to ``datetime``,
so unmappable rows are dropped at the source rather than silently
discarded here on integer-timestamp surprises.

## Path parameters

- `engagement_id` string, required

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Response `200`

Successful Response

- HookEventResponse[]
  - `timestamp` string, date-time, required
  - `trace_id` string, nullable
  - `body` string, nullable
  - `logger` string, nullable
  - `hook_id` string, nullable
  - `hook_name` string, nullable
  - `hook_trigger` string, nullable
  - `outcome` string, nullable
  - `matched` boolean, nullable
  - `actions_planned` string[]
  - `action_type` string, nullable
  - `tool_name` string, nullable
  - `error_type` string, nullable
  - `error_message` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/cce8b07a5787?raw)
