---
title: "Search through jobs with a string query"
method: GET
path: "/srch/w/{workspace}/index/search/job"
tags: ["indexSearch"]
---

# Search through jobs with a string query

`GET /srch/w/{workspace}/index/search/job`

## Path parameters

- `workspace` string, required

## Query parameters

- `search_query` string, required
- `pagination_offset` integer

## Response `200`

search results

- object
  - `query_parse_errors` string[] — a list of the terms that couldn't be parsed (and thus ignored)
  - `hits` JobSearchHit[] — the jobs that matched the query
    - `dancer` string
  - `hit_count` number — how many jobs matched in total
  - `index_metadata` object — Metadata about the index current state
    - `indexed_until` string, date-time — Datetime of the most recently indexed job
    - `lost_lock_ownership` boolean — Is the current indexer service being replaced
    - `max_index_time_window_secs` number — Maximum time window in seconds for indexing

---

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