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 '
{
  "name": "<string>",
  "description": "<string>",
  "graph_id": "<string>",
  "limit": 20,
  "offset": 0,
  "metadata": {}
}
'
123

Documentation Index

Fetch the complete documentation index at: https://docs.aegra.dev/llms.txt

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

Body

application/json

Request model for assistant search

name
string | null

Filter by assistant name

description
string | null

Filter by assistant description

graph_id
string | null

Filter by graph ID

limit
integer | null
default:20

Maximum results

Required range: 1 <= x <= 100
offset
integer | null
default:0

Results offset

Required range: x >= 0
metadata
Metadata · object

Metadata to use for searching and filtering assistants.

sort_by
enum<string> | null

Field to sort by (SDK-compatible).

Available options:
assistant_id,
name,
graph_id,
created_at,
updated_at
sort_order
enum<string> | null

Sort direction (SDK-compatible). Defaults to 'desc' when sort_by is set.

Available options:
asc,
desc

Response

Successful Response

The response is of type integer.