---
title: "List Examples"
method: GET
path: "/api/v1/examples"
---

# List Examples

`GET /api/v1/examples`

Offset-based pagination for examples within a single repo, ordered by (created_at, id) ascending.

## Query parameters

- `user` string, required
- `program` string, required
- `page` integer
- `page_size` integer
- `version` integer, nullable
- `commit_hash` string, nullable
- `commit_hashes` string, nullable — Comma-separated arbiter hashes to filter by
- `search` string, nullable — Search across input, output, and ground_truth
- `sort_by` string, nullable — Column to sort by (output, ground_truth, confidence, version, input)
- `sort_order` string — Sort direction: asc or desc
- `max_confidence` number, nullable — Only return predictions with confidence below this value
- `search_mode` 'keyword' | 'semantic' — Search mode: keyword or semantic
- `hide_graded` boolean — Hide examples that already have ground truth

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Response `200`

Successful Response

- PaginatedPage
  - `items` PredictedExample[], required
    - `id` string, nullable
    - `alt_id` string, nullable
    - `arbiter_repo` string, required
    - `arbiter_hash` string
    - `input` union
      - object
      - string
    - `ground_truth` string, nullable
    - `ground_reasoning` string
    - `messages` object[], nullable
    - `serialized_output` string, nullable
    - `reasoning` string, nullable
    - `error` string
    - `split` 'train' | 'test' | 'none', nullable
    - `version` integer, nullable
    - `prediction_timestamp` string, date-time
    - `confidence` number, nullable
  - `total` integer, required
  - `unfiltered_total` integer, required
  - `page` integer, required
  - `page_size` integer, required
  - `total_pages` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.net/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/versions/43a90513ac59/schema)
