---
title: "Retrieve listings of a content type (workgroup) based on keyword"
method: GET
path: "/{workgroup}?search={keyword}"
tags: ["search-result"]
---

# Retrieve listings of a content type (workgroup) based on keyword

`GET /{workgroup}?search={keyword}`

## Request

- Base URL: `/api/v4.0/listings` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v4.0/listings/{workgroup}?search={keyword}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gsa/apis/ag-listings-api/docs/:workgroup%3Fsearch=:keyword/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `workgroup` string, required

## Query parameters

- `keyword` string

## Response `200`

List of search results

- Workgroup[]
  - `pid` integer: Listing Unique Identifier
  - `title` string: Listing title
  - `summary` string: Listing summary

---

[API](https://skmtc.dev/gsa/apis/ag-listings-api.md) - [All operations](https://skmtc.dev/gsa/apis/ag-listings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gsa/apis/ag-listings-api/revisions/9bb28f35b78e?raw)
