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

Authorizations

bbot-api-key
string
header
required

API key for authentication

Body

application/json

Payload for counting threads.

metadata
Metadata · object

Thread metadata to filter on.

values
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.