---
title: "Incident Memory Raw Endpoint"
method: GET
path: "/v1/incident-memory/{incident_id}/raw"
---

# Incident Memory Raw Endpoint

`GET /v1/incident-memory/{incident_id}/raw`

## Request

- Base URL: `https://api.codag.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codag.ai/v1/incident-memory/{incident_id}/raw`
- Auth: none declared
- TypeScript: <https://skmtc.dev/codag/apis/infra-logs-templater/docs/v1/incident-memory/:incident_id/raw/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `incident_id` string, required

## Response `200`

Successful Response

- IncidentRawLogsResponse: Exact original input lines for an incident (admin on-demand viewer).
  - `incident_id` string, required
  - `available` boolean
  - `lines` string[]
  - `line_count` integer
  - `truncated` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codag/apis/infra-logs-templater.md) - [All operations](https://skmtc.dev/codag/apis/infra-logs-templater/llms.txt) - [OpenAPI document](https://skmtc.dev/codag/apis/infra-logs-templater/revisions/debf0c8211bc?raw)
