Skip to main content
POST
/
threads
/
count
Count Threads
curl --request POST \
  --url https://api.b-bot.space/v2/threads/count \
  --header 'Content-Type: application/json' \
  --data '{
  "metadata": {},
  "values": {},
  "status": "idle"
}'
123

Body

application/json

Payload for counting threads.

metadata
object

Thread metadata to filter on.

values
object

State values to filter on.

status
enum<string>

Thread status to filter on.

Available options:
idle,
busy,
interrupted,
error

Response

Success

The response is of type integer.

I