Skip to main content
GET
/
api
/
v1
/
search
/
graphrag
/
stores
/
{store_name}
/
graph
Python (SDK)
from mka1 import SDK


with SDK(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.search.graphrag.inspect_graph_rag_store(store_name="<value>", limit=25)

    # Handle response
    print(res)
{
  "counts": {
    "entity_count": 123,
    "edge_count": 123,
    "chunk_count": 123
  },
  "entities": [
    {
      "entity_id": "<string>",
      "name": "<string>",
      "entity_type": "<string>",
      "aliases": [
        "<string>"
      ]
    }
  ],
  "edges": [
    {
      "edge_id": "<string>",
      "subject": "<string>",
      "predicate": "<string>",
      "object": "<string>",
      "evidence_chunk_ids": [
        "<string>"
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mka1.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

store_name
string
required

Query Parameters

entity
string | null
limit
integer
default:25
Required range: 1 <= x <= 100

Response

Successful Response

counts
GraphCountsView · object
required
entities
GraphEntityView · object[]
edges
GraphEdgeView · object[]