---
title: "Query Graph"
method: POST
path: "/memory/graph"
---

# Query Graph

`POST /memory/graph`

## Request

- Base URL: `https://api.humaux.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.humaux.com/memory/graph`
- Auth: HTTP bearer

## Request body

- GraphQueryRequest: Payload for POST /memory/graph
  - `memory_id` string, nullable
  - `team_id` string
  - `relation_types` string[]
  - `max_depth` integer
  - `top_k` integer

## Response `200`

Successful Response

- GraphResponse
  - `nodes` GraphNode[]
    - `id` string, required
    - `title` string, required
    - `category` string, required
    - `memory_type` string, required
  - `edges` GraphEdge[]
    - `source` string, required
    - `target` string, required
    - `relation_type` string, required
    - `weight` number, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/humaux/apis/humaux-memory.md) · [All operations](https://skmtc.dev/humaux/apis/humaux-memory/llms.txt) · [OpenAPI document](https://skmtc.dev/humaux/apis/humaux-memory/revisions/30baeb9d49d8?raw)
