ISPO SDK
    Preparing search index...

    Interface ChatsApi

    Markdown
    interface ChatsApi {
        agents: ChatAgentsApi;
        compose(prompt: string): void;
        create(input?: ChatCompanionCreateArgs): Promise<ChatCompanionCreateResult>;
        list(): Promise<ChatCompanionListResult>;
        onSelectionChange(handler: ChatSelectionHandler): () => void;
        open(input: ChatCompanionOpenArgs): Promise<void>;
        subscribe(subscriber: ChatListSubscriber): ChatSubscriptionClose;
    }
    Index
    • Parameters

      • prompt: string

      Returns void

    Authority for chats.create

    Reviewed request token: ui.chat-companion. 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 chats.list

    Reviewed request token: ui.chat-companion. 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 chats.open

    Reviewed request token: ui.chat-companion. 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.