ISPO SDK
    Preparing search index...

    Interface AgentSessionsApi

    Markdown

    Compact reflected metadata plus explicitly granted driven-session control. Permission decisions remain host-owned and intentionally have no SDK method.

    interface AgentSessionsApi {
        cancel(
            input: AgentSessionCancelInput,
        ): Promise<AgentSessionCancelResult>;
        create(input: AgentSessionCreateInput): Promise<AgentSessionCreateResult>;
        events(input: AgentSessionEventsInput): Promise<AgentSessionEventsResult>;
        get(input: AgentSessionGetInput): Promise<AgentSessionState>;
        listControlled(): Promise<AgentSessionControlledListResult>;
        query(input?: AgentSessionQuery): Promise<AgentSession[]>;
        resume(input: AgentSessionResumeInput): Promise<AgentSessionState>;
        send(input: AgentSessionSendInput): Promise<AgentSessionState>;
        subscribe(
            input: AgentSessionQuery | undefined,
            onChange: AgentSessionsChangeHandler,
            onError?: AgentSessionsErrorHandler,
        ): EntitySubscription;
    }
    Index

    Authority for agent.sessions.cancel

    Reviewed request token: agent.sessionControl. Standing capability: agent.sessionControl.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for agent.sessions.create

    Reviewed request token: agent.sessionControl. Authority depends on the arguments, resource, and caller; check the live capability surface.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for agent.sessions.events

    Reviewed request token: agent.sessionRead. Standing capability: agent.sessionRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for agent.sessions.get

    Reviewed request token: agent.sessionRead. Standing capability: agent.sessionRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for agent.sessions.listControlled

    Reviewed request token: agent.sessionRead. Standing capability: agent.sessionRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for agent.sessions.resume

    Reviewed request token: agent.sessionControl. Standing capability: agent.sessionControl.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for agent.sessions.send

    Reviewed request token: agent.sessionControl. Standing capability: agent.sessionControl.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.