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

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

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.