Skip to main content

useAgentRuntimesQuery

Agent Runtimes


Agent Runtimes / hooks/useAgentRuntimes / useAgentRuntimesQuery

Function: useAgentRuntimesQuery()

useAgentRuntimesQuery(scope?, queryOptions?): UseQueryResult<NoInfer<AgentRuntimeData[]>, Error>

Defined in: src/hooks/useAgentRuntimes.ts:728

Hook to fetch user's agent runtimes (running agent instances).

The backend returns active runtimes from the operator plus paused runtimes synthesised from Solr checkpoint records (with status="paused").

Parameters

scope?

selectedAgentUid?

string

selectedOrganizationUid?

string

selectedTeamUid?

string

selectedUserUid?

string

queryOptions?

enabled?

boolean

refetchInterval?

number | false

Returns

UseQueryResult<NoInfer<AgentRuntimeData[]>, Error>