Anchorage API reference
    Preparing search index...

    What the host is asked to authorize. Never a human — those go by role.

    interface AutomatedEntryRequest {
        agentId: string;
        entryPath:
            | "approval.resume"
            | "http.start"
            | "signal.message"
            | "signal.queue"
            | "signal.reactive"
            | "signal.state"
            | "signal.notification"
            | "signal.wake"
            | "notification.dispatch"
            | "schedule.fire";
        principal: | {
            delegatedBy?: undefined;
            id: string;
            kind: "service";
            purpose: string;
            tenantId: string;
        }
        | {
            delegatedBy?: string;
            id: string;
            kind: "agent";
            purpose: string;
            tenantId: string;
        }
        | {
            delegatedBy?: undefined;
            id: string;
            kind: "system";
            purpose: string;
            tenantId: string;
        };
        tenantId: string;
        threadId: string;
    }
    Index

    Properties

    agentId: string
    entryPath:
        | "approval.resume"
        | "http.start"
        | "signal.message"
        | "signal.queue"
        | "signal.reactive"
        | "signal.state"
        | "signal.notification"
        | "signal.wake"
        | "notification.dispatch"
        | "schedule.fire"
    principal:
        | {
            delegatedBy?: undefined;
            id: string;
            kind: "service";
            purpose: string;
            tenantId: string;
        }
        | {
            delegatedBy?: string;
            id: string;
            kind: "agent";
            purpose: string;
            tenantId: string;
        }
        | {
            delegatedBy?: undefined;
            id: string;
            kind: "system";
            purpose: string;
            tenantId: string;
        }

    Type Declaration

    • {
          delegatedBy?: undefined;
          id: string;
          kind: "service";
          purpose: string;
          tenantId: string;
      }
      • Optional ReadonlydelegatedBy?: undefined

        Only an agent delegates; never makes a wrong shape a type error.

      • Readonlyid: string
      • Readonlykind: "service"
      • Readonlypurpose: string
      • ReadonlytenantId: string
    • {
          delegatedBy?: string;
          id: string;
          kind: "agent";
          purpose: string;
          tenantId: string;
      }
      • Optional ReadonlydelegatedBy?: string

        The principal that delegated this run, for agent-to-agent work.

      • Readonlyid: string
      • Readonlykind: "agent"
      • Readonlypurpose: string
      • ReadonlytenantId: string
    • {
          delegatedBy?: undefined;
          id: string;
          kind: "system";
          purpose: string;
          tenantId: string;
      }
    tenantId: string
    threadId: string