LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
  • Ui
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Utils
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-sdkindexGraphSchema
Interface●Since v0.0

GraphSchema

Copy
interface GraphSchema

Properties

property
config_schema: JSONSchema7 | null

The schema for the graph config. Missing if unable to generate JSON schema from graph.

property
context_schema: JSONSchema7 | null

The schema for the graph context. Missing if unable to generate JSON schema from graph.

property
graph_id: string

The ID of the graph.

property
input_schema: JSONSchema7 | null

The schema for the input state. Missing if unable to generate JSON schema from graph.

property
output_schema: JSONSchema7 | null

The schema for the output state. Missing if unable to generate JSON schema from graph.

property
state_schema: JSONSchema7 | null

The schema for the graph state. Missing if unable to generate JSON schema from graph.

View source on GitHub