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

    Class OrchestrationNamespace

    Index
    • POST /api/orchestration/runs/:runId/cancel — Cancel an in-progress run.

      Parameters

      • runId: string

      Returns Promise<{ run_id: string; status: string }>

    • DELETE /api/orchestration/:id — Delete a workflow.

      Parameters

      • workflowId: string

      Returns Promise<{ deleted: string; ok: boolean }>

    • GET /api/orchestration/:id — Get a single workflow by ID.

      Parameters

      • workflowId: string

      Returns Promise<WorkflowDetail>

    • POST /a2a — Issue a scoped delegation grant (A2A action delegation.grant).

      The grant is subject to the server-side chain-narrowing invariant: when parent_delegation_id is set, granted_scope must be a subset of the parent's and expires_at must not exceed the parent's TTL. Grants cascade on revoke.

      Parameters

      Returns Promise<DelegationGrantResult>

    • GET /api/orchestration/delegate?workflow_id= — List delegations for a workflow.

      Parameters

      • workflowId: string

      Returns Promise<{ delegations: DelegationResult[] }>

    • GET /api/orchestration/:id/runs — List runs for a workflow.

      Parameters

      • workflowId: string
      • limit: number = 20

      Returns Promise<{ runs: WorkflowRun[] }>

    • GET /api/orchestration?owner_id=&status= — List workflows.

      Parameters

      • params: { ownerId?: string; status?: string } = {}

      Returns Promise<{ workflows: WorkflowRecord[] }>

    • POST /api/orchestration/:id/runs — Start a new workflow run.

      Parameters

      • workflowId: string
      • Optionalinput: Record<string, unknown>

      Returns Promise<WorkflowRunResult>

    • SSE stream for real-time workflow execution events.

      Parameters

      • runId: string

      Returns AsyncGenerator<Record<string, unknown>, void, unknown>

    • Poll-based index change subscription. Returns an abort function.

      Parameters

      Returns () => void