---
title: "GET /v4/projects/{projectsId}/tenants/{tenantsId}:completeQuery"
method: GET
path: "/v4/projects/{projectsId}/tenants/{tenantsId}:completeQuery"
tags: ["projects"]
---

# GET /v4/projects/{projectsId}/tenants/{tenantsId}:completeQuery

`GET /v4/projects/{projectsId}/tenants/{tenantsId}:completeQuery`

## Request

- Base URL: `https://jobs.googleapis.com`
- URL: `https://jobs.googleapis.com/v4/projects/{projectsId}/tenants/{tenantsId}:completeQuery`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/jobs`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/jobs`

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

## Path parameters

- `projectsId` string, required
- `tenantsId` string, required

## Query parameters

- `company` string
- `languageCodes` string[]
- `pageSize` integer
- `query` string
- `scope` 'COMPLETION_SCOPE_UNSPECIFIED' | 'TENANT' | 'PUBLIC'
- `type` 'COMPLETION_TYPE_UNSPECIFIED' | 'JOB_TITLE' | 'COMPANY_NAME' | 'COMBINED'

## Response `200`

Successful response

- CompleteQueryResponse: Response of auto-complete query.
  - `completionResults` CompletionResult[]: Results of the matching job/company candidates.
    - `imageUri` string: The URI of the company image for COMPANY_NAME.
    - `suggestion` string: The suggestion for the query.
    - `type` 'COMPLETION_TYPE_UNSPECIFIED' | 'JOB_TITLE' | 'COMPANY_NAME' | 'COMBINED': The completion topic.
  - `metadata` ResponseMetadata: Additional information returned to client, such as debugging information.
    - `requestId` string: A unique id associated with this call. This id is logged for tracking purposes.

---

[API](https://skmtc.dev/google/apis/jobs.md) - [All operations](https://skmtc.dev/google/apis/jobs/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/jobs/revisions/39bc46d3ade6?raw)
