---
title: "Get Runtime Graph Schema"
method: GET
path: "/v1/graphs/{graph_id}/schema"
tags: ["Schema"]
---

# Get Runtime Graph Schema

`GET /v1/graphs/{graph_id}/schema`

## Request

- Base URL: `https://api.robosystems.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robosystems.ai/v1/graphs/{graph_id}/schema`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Runtime schema from actual graph data — node labels, relationship types, and up to 10 sample properties per node type. For the original schema definition or structured export formats, use `/schema/export`.

## Path parameters

- `graph_id` string, required

## Response `200`

Successful Response

- SchemaInfoResponse: Response model for runtime schema introspection. This model represents the actual current state of the graph database, showing what node labels, relationship types, and properties exist right now.
  - `graph_id` string, required: Graph database identifier
  - `schema` object, required: Runtime schema information showing actual database structure

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: Internal server error
- `504`: Schema operation timed out

---

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