Skip to main content
POST
/
assistants
/
count
Count Assistants
curl --request POST \
  --url https://api.example.com/assistants/count \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {},
  "graph_id": "<string>",
  "name": "<string>"
}
'
123

Body

application/json

Payload for counting assistants.

metadata
Metadata ยท object

Metadata to filter by. Exact match filter for each KV pair.

graph_id
string

The ID of the graph to filter by. The graph ID is normally set in your langgraph.json configuration.

name
string

Name of the assistant to filter by. The filtering logic will match (case insensitive) assistants where 'name' is a substring of the assistant name.

Response

Success

The response is of type integer.