# Search a specific profile

**Publié le** : 2026-05-08
**Catégorie** : Core CMS

## `GET /search/:profileSlug`

**Search a specific profile**

Search using a named profile. The profile's scope, searchable subset,
displayed subset, sort, facets and result limits are applied
server-side. Boosted and featured content IDs (configured by the
admin) are stitched in front of the baseline result set on page 1
with `_isBoosted`/`_isFeatured` flags.

Returns `404` if the profile does not exist, `403` on the public
endpoint if the profile is private, `503` if search is not enabled
for the site.

Required permissions: `search.view`, `contents.view`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `profileSlug` | path | string | Yes |  |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |
| `404` | Not found |


### Examples

```bash
curl "https://api.lynkow.com/v1/search/api-docs?q=pagination&limit=5" \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "X-Site-Id: $SITE_ID"
```

### Response Example

```json
{
  "data": [
    {
      "id": "abc-123",
      "title": "Paginating list responses",
      "slug": "paginating-list-responses",
      "path": "/docs/api/pagination",
      "categories": [
        {
          "slug": "api-reference",
          "name": "API Reference"
        }
      ],
      "_isFeatured": true
    }
  ],
  "meta": {
    "total": 4,
    "page": 1,
    "totalPages": 1,
    "perPage": 5,
    "query": "pagination",
    "processingTimeMs": 3,
    "profile": "api-docs"
  }
}
```

---