---
title: "Extract Graph"
method: POST
path: "/v1/nodes/{node_id}/extract"
tags: ["nodes"]
---

# Extract Graph

`POST /v1/nodes/{node_id}/extract`

## Request

- Base URL: `https://api.june.januraine.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.june.januraine.ai/v1/nodes/{node_id}/extract`
- Auth: none declared

## Path parameters

- `node_id` string, uuid, required

## Query parameters

- `node_type` string, nullable

## Headers

- `X-Canvas` string, nullable
- `X-API-Key` string, nullable
- `Authorization` string, nullable

## Response `200`

Successful Response

- ExtractGraphOut
  - `ok` boolean, required
  - `detail` string, nullable
  - `created` integer
  - `reused` integer
  - `relations` integer
  - `entities` ExtractedEntity[]
    - `node_id` string, required
    - `label` string, required
    - `node_type` string, required
    - `reused` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/januraine/apis/june-ai.md) · [All operations](https://skmtc.dev/januraine/apis/june-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/januraine/apis/june-ai/revisions/097b95b163c7?raw)
