> ## Documentation Index
> Fetch the complete documentation index at: https://evalgate.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create repository intelligence impact

> Requires scopes: eval:read



## OpenAPI

````yaml /api-reference/openapi.json post /api/repository-intelligence/repositories/{repositoryId}/graph/impact
openapi: 3.1.0
info:
  title: EvalGate API
  version: 3.7.6
  description: EvalGate API. See docs/api-contract.md for stability commitments.
servers:
  - url: https://evalgate.com
    description: Production
  - url: http://localhost:3000
    description: Local
security: []
paths:
  /api/repository-intelligence/repositories/{repositoryId}/graph/impact:
    post:
      tags:
        - repository intelligence
      summary: Create repository intelligence impact
      description: 'Requires scopes: eval:read'
      operationId: post_repository_intelligence_repositories_repositoryId_graph_impact
      parameters:
        - name: repositoryId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/PostApiRepositoryIntelligenceRepositoriesRepositoryIdGraphImpactRequest
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PostApiRepositoryIntelligenceRepositoriesRepositoryIdGraphImpactResponse200ApplicationJson
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - bearerAuth:
            - eval:read
components:
  schemas:
    PostApiRepositoryIntelligenceRepositoriesRepositoryIdGraphImpactRequest:
      type: object
      properties:
        baseGraphVersionId:
          type: string
        headGraphVersionId:
          type: string
      additionalProperties: false
      required:
        - baseGraphVersionId
        - headGraphVersionId
    PostApiRepositoryIntelligenceRepositoriesRepositoryIdGraphImpactResponse200ApplicationJson:
      type: object
      properties:
        diff:
          type: object
          properties:
            id:
              type: string
            createdAt:
              type: string
              format: date-time
            organizationId:
              $ref: '#/components/schemas/OrganizationId'
            repositoryId:
              type: number
            recommendedEvaluationIds:
              type: array
              items:
                type: number
            baseGraphVersionId:
              type: string
            headGraphVersionId:
              type: string
            addedNodeIds:
              type: array
              items:
                type: string
            removedNodeIds:
              type: array
              items:
                type: string
            changedNodeIds:
              type: array
              items:
                type: string
            addedEdgeIds:
              type: array
              items:
                type: string
            removedEdgeIds:
              type: array
              items:
                type: string
            changedEdgeIds:
              type: array
              items:
                type: string
            impactedNodeIds:
              type: array
              items:
                type: string
            impactedObjectiveIds:
              type: array
              items:
                type: string
            impactedRequirementIds:
              type: array
              items:
                type: string
            diffHash:
              type: string
          additionalProperties: false
          required:
            - id
            - createdAt
            - organizationId
            - repositoryId
            - recommendedEvaluationIds
            - baseGraphVersionId
            - headGraphVersionId
            - addedNodeIds
            - removedNodeIds
            - changedNodeIds
            - addedEdgeIds
            - removedEdgeIds
            - changedEdgeIds
            - impactedNodeIds
            - impactedObjectiveIds
            - impactedRequirementIds
            - diffHash
        plan:
          type: object
          properties:
            id:
              type: string
            createdAt:
              type: string
              format: date-time
            organizationId:
              $ref: '#/components/schemas/OrganizationId'
            repositoryId:
              type: number
            planHash:
              type: string
            policyVersionId:
              type: string
            estimatedCostUsd:
              oneOf:
                - type: 'null'
                - type: number
            graphDiffId:
              type: string
            estimatedRuntimeMs:
              oneOf:
                - type: 'null'
                - type: number
            affectedObjectives:
              type: array
              items:
                type: string
            requiredEvaluations:
              type: array
              items:
                type: object
                properties:
                  evaluationId:
                    type: number
                  reasonCodes:
                    type: array
                    items:
                      type: string
                  hardRequired:
                    type: boolean
                additionalProperties: false
                required:
                  - evaluationId
                  - reasonCodes
                  - hardRequired
            changedComponents:
              type: array
              items:
                type: object
                properties:
                  nodeId:
                    type: string
                  changeKind:
                    oneOf:
                      - type: string
                        enum:
                          - modified
                      - type: string
                        enum:
                          - added
                      - type: string
                        enum:
                          - removed
                  sourceLocators:
                    type: array
                    items:
                      type: object
                      properties:
                        repositoryId:
                          type: number
                        commitSha:
                          type: string
                        blobSha:
                          type: string
                        path:
                          type: string
                        startLine:
                          type: number
                        endLine:
                          type: number
                        startColumn:
                          type: number
                        endColumn:
                          type: number
                        symbolKey:
                          type: string
                        language:
                          type: string
                        contentHash:
                          type: string
                        protectedExcerptHash:
                          type: string
                      additionalProperties: false
                      required:
                        - repositoryId
                        - commitSha
                        - blobSha
                        - path
                additionalProperties: false
                required:
                  - nodeId
                  - changeKind
                  - sourceLocators
            affectedSystems:
              type: array
              items:
                type: string
            affectedRequirements:
              type: array
              items:
                type: string
            affectedReleaseArtifacts:
              type: array
              items:
                type: string
            uncoveredRisks:
              type: array
              items:
                type: string
          additionalProperties: false
          required:
            - id
            - createdAt
            - organizationId
            - repositoryId
            - planHash
            - policyVersionId
            - estimatedCostUsd
            - graphDiffId
            - estimatedRuntimeMs
            - affectedObjectives
            - requiredEvaluations
            - changedComponents
            - affectedSystems
            - affectedRequirements
            - affectedReleaseArtifacts
            - uncoveredRisks
        analysisCompleted:
          type: boolean
        unmappedRisks:
          type: array
          items:
            type: string
      additionalProperties: false
      required:
        - diff
        - plan
        - analysisCompleted
        - unmappedRisks
    OrganizationId:
      type: string
      format: uuid
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - VALIDATION_ERROR
                - RATE_LIMITED
                - CONFLICT
                - INTERNAL_ERROR
                - SERVICE_UNAVAILABLE
                - QUOTA_EXCEEDED
                - NO_ORG_MEMBERSHIP
                - CROSS_ORG_REFERENCE
                - INCOMPLETE
                - MALFORMED
            message:
              type: string
            details: {}
            requestId:
              type: string
              format: uuid
          required:
            - code
            - message
      required:
        - error
  responses:
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or Session Token

````