> ## Documentation Index
> Fetch the complete documentation index at: https://help.impactu.colav.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Autocomplete sources

> Returns up to 5 suggestions of journals and bibliographic sources whose name starts with the given text.

## Path parameters

**text** `string` *required*

Prefix of the source name. Example: `nature` returns sources whose
name starts with "nature".

> [!NOTE]
>
> The search uses Elasticsearch and matches by **prefix**. It always returns
> at most 5 results.

## Response

An array of up to 5 objects with the following fields:

**\[]** `object[]`

List of suggestions.

**properties of each suggestion**

**\_id** `string`

Identifier of the source in the database.

**name** `string`

Name of the source.

**publisher** `string`

Name of the publisher.

**products\_count** `integer`

Number of bibliographic products associated with this source.

**text** `string`

Text used by Elasticsearch for the suggestion.

**\_score** `number`

Elasticsearch relevance score.

**\_source** `object`

Internal Elasticsearch document. It contains `name` (an object with the field
`input`), `publisher` and `products_count`.

```json 200 theme={null}
[
  {
    "_id": "6aad68732be7843cde64e000",
    "_index": "kahi_dev_sources",
    "_score": 1.0,
    "name": "NATURE COMMUNICATIONS",
    "publisher": "Springer Nature",
    "products_count": 120,
    "text": "NATURE COMMUNICATIONS",
    "_source": {
      "name": { "input": ["NATURE COMMUNICATIONS"] },
      "publisher": "Springer Nature",
      "products_count": 120
    }
  }
]
```

```json 400 theme={null}
{ "error": "mensaje de error" }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.