curl --request POST \
--url http://localhost:8080/api/agents \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--data '
{
"page": 0,
"limit": 20,
"sort_by": "updated_at",
"sort_order": "descending",
"filter_criteria": {
"agent_name": [
"search_term"
]
}
}
'{
"message": "Agents retrieved successfully",
"status": "success",
"error": null,
"data": {
"organization_id": "org_123",
"agents": [],
"pagination": {},
"returned_count": 20,
"sort_order": "descending",
"sort_by": "updated_at"
}
}Lists agents (current behavior).
curl --request POST \
--url http://localhost:8080/api/agents \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--data '
{
"page": 0,
"limit": 20,
"sort_by": "updated_at",
"sort_order": "descending",
"filter_criteria": {
"agent_name": [
"search_term"
]
}
}
'{
"message": "Agents retrieved successfully",
"status": "success",
"error": null,
"data": {
"organization_id": "org_123",
"agents": [],
"pagination": {},
"returned_count": 20,
"sort_order": "descending",
"sort_by": "updated_at"
}
}API Key for MCP server and external service authentication
API Secret for MCP server and external service authentication