Skip to main content
GET
/
distribution-channels
/
{channel_id}
/
schemas
Get Distribution Channel Schemas
curl --request GET \
  --url https://api.b-bot.space/api/v2/distribution-channels/{channel_id}/schemas \
  --header 'bbot-api-key: <api-key>'
{
  "graph_id": "<string>",
  "state_schema": {},
  "input_schema": {},
  "output_schema": {},
  "config_schema": {},
  "context_schema": {}
}

Authorizations

bbot-api-key
string
header
required

API key for authentication

Path Parameters

channel_id
string<uuid>
required

The ID of the distribution channel.

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.