---
title: "Get agency group global search suggestions"
method: POST
path: "/agency-group/{agency_group_id}/global-search-suggestions"
tags: ["Global Search"]
---

# Get agency group global search suggestions

`POST /agency-group/{agency_group_id}/global-search-suggestions`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency-group/{agency_group_id}/global-search-suggestions`
- Auth: HTTP basic and HTTP basic

## Request body

- object
  - `index_types` string[], required
  - `search_term` string, required
  - `size` integer

## Response `200`

List of agency group global search results

- object
  - `results` object[], required
    - `index_type` 'candidate', required
    - `data` object[], required

## Other responses

- `400`: Validation Error. Usually caused by a missing or invalid parameter.
- `401`: Failed to authenticate the user making the request
- `403`: Permission denied error
- `default`: unexpected error

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) - [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
