---
title: Triples Pagination
description: Paginate through triples with total count
url: https://docs.intuition.systems/docs/v1/graphql-api/examples/triples-pagination
markdown_url: https://docs.intuition.systems/docs/v1/graphql-api/examples/triples-pagination.md
version: V1
llms_index: https://docs.intuition.systems/docs/v1/llms.txt
---

Paginate through triples with total count for UI.

## Query

    id: 'triples-page',
    title: 'Paginated Triples',
    query: `query GetTriplesPage($limit: Int!, $offset: Int!) {
  total: triples_aggregate {
    aggregate {
      count

  triples(
    limit: $limit
    offset: $offset
    order_by: { created_at: desc }
  ) {
    term_id
    created_at
    subject { label image }
    predicate { label }
    object { label image }

}`,
    variables: {
      limit: 20,
      offset: 0

];
