Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function redeemBridgePairingCode

    • Parameters

      • params: { code: string; leaseTtlMinutes?: number; workspace: string }

      Returns {
          error?: string;
          lease?: string;
          ok: boolean;
          pairingId?: string;
          payload?: {
              agentId: string;
              expiresTs: number;
              issuedTs: number;
              leaseId: string;
              maxCostUsdPerDay: number | null;
              maxRequestsPerMinute: number;
              maxTokensPerMinute: number;
              modelAllowlist: string[];
              nonce: string;
              routeAllowlist: string[];
              scopes: (
                  | "gateway:llm"
                  | "proxy:connect"
                  | "toolhub:intent"
                  | "toolhub:execute"
                  | "hook:observe"
                  | "hook:control"
                  | "governor:check"
                  | "receipt:verify"
                  | "diagnostic:self-run"
                  | "wire:submit"
              )[];
              v: 1;
              workOrderId?: string
              | null;
              workspaceId: string;
          };
      }