---
title: "Service: /groups/{group}/autocomplete [GET]"
source: https://dev.pageseeder.com/api/services/group-autocomplete-GET.html
description: "GET endpoint that autocompletes a specified term within a group by returning matching prefix terms or similar alternatives from configured index fields, with results limited to a maximum number."
last_updated: 2026-09-02T11:36:01+10:00
document_type: api_endpoint
operation_id: search-GET
resource_id: search
path_template: /groups/{group}/autocomplete
http_method: GET
api_category: search
implementation_version: 5.9900
api_since: 4.7005
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: max-age=30, must-revalidate
generated_at: 2026-09-02
tokens: ~299
---

# /groups/\{group\}/autocomplete \[GET\]

## Description

[Autocomplete](../../reference/glossary/search.md) the specified term in the group.

This service returns the list of terms that complete the specified prefix. If no prefixed terms are found, it returns similar terms.

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| term | The term to autocomplete, effectively a prefix for possible terms | yes | string |  |
| fields | Comma-separated list of index fields to look for terms in | no | strings | `pstitle,pscontent` |
| max-terms | The maximum number of terms to return | no | integer | `20` |
| prefix-only | Whether to only match prefixes, not similar terms | no | boolean | `false` |

## Permission

This service is restricted to guest and higher.

## Response

Example XML output:

```xml

<autocomplete term="test">
  <term field="pstitle" text="test1" prefix="true"/>
  <term field="pstitle" text="test2" prefix="true"/>
  <term field="pscontent" text="testable" prefix="true"/>
  <term field="pscontent" text="tested" prefix="true"/>
  ...
</autocomplete>
```

## Error Handling

No specific errors expected for this service.

