cURL
curl --request POST \ --url https://api.b-bot.space/v2/threads/count \ --header 'Content-Type: application/json' \ --data '{ "metadata": {}, "values": {}, "status": "idle" }'
123
Get the count of threads matching the specified criteria.
Payload for counting threads.
Thread metadata to filter on.
State values to filter on.
Thread status to filter on.
idle
busy
interrupted
error
Success
The response is of type integer.
integer