---
title: "Search Index"
method: GET
path: "/task-bank/organizations/{organization}/search-index"
---

# Search Index

`GET /task-bank/organizations/{organization}/search-index`

Return the searchable corpus for tasks in the ``[after, before]`` window (in-memory
client search). Empty bounds mean all-time (reads every task).

## Path parameters

- `organization` string, required

## Query parameters

- `after` string
- `before` string

## Response `200`

Successful Response

- TaskBankSearchIndexResponse — The searchable corpus for one org, built by reading every task's input/rubric once. The client fetches this once per org (and caches it), then matches queries in-memory — so search is instant and incremental, VS Code-style, rather than a server round-trip per query. ``truncated`` propagates a capped listing (the corpus covers only part of the bank).
  - `organization` string, required
  - `entries` TaskBankSearchIndexEntry[], required
    - `task_key` string, required
    - `text` string, required
  - `truncated` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
