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

# Search Index

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

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/task-bank/organizations/{organization}/search-index`
- Auth: none declared

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.dev/traversal/apis/traversal-api.md) - [All operations](https://skmtc.dev/traversal/apis/traversal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/traversal/apis/traversal-api/revisions/31e1a8b7cf89?raw)
