---
title: "Query Graph"
method: POST
path: "/api/agent-credit/knowledge/graph/query"
tags: ["Knowledge Graph"]
---

# Query Graph

`POST /api/agent-credit/knowledge/graph/query`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/agent-credit/knowledge/graph/query`
- Auth: none declared

Query the knowledge graph for connected nodes and relationships.

## Request body

- QueryGraph
  - `node_type` string, nullable
  - `node_id` string, nullable
  - `relation` string, nullable
  - `min_weight` number
  - `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kojiru/apis/kojiru-api.md) · [All operations](https://skmtc.dev/kojiru/apis/kojiru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kojiru/apis/kojiru-api/revisions/7974409f57cd?raw)
