ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias NewSessionResponseExperimental

    Response from creating a new session.

    See protocol docs: Creating a Session

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

    Unique identifier for the created session.

    Used in all subsequent requests for this conversation.

    configOptions?: SessionConfigOption[]

    Initial session configuration options.

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

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility