@nexartis/homeport-sdk - v1.2.16
    Preparing search index...

    Class AgentsNamespace

    Index
    • DELETE /agents/:id — Delete an agent from the registry.

      Parameters

      • agentId: string

      Returns Promise<{ status: string }>

    • GET /.well-known/agent-card.json — Get the node's own A2A agent card.

      Returns Promise<AgentCard>

    • GET /agentfacts/:id — Get agent facts.

      Parameters

      • agentId: string

      Returns Promise<AgentFacts>

    • GET /.well-known/nanda-index — Get the NANDA index descriptor.

      Returns Promise<NandaIndex>

    • Auto-paginating list — yields all registered agents across pages.

      Parameters

      • params: { cursor?: string; limit?: number } = {}

      Returns AsyncGenerator<HomeportAgent>

    • GET /api/agents/:agentId/versions — List all versions for an agent.

      Parameters

      • agentId: string

      Returns Promise<{ agent_id: string; count: number; versions: AgentVersion[] }>

    • PUT /agents/:id/status — Update an agent's status and capabilities.

      Parameters

      • agentId: string
      • status: string
      • Optionalcapabilities: string[]

      Returns Promise<{ status: string }>