---
title: "Causality Graph (URL)"
method: POST
path: "/causality-graph"
tags: ["Intelligence"]
---

# Causality Graph (URL)

`POST /causality-graph`

Analyze cause-and-effect relationships from a URL. Returns nodes (concepts/events) and directed edges (causal relationships).

## Request body

- object
  - `url` string, uri, required — URL of the page or document to extract causal relationships from.

## Response `200`

OK

- object
  - `nodes` object[]
    - `id` string
    - `label` string
  - `edges` object[]
    - `from` string
    - `to` string
    - `label` string
  - `meta` object
    - `total_nodes` integer
    - `total_edges` integer
    - `executionTimeMs` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

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