Skip to main content
GET
/
assistants
/
{assistant_id}
/
schemas
{
  "graph_id": "<string>",
  "state_schema": {},
  "input_schema": {},
  "output_schema": {},
  "config_schema": {},
  "context_schema": {}
}

Path Parameters

assistant_id
string<uuid>
required

The ID of the assistant.

Response

Success

Defines the structure and properties of a graph.

graph_id
string
required

The ID of the graph.

state_schema
State Schema · object
required

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

input_schema
Input Schema · object

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

output_schema
Output Schema · object

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

config_schema
Config Schema · object

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

context_schema
Context Schema · object

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