Skip to main content
GET
/
threads
/
count
Inbox attention count
curl --request GET \
  --url https://api.smith.langchain.com/v1/deepagents/threads/count \
  --header 'X-Api-Key: <api-key>'
{ "attention_count": 123 }

Authorizations

X-Api-Key
string
header
default:LANGSMITH_API_KEY
required

Query Parameters

agent_id
string<uuid>

Optional Managed Deep Agent ID to scope the count.

Response

Thread count returned.

attention_count
integer

Number of threads needing user action.