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

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.