---
title: "Add an edge to a system analysis"
method: POST
path: "/system_analysis/{id}/edges"
tags: ["System Analysis"]
---

# Add an edge to a system analysis

`POST /system_analysis/{id}/edges`

## Path parameters

- `id` string, required

## Request body

- AddSystemAnalysisEdgeRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `attributes` AddSystemAnalysisEdgeAttributes, required
    - `description` string, required
    - `knowledgeRelationshipId` string, required
    - `referencedAt` string, date-time

## Response `200`

OK

- AddSystemAnalysisEdgeResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `data` SystemAnalysisEdge, required
    - `attributes` SystemAnalysisEdgeAttributes, required
      - `description` string, required
      - `knowledgeRelationship` KnowledgeGraphRelationship, required
        - `attributes` KnowledgeGraphRelationshipAttributes, required
          - `createdAt` string, date-time, required
          - `description` string, required
          - `displayName` string, required
          - `firstSeenAt` string, date-time, required
          - `kind` string, required
          - `lastSeenAt` string, date-time, required
          - `properties` object, required
          - `source` ExpandableKnowledgeGraphEntityAttributes, required
            - `attributes` KnowledgeGraphEntityAttributes
              - …
            - `id` string, required
          - `target` ExpandableKnowledgeGraphEntityAttributes, required
            - `attributes` KnowledgeGraphEntityAttributes
              - …
            - `id` string, required
          - `updatedAt` string, date-time, required
        - `id` string, required
      - `referencedAt` string, date-time, required
    - `id` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

- **2026-07-23** (v1) `daf788b63356` — 2 breaking, 1 warning, 3 info
  - added the new required request property `attributes/knowledgeRelationshipId`
  - removed the required property `data/attributes/snapshotRelationship` from the response with the `200` status
  - removed the request property `attributes/snapshotRelationshipId`
  - added the new optional request property `attributes/referencedAt`
  - …2 more
- **2026-07-13** (v1) `20b68d4c1a5d` — 1 warning, 1 info
  - removed the optional property `data/attributes/snapshotRelationship/attributes/knowledgeRelationshipId` from the response with the `200` status
  - added the optional property `data/attributes/snapshotRelationship/attributes/relationshipId` to the response with the `200` status
- **2026-06-24** (v1) `eb0846e58abc` — 1 warning, 1 info
  - removed the optional property `data/attributes/snapshotRelationship/attributes/relationshipId` from the response with the `200` status
  - added the optional property `data/attributes/snapshotRelationship/attributes/knowledgeRelationshipId` to the response with the `200` status

[Change history](https://skmtc.dev/rezible/apis/rezible-api/changes/system_analysis/:id/edges/post.md)

---

[API](https://skmtc.dev/rezible/apis/rezible-api.md) · [All operations](https://skmtc.dev/rezible/apis/rezible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rezible/rezible-api/revisions/fdb571c5d6ea/schema)
