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.