---
title: "Get graph stats"
method: GET
path: "/api/v1/graph/stats"
tags: ["graph"]
---

# Get graph stats

`GET /api/v1/graph/stats`

## Query parameters

- `space_uuid` string, uuid
- `space_id` string, uuid

## Response `200`

Graph stats

- GraphStatsResponse
  - `total_entities` integer, required
  - `total_edges` integer, required
  - `entity_types` object, required
  - `top_relations` object[], required
    - `relation` string, required
    - `count` integer, required

## Other responses

- `404` — Space not found

---

[API](https://skmtc.net/crosmos/apis/crosmos-api.md) · [All operations](https://skmtc.net/crosmos/apis/crosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crosmos/crosmos-api/versions/a828d1399648/schema)
