Static Analysis

List AI memory violation results

Get all AI memory violation results for the authenticated organization.

get/api/v2/static-analysis/ai/memory

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/static-analysis/ai/memory
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Response

Successful response

Example response

{
  "data": [
    {
      "attributes": {
        "created_at": "2024-01-01T00:00:00+00:00",
        "created_by": "example-handle",
        "line": 10,
        "message": "This is a false positive because the input is sanitized.",
        "name": "src/main.py",
        "repository_id": "my-repo",
        "rule": "my-ai-ruleset/my-ai-rule",
        "sha": "abc123def456789012345678901234567890abcd",
        "type": "FP"
      },
      "id": "42",
      "type": "ai_memory_violation_result"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.