Skip to main content
POST
/
distribution-channels
/
search
Search Distribution Channels
curl --request POST \
  --url https://api.b-bot.space/api/v2/distribution-channels/search \
  --header 'Content-Type: application/json' \
  --header 'bbot-api-key: <api-key>' \
  --data '
{
  "metadata": {},
  "graph_id": "<string>",
  "limit": 10,
  "offset": 0,
  "sort_by": "channel_id",
  "sort_order": "asc",
  "select": [
    "channel_id"
  ]
}
'
[
  {
    "channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "graph_id": "<string>",
    "config": {
      "tags": [
        "<string>"
      ],
      "recursion_limit": 123,
      "configurable": {}
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "metadata": {},
    "context": {},
    "version": 123,
    "name": "<string>",
    "description": "<string>"
  }
]

Authorizations

bbot-api-key
string
header
required

API key for authentication

Body

application/json

Payload for listing assistants.

metadata
Metadata · object

Metadata to filter by. Exact match filter for each KV pair.

graph_id
string

The ID of the graph to filter by. The graph ID is normally set in your langgraph.json configuration.

limit
integer
default:10

The maximum number of results to return.

Required range: 1 <= x <= 1000
offset
integer
default:0

The number of results to skip.

Required range: x >= 0
sort_by
enum<string>

The field to sort by.

Available options:
channel_id,
created_at,
updated_at,
name,
graph_id
sort_order
enum<string>

The order to sort by.

Available options:
asc,
desc
select
enum<string>[]

Specify which fields to return. If not provided, all fields are returned.

Available options:
channel_id,
graph_id,
name,
description,
config,
context,
created_at,
updated_at,
metadata,
version

Response

Success

channel_id
string<uuid>
required

The ID of the distribution channel.

graph_id
string
required

The ID of the graph.

config
Config · object
required

The assistant config.

created_at
string<date-time>
required

The time the assistant was created.

updated_at
string<date-time>
required

The last time the assistant was updated.

metadata
Metadata · object
required

The assistant metadata.

context
Context · object

Static context added to the assistant.

version
integer

The version of the assistant

name
string

The name of the assistant

description
string | null

The description of the assistant