---
title: "Incident Memory Search Endpoint"
method: POST
path: "/v1/incident-memory/search"
---

# Incident Memory Search Endpoint

`POST /v1/incident-memory/search`

## Request body

- IncidentMemorySearchRequest
  - `q` string, nullable
  - `incident_id` string, nullable
  - `fingerprint` string, nullable
  - `family_id` string, nullable
  - `service` string, nullable
  - `source` string, nullable
  - `incident_type` string, nullable
  - `severity` string, nullable
  - `template_id` string, nullable
  - `role` string, nullable
  - `detected` boolean, nullable
  - `limit` integer

## Response `200`

Successful Response

- IncidentMemorySearchResponse
  - `incidents` IncidentMemorySummary[], required
    - `incident_id` string, required
    - `request_id` string, nullable
    - `endpoint` string, nullable
    - `family_id` string, nullable
    - `fingerprint` string, required
    - `detected` boolean, required
    - `type` string, nullable
    - `severity` string, nullable
    - `service` string, nullable
    - `source` string, nullable
    - `start_ts` string, nullable
    - `end_ts` string, nullable
    - `line_count_in` integer
    - `token_count_in` integer
    - `token_count_out` integer
    - `compression_ratio` number, nullable
    - `created_at` unknown
    - `affected_services` string[]
    - `root_cause_hypotheses` object[]
    - `evidence_preview` object[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/codag/apis/infra-logs-templater.md) · [All operations](https://skmtc.net/codag/apis/infra-logs-templater/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codag/infra-logs-templater/revisions/64da737bcc9e/schema)
