# Search

## Search Resources

<mark style="color:blue;">`GET`</mark> `https://{organisation}.clearlrs.com/api/search`

Advanced system-wide search across multiple resources. The results of this search will include both **Actors** (**Agents** and **Groups**) as well as **Activities**.

#### Query Parameters

| Name  | Type    | Description                                      |
| ----- | ------- | ------------------------------------------------ |
| limit | number  | Limits the number of results returned            |
| skip  | boolean | Skips over this number of items in query results |

#### Headers

| Name           | Type   | Description                                   |
| -------------- | ------ | --------------------------------------------- |
| Accept-Version | string | Set to `2.0.0` to use this version of the API |

#### Request Body

| Name     | Type   | Description                                 |
| -------- | ------ | ------------------------------------------- |
| criteria | object | A Search Criteria object as described below |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

#### Search Criteria

Please see the [**Criteria Documentation** ](/clear-api-reference/data-model/criteria.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.clearxp.com/clear-api-reference/search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
