---
title: "Get Event Api"
method: GET
path: "/api/events/{event_id}"
---

# Get Event Api

`GET /api/events/{event_id}`

## Path parameters

- `event_id` string, required

## Response `200`

Successful Response

- EventDetail
  - `id` string, required
  - `timestamp` string, date-time, required
  - `event_type` 'http' | 'http_incoming' | 'log' | 'exception', required
  - `summary` string, required
  - `app` string
  - `session` string
  - `data` union, required
    - HttpEventData — HTTP capture as stored and served. Flat by convention.
      - `event_type` 'http'
      - `app` string
      - `session` string
      - `duration_ms` integer, required
      - `method` string, required
      - `url` string, required
      - `host` string, required
      - `request_headers` object, required
      - `request_body` string, nullable
      - `request_body_size` integer
      - `status_code` integer, required
      - `response_headers` object, required
      - `response_body` string, nullable
      - `response_body_size` integer
      - `library` string
      - `python_version` string
      - `smello_version` string
    - HttpIncomingEventData — Incoming HTTP request as stored and served.
      - `event_type` 'http_incoming'
      - `app` string
      - `session` string
      - `duration_ms` integer, required
      - `method` string, required
      - `path` string, required
      - `url` string, required
      - `host` string, required
      - `route` string, nullable
      - `client_ip` string, nullable
      - `request_headers` object, required
      - `request_body` string, nullable
      - `request_body_size` integer
      - `status_code` integer, required
      - `response_headers` object, required
      - `response_body` string, nullable
      - `response_body_size` integer
      - `exc_type` string, nullable
      - `exc_value` string, nullable
      - `framework` string
      - `python_version` string
      - `smello_version` string
    - LogEventData
      - `event_type` 'log'
      - `app` string
      - `session` string
      - `level` string, required
      - `logger_name` string, required
      - `message` string, required
      - `pathname` string, nullable
      - `lineno` integer, nullable
      - `func_name` string, nullable
      - `exc_text` string, nullable
      - `extra` object, nullable
    - ExceptionEventData
      - `event_type` 'exception'
      - `app` string
      - `session` string
      - `exc_type` string, required
      - `exc_value` string
      - `exc_module` string, nullable
      - `traceback_text` string
      - `frames` ExceptionFrame[]
        - `filename` string, required
        - `lineno` integer, nullable
        - `function` string, nullable
        - `context_line` string, nullable
        - `pre_context` string[]
        - `post_context` string[]

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-26** `8389ab2610fc` — 10 info
  - added the optional property `app` to the response with the `200` status
  - added the optional property `data/oneOf[subschema #1: HttpEventData]/app` to the response with the `200` status
  - added the optional property `data/oneOf[subschema #1: HttpEventData]/session` to the response with the `200` status
  - added the optional property `data/oneOf[subschema #2: HttpIncomingEventData]/app` to the response with the `200` status
  - …6 more
- **2026-05-22** `2da127b318d2` — 1 breaking, 1 warning, 1 info
  - added `#/components/schemas/HttpIncomingEventData` to the `data` response property `oneOf` list for the response status `200`
  - added the new `http_incoming` enum value to the `event_type` response property for the response status `200`
  - added `http_incoming` discriminator mapping keys to the `data` response property for the response status `200`
- **2026-05-04** `5561c57fbffd` — 8 warning, 3 info
  - removed the optional property `app` from the response with the `200` status
  - removed the optional property `data/oneOf[subschema #1: HttpEventData]/app` from the response with the `200` status
  - removed the optional property `data/oneOf[subschema #1: HttpEventData]/session` from the response with the `200` status
  - removed the optional property `data/oneOf[subschema #3: LogEventData -> subschema #2: LogEventData]/app` from the response with the `200` status
  - …7 more

[Change history](https://skmtc.dev/smelloscope/apis/smello/changes/api/events/:event_id/get.md)

---

[API](https://skmtc.dev/smelloscope/apis/smello.md) · [All operations](https://skmtc.dev/smelloscope/apis/smello/llms.txt) · [OpenAPI document](https://skmtc.dev/smelloscope/apis/smello/revisions/0fa41ea4cee2?raw)
