---
title: "List AI memory violation results"
method: GET
path: "/api/v2/static-analysis/ai/memory"
tags: ["Static Analysis"]
---

# List AI memory violation results

`GET /api/v2/static-analysis/ai/memory`

Get all AI memory violation results for the authenticated organization.

## Response `200`

Successful response

- AiMemoryViolationResultsResponse — Response containing a list of AI memory violation results.
  - `data` AiMemoryViolationResultResponseData[], required — The list of AI memory violation results.
    - `attributes` AiMemoryViolationResultResponseAttributes, required — Response attributes of an AI memory violation result.
      - `created_at` string, date-time, required — The creation timestamp.
      - `created_by` string, required — The identifier of the user who created the result.
      - `line` integer, required — The line number where the violation was found.
      - `message` string, required — A message explaining the violation result.
      - `name` string, required — The file path where the violation was found.
      - `repository_id` string, required — The repository identifier.
      - `rule` string, required — The rule identifier in the format ruleset/rule.
      - `sha` string, required — The git commit SHA where the violation was found.
      - `type` 'TP' | 'FP', required — The type of AI memory violation result indicating whether it is a true positive or false positive.
    - `id` string, required — The numeric identifier of the violation result.
    - `type` 'ai_memory_violation_result', required — AI memory violation result resource type.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too many requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
