---
title: "Get graph build status for a collection."
method: GET
path: "/graph/{collection_id}/status"
tags: ["GraphRAG"]
---

# Get graph build status for a collection.

`GET /graph/{collection_id}/status`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/graph/{collection_id}/status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/graph/:collection_id/status/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the current knowledge graph build status and metadata.

## Path parameters

- `collection_id` string, uuid, required

## Response `200`

Successful operation

- object
  - `status` 'none' | 'building' | 'ready' | 'failed': Current graph build status.
  - `built_at` string, date-time, nullable: When the graph was last successfully built.
  - `outdated` boolean: Whether new documents have been added since the last build.

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
