v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Static Analysis

Create an AI memory violation result

Add a new AI memory violation result for the authenticated organization.

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

Request body

Example request

{
  "data": {
    "attributes": {
      "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": "violation-abc",
    "type": "ai_memory_violation_result"
  }
}

Response

Successfully created