getPendingApprovalCount
Agent Runtimes / api/tool-approvals / getPendingApprovalCount
Function: getPendingApprovalCount()
getPendingApprovalCount(
token,baseUrl?):Promise<{count:number; }>
Defined in: api/tool-approvals.ts:180
Get count of pending tool approvals.
Parameters
token
string
Authentication token
baseUrl?
string = DEFAULT_SERVICE_URLS.AI_AGENTS
Base URL
Returns
Promise<{ count: number; }>
Promise resolving to pending count