Compared to benign-enriched regions, cluster 9 ICC/IDC-enriched CD8+ T cells had increased PDCD1 and LAG3 levels, but comparable granzyme and perforin levels suggesting that in the ICC/IDC TME, these cells reside on the spectrum closer to an exhausted state. Here, CD8A is linked to intrahepatic cholangiocarcinoma.