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

    Type Alias ListSessionsResponse

    Response from listing sessions.

    type ListSessionsResponse = {
        sessions: SessionInfo[];
        nextCursor?: SessionListCursor | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessions: SessionInfo[]

    Array of session information objects.

    Agents SHOULD return the sessions with the most recent activity first.

    nextCursor?: SessionListCursor | null

    Opaque cursor token. If present, pass this in the next request's cursor parameter to fetch the next page. Omitted and null are equivalent and mean there are no more results. An empty string is a valid cursor, not the end of results.

    _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