ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias ArchiveSessionRequestExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Request parameters for archiving a session.

    Only available if the Agent supports the session.archive capability.

    Archiving hides the session from default session/list results. It keeps the session ID and saved history. If the session is active, the Agent MUST cancel any ongoing work and free the session's resources as if session/close had been called, then archive it. Archiving an archived session succeeds. A session that does not exist gets -32002.

    type ArchiveSessionRequest = {
        sessionId: SessionId;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    The ID of the session to archive.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility