From 2f76f2c629edeb54282a612d1db78f35c7d0624b Mon Sep 17 00:00:00 2001 From: Shubham Naik Date: Fri, 13 Feb 2026 14:54:47 -0800 Subject: [PATCH] Agent page update (#9475) * feat: agent page updates * feat: agent page updates * feat: agent page updates * feat: agent page updates * feat: agent page updates * feat: agent page updates * chore: fix code * chore: fix code --- fern/openapi.json | 155 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) diff --git a/fern/openapi.json b/fern/openapi.json index 2d3d3831..d3f76e76 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -17869,6 +17869,161 @@ } } }, + "/v1/agents/search/count": { + "get": { + "description": "Count deployed agents matching search criteria", + "summary": "Count Deployed Agents", + "tags": ["agents"], + "parameters": [ + { + "name": "search", + "in": "query", + "schema": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "field": { + "type": "string", + "enum": ["version"] + }, + "value": { + "type": "string" + } + }, + "required": ["field", "value"] + }, + { + "type": "object", + "properties": { + "field": { + "type": "string", + "enum": ["name"] + }, + "operator": { + "type": "string", + "enum": ["eq", "contains"] + }, + "value": { + "type": "string" + } + }, + "required": ["field", "operator", "value"] + }, + { + "type": "object", + "properties": { + "field": { + "type": "string", + "enum": ["tags"] + }, + "operator": { + "type": "string", + "enum": ["contains"] + }, + "value": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["field", "operator", "value"] + }, + { + "type": "object", + "properties": { + "field": { + "type": "string", + "enum": ["identity"] + }, + "operator": { + "type": "string", + "enum": ["eq"] + }, + "value": { + "type": "string" + } + }, + "required": ["field", "operator", "value"] + }, + { + "type": "object", + "properties": { + "field": { + "type": "string", + "enum": ["templateName"] + }, + "operator": { + "type": "string", + "enum": ["eq"] + }, + "value": { + "type": "string" + } + }, + "required": ["field", "operator", "value"] + }, + { + "type": "object", + "properties": { + "field": { + "type": "string", + "enum": ["agentId"] + }, + "operator": { + "type": "string", + "enum": ["eq"] + }, + "value": { + "type": "string" + } + }, + "required": ["field", "operator", "value"] + } + ] + } + } + }, + { + "name": "project_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "combinator", + "in": "query", + "schema": { + "type": "string", + "enum": ["AND"] + } + } + ], + "operationId": "agents.countDeployedAgents", + "responses": { + "200": { + "description": "200", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + }, + "required": ["count"] + } + } + } + } + } + } + }, "/v1/agents/{agent_id}/core-memory/variables": { "get": { "description": "Get the variables associated with an agent",